cygwin + gcc = blender.exe

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
tankcoder
Posts: 14
Joined: Fri Oct 18, 2002 4:27 am

cygwin + gcc = blender.exe

Post by tankcoder »

Hey all,

I compiled blender the other day with cygwin and gcc sucessfully (no ms crap). It runs under X which is a slight dissapointment but the only way around this is by compiling with mingw. I tried compiling with mingw the other day but I had to hack a lot of windows related source to death which ended up with some errors when it finally got around to compiling blender.exe in the end. I give credits to Hos for helping me so much through this and actually beating me to it, and also LarstiQ who provided some good and bad info about compiling it also ;). I'll probably post the changes I made and how to get around the troubles I faced (grrr... makesdna) sometime next week. Anyways, I'm totally out of it right now, later!

TankCoder-

P.S. Ohh yeah, I compiled it with the excelent auto* features that have been added in, thanks everyone working on that! =)

tankcoder
Posts: 14
Joined: Fri Oct 18, 2002 4:27 am

Compiling tips

Post by tankcoder »

Here are the compiling tips if you want to do it

http://mysite.iptic.com/tankcoder/blend ... cygwin.txt

Have fun =)

TankCoder-

MrMunkily
Posts: 53
Joined: Mon Oct 14, 2002 5:24 am

Post by MrMunkily »

how about a binary?!?

Saluk
Posts: 110
Joined: Wed Oct 16, 2002 6:52 am

Post by Saluk »

Hail Ilpalazzo!!!

sorry, couldn't help myself:)

I'm nabeshin!

LethalSideParting
Posts: 71
Joined: Mon Oct 21, 2002 12:53 am
Location: Bucks, England

Post by LethalSideParting »

Hiya TankCoder,

Well done getting the beast compiled!! Re. your instructions: you couldn't host the .txt somewhere else or post a copy here in the forum, could you? I just tried accessing it, and Mysite.Iptic.com doesn't exist anymore :cry: , I seem to remember hearing something about this on elysiun.com? Thank you! :D

LethalSideParting

tankcoder
Posts: 14
Joined: Fri Oct 18, 2002 4:27 am

Post by tankcoder »

it really is useless to compile blender in cygwin, it works and everything but it must run inside the Cygwin X11 window, and is REALLY REALLY slow... I'm trying to get blender to compile with mingw now but my pc is so slow and I'm on a 56k modem, I've almost given up... for now. I might get a new pc this summer.. yay!

TankCoder-

thorax
Posts: 320
Joined: Sun Oct 27, 2002 6:45 am
Contact:

Post by thorax »

tankcoder wrote:it really is useless to compile blender in cygwin, it works and everything but it must run inside the Cygwin X11 window, and is REALLY REALLY slow... I'm trying to get blender to compile with mingw now but my pc is so slow and I'm on a 56k modem, I've almost given up... for now. I might get a new pc this summer.. yay!

TankCoder-
Well why not use GetRight.. Its what I use.. I just leave it downloading
while I'm working on other stuff.. The Mingnw distribution takes a couple of
horus to download, right?

Bekecs
Posts: 0
Joined: Fri May 16, 2003 11:25 am

Post by Bekecs »

Why not copy/paste it here? :shock:
My company's firewall is blocking getright and similar stuff. :evil:

renderedbrian
Posts: 0
Joined: Sun May 25, 2003 9:22 pm

Post by renderedbrian »

compiling with MingW?

do tell!

--
Brian

strubi
Posts: 0
Joined: Tue Mar 25, 2003 6:47 pm

Post by strubi »

tankcoder wrote:it really is useless to compile blender in cygwin, it works and everything but it must run inside the Cygwin X11 window, and is REALLY REALLY slow... I'm trying to get blender to compile with mingw now but my pc is so slow and I'm on a 56k modem, I've almost given up... for now. I might get a new pc this summer.. yay!

TankCoder-
Hi there,

I've got blender 2.26 to compile in Cygwin using the standard Win32 API (no X), but needed to change a few files (put in extra #ifdef __CYGWIN__). It still depends on the cygwin1.dll though.
Is there any attempt to make it work with later versions (or does it even work with the current?)

Cheers,

- strubi

Hos
Posts: 185
Joined: Wed Oct 16, 2002 12:06 am

Post by Hos »

Hi Strubi,

The info from this post is a bit obsolete: here is
a methodology for creating a blender executable
using cygwin/gcc such that is doesn't depend on
cygwin/X11:

http://projects.blender.org/viewcvs/vie ... cvs-markup

Chris

jebas
Posts: 0
Joined: Sat May 24, 2003 3:11 am

Post by jebas »

How did you get around makesdna? Everytime I try to compile that section, all of the includes are missing.

Hos
Posts: 185
Joined: Wed Oct 16, 2002 12:06 am

Post by Hos »

jebas wrote:How did you get around makesdna? Everytime I try to compile that section, all of the includes are missing.
Never seen that prob .. maybe check out fresh sources.

Chris

jebas
Posts: 0
Joined: Sat May 24, 2003 3:11 am

Post by jebas »

Ufortunately this happens with both the 2.27 and the latest CVS code. I've looked at the Makefile, and it appears to be correct, but everytime I attempt a build, none of the includes appear in the compile line. I'm rather confused about it myself.

I was hoping to build a X, cygwin version because blender and my video driver do not play nicely.

Post Reply