patch/lib for getting make working again for cygwin build

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
Genscher
Posts: 0
Joined: Mon Feb 27, 2006 12:33 am

patch/lib for getting make working again for cygwin build

Post by Genscher »

Hi there,


finaly i got a static build of pthreads built and cygwin using make is working again.

So no need to copy some pthread dll to the blender directory (as it is done by the scons version of VC).

Before i forget: If anyone likes to enable the static build for VC and you wonder why the static build causes undefined references, you need to tell the .h that you use a static build (add "-DPTW32_STATIC_LIB" to the linker command of blender).

Please test!

Link to patch: http://www.dldw.de/cygwin.patch (1Kb)
Link to static build pthreads: http://www.dldw.de/libpthreadGC2.a (44Kb)

Genscher

jesterKing
Site Admin
Posts: 207
Joined: Fri Oct 18, 2002 12:48 pm
Location: Finland

Post by jesterKing »

.patch committed, static lib pending:

http://projects.blender.org/pipermail/b ... 06112.html

Thanks!

/Nathan

Brandano
Posts: 0
Joined: Mon Apr 19, 2004 6:03 pm

Post by Brandano »

The same approach (building pthreads as a static lib) doesn't seem to work properly with scons, even though the build process runs fine. Attempting to render anything will just crash Blender. The next step, I guess, is to build a debug copy of Blender and check what actually breaks.
Coming to that, jesterKing, do you think it would be possible to add a "help" target to Scons to display all target options? I couldn't find a list of available targets on the web, and am too stupid/lazy to find them by looking at the code.

jesterKing
Site Admin
Posts: 207
Joined: Fri Oct 18, 2002 12:48 pm
Location: Finland

Post by jesterKing »

Brandano wrote:Coming to that, jesterKing, do you think it would be possible to add a "help" target to Scons to display all target options? I couldn't find a list of available targets on the web, and am too stupid/lazy to find them by looking at the code.
* scons -h
* doc/blender-scons.txt: see examples at the end
* doc/blender-scons-dev.txt

:)

/Nathan

Caronte
Posts: 76
Joined: Wed Oct 16, 2002 12:53 am
Location: Valencia-Spain-Europe

Post by Caronte »

Please someone can help me with this error?
http://www.blender.org/forum/viewtopic.php?t=8261
Caronte.
"Some Day, All Will Be Digital"
http://www.nicodigital.com

Post Reply