Building Tuhopuu for windows using free tools

General discussion about the development of the open source Blender

Moderators: jesterKing, stiv

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

Building Tuhopuu for windows using free tools

Post 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
Last edited by Hos on Tue Apr 15, 2003 4:01 am, edited 1 time in total.

Devas73
Posts: 26
Joined: Wed Oct 16, 2002 12:21 am

Post 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...

wavk
Posts: 126
Joined: Wed Oct 16, 2002 9:58 am
Location: The Netherlands
Contact:

Post 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

Dani
Posts: 143
Joined: Fri Oct 18, 2002 8:35 pm

I might need some basic help please

Post 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

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

Post 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-

Dani
Posts: 143
Joined: Fri Oct 18, 2002 8:35 pm

Post 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

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

Post 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]

WeirdHat
Posts: 6
Joined: Sun Oct 13, 2002 7:43 pm
Contact:

Post by WeirdHat »

Yay! It works! Thanks Hos!

wavk
Posts: 126
Joined: Wed Oct 16, 2002 9:58 am
Location: The Netherlands
Contact:

Post 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!

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

Re: Building Tuhopuu for windows using free tools

Post 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

eeshlo
Posts: 73
Joined: Wed Nov 06, 2002 10:02 pm

Post 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?

Dani
Posts: 143
Joined: Fri Oct 18, 2002 8:35 pm

Post 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

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

Post 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

eeshlo
Posts: 73
Joined: Wed Nov 06, 2002 10:02 pm

Post 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.

monocult
Posts: 17
Joined: Wed Oct 16, 2002 2:28 pm
Location: Siegburg (germany)
Contact:

help

Post 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

Post Reply