Page 1 of 3

Building Tuhopuu for windows using free tools

Posted: Sun Apr 13, 2003 5:55 am
by Hos
This is something I've been working on lately that
might be of interest to some windows folks.

Here are the instructions:
http://projects.blender.org/viewcvs/vie ... ot=tuhopuu

Please let me know if there are problems.

<EDIT> User supplied comments:

-- Make sure you have the python and perl cygwin packages insatlled

-- If you have problems with the python stuff, try typing 'unset PYTHONPATH'
then type 'make' again.

-- everytime you restart cygwin you need to redo 'source free_windows-env.sh'
before you can make again. It is probably a good idea to do this after each
cvs update too.
</EDIT>

Chris

Posted: Sun Apr 13, 2003 2:19 pm
by Devas73
Thank you Hos, I was just waiting to have a simplebuild system in order to try to contribute something... my time is very limited and having to deal with build problems is not an option...

Posted: Sun Apr 13, 2003 5:23 pm
by wavk
Let's give this a try. I've already spent many hours to get Blender compiled, but failed with every attempt, using VC++ and cygwin. I'm checking out the cvs tree now, I'll keep you posted on the progress of your tutorial. If it works, I'll be VERY greatfull and I'm finally able to add some cool stuff. Well, anyway, thanks for your effort!

Wybren van Keulen
Funny Farm

I might need some basic help please

Posted: Sun Apr 13, 2003 8:51 pm
by Dani
Hi this is good!

Hum? how come wincvs keeps on saying the server refused the acces, well, I can't log in.
The password request box comes up, and because i'm anonymous i hit enter...
then wincvs displays this

***CVS exited normally with code one***

Can anyone help me with this? It's quite frustrating getting stuck here...

thanks
Dani

Posted: Sun Apr 13, 2003 11:30 pm
by tankcoder
Works good! I let it work overnight and when I woke up I had a cygwin made binary of blender =) Works perfectly except for some weird characters in some of the listboxes and other places. I think thats due to the freetype library though. Anyways, good job Hos!!

Tank-

Posted: Mon Apr 14, 2003 1:02 am
by Dani
Hum, forget about the cvs stuff, I downloaded from the daily archives...
the one from 14/04/2003

Figured most of this out. but it doesn't compile for me

Code: Select all

$ make
c:\cygwin\bin\make.exe: Entering directory "c:/cygwin/home/Propriétaire/tuhopuu/blender"
chmod u+x source/tools/guess/guessconfig
chmod u+wx source/tools/guess/config.guess
mkdir -p /home/Propriétaire/tuhopuu/blender/lib/
cp /home/Propriétaire/tuhopuu/blender/lib/windows/python/lib/python22.dll .
dlltool.exe -v --output-lib /home/Propriétaire/tuhopuu/blender/lib/windows/python/lib/freepy.a \
        --input-def /home/Propriétaire/tuhopuu/blender/dlltool/python.def \
        --dllname python22.dll
dlltool.exe: Can't open def file: /home/Propriétaire/tuhopuu/blender/dlltool/python.def
c:\cygwin\bin\make.exe: *** [frozen] Error 1
c:\cygwin\bin\make.exe: Leaving directory "c:/cygwin/home/Propriétaire/tuhopuu/blender"
Maybe it's related to the gcc version..? I installed cygwin two weeks ago and my gcc is from february i think.
Tankcoder, what version of the gcc packqge did you use?

Thanks for your help
Dani

Posted: Mon Apr 14, 2003 1:17 am
by Hos
Dani wrote:Hum, forget about the cvs stuff, I downloaded from the daily archives...
the one from 14/04/2003

Figured most of this out. but it doesn't compile for me

Code: Select all

$ make
c:\cygwin\bin\make.exe: Entering directory "c:/cygwin/home/Propriétaire/tuhopuu/blender"
chmod u+x source/tools/guess/guessconfig
chmod u+wx source/tools/guess/config.guess
mkdir -p /home/Propriétaire/tuhopuu/blender/lib/
cp /home/Propriétaire/tuhopuu/blender/lib/windows/python/lib/python22.dll .
dlltool.exe -v --output-lib /home/Propriétaire/tuhopuu/blender/lib/windows/python/lib/freepy.a \
        --input-def /home/Propriétaire/tuhopuu/blender/dlltool/python.def \
        --dllname python22.dll
dlltool.exe: Can't open def file: /home/Propriétaire/tuhopuu/blender/dlltool/python.def
c:\cygwin\bin\make.exe: *** [frozen] Error 1
c:\cygwin\bin\make.exe: Leaving directory "c:/cygwin/home/Propriétaire/tuhopuu/blender"
Maybe it's related to the gcc version..? I installed cygwin two weeks ago and my gcc is from february i think.
Tankcoder, what version of the gcc packqge did you use?

Thanks for your help
Dani
Maybe it has problems with the non-english character in
'Propriétaire' (I know the build system has probs with
directories with spaces in the name). I would try moving
the code to another directory, do source free_windows-env.sh
again, and try make again.

Chris
[/code]

Posted: Mon Apr 14, 2003 2:30 am
by WeirdHat
Yay! It works! Thanks Hos!

Posted: Mon Apr 14, 2003 8:42 am
by wavk
I have the same problem with the characters in the sliders and it crashes when I open an image select window. But YAY, it compiles! Thanks Hos, also for the time you spent getting it working for me. Here's a few problems I encountered:

You must have the python installed via the cygwin installer, the normal python won't work. Also the windows directory in the make file is c:\windows\, while my windows directory is c:\winnt3\. Edit the makefile if your directory isn't c:\windows either. Thanks for Hos to solve all these problems!

Now it's time to make some changes!

Re: Building Tuhopuu for windows using free tools

Posted: Mon Apr 14, 2003 11:51 am
by thorax
Hos wrote:This is something I've been working on lately that
might be of interest to some windows folks.

Here are the instructions:
http://projects.blender.org/viewcvs/vie ... ot=tuhopuu

Please let me know if there are problems.

Chris

Good job Hos!!!

I can't wait to try it out..

Tommorow :cry: :roll: :(
:D

Posted: Mon Apr 14, 2003 10:06 pm
by eeshlo
Not having any clue about all this stuff, I tried anyway, and it stops when trying to copy ntdll.dll from the windows/systems directory, but I don't have that and I don't think I should have on win98? Or do I?

Posted: Mon Apr 14, 2003 11:22 pm
by Dani
:) :) :)
happy face
:) :) :)

YEAHHH!!! It compiled!! I'm using Xp, I'm sorry I can't help you eeshlo but i already asked for someone to try with 98 on the french ng so hopefully they'll come out with something.

---edit---
An Xp compiled version doesn't run under 98... requires ntdll.dll
---edit---

I needed to install all the packages Hos said, plus python and perl...

The CVS version I had from cygwin didn't allow me to type in the password... so I just copied into cyg's bin directory, the cvs95.exe and some dlls from my win cvs install :)
works like a charm!

Now, where do the glyphs all over the screen comme from? I guess it's multilanguage support... is their a file missing somewhere?

Dani

Posted: Tue Apr 15, 2003 4:10 am
by Hos
I just committed a fix for the weird display of floating
point numbers (see the note in the instructions I link
to above about updating your sources from cvs).
eeshlo wrote:Not having any clue about all this stuff, I tried anyway, and it stops when trying to copy ntdll.dll from the windows/systems directory, but I don't have that and I don't think I should have on win98? Or do I?
Yeah, unfortunately the openssl lib has symbols that need this
dll (I don't think the rest of blender needs it though). Hopefully
I can find a fix soon (we need you to start integrating your cloth
sim code into blender ASAP :P)

Chris

Posted: Tue Apr 15, 2003 3:19 pm
by eeshlo
Hos wrote: (we need you to start integrating your cloth
sim code into blender ASAP :P)
Well, that is really ancient stuff I haven't worked on since end 2001 I think. Dynamica is not developed any longer, the project has been closed around a year ago. I know others are working on some cloth code, mine was just a hack that happened to look reasonably good, basically only created to make that video and nothing else.

help

Posted: Tue Apr 15, 2003 5:38 pm
by monocult
hi,

I am not a programmer and so i have some problems compiling blender. :(

I take a screenshot from the cygwin window.

Image


Daniel