[osg-users] [build] Building OpenThreads on Windows

10 views
Skip to first unread message

Nav Joseph

unread,
May 17, 2013, 1:49:15 AM5/17/13
to osg-...@lists.openscenegraph.org
How does one build OpenThreads library standalone on Windows?

Downloaded OpenThreads (http://openthreads.sourceforge.net/) and it built fine with make on Linux, but when I try using make with Gnu Make for Windows, it shows this error:
F:\ProgramFiles\OpenThreads>make
process_begin: CreateProcess(NULL, uname, ...) failed.
f was unexpected at this time.
make: *** [default] Error 255

and when I tried with MinGW, it gave errors I've attached as an image with this message (couldn't copy text in the Mingw prompt).

Help please...

------------------------
Nav or Joseph? You can call me Nav :-)

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=54039#54039



makeError.jpg

Trajce Nikolov NICK

unread,
May 17, 2013, 4:49:53 AM5/17/13
to OpenSceneGraph Users
Hi,

OpenThreads is also part of the OpenSceneGraph trunk, you can download it and it builds for many known platforms including Windows without problems

Nick


_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
trajce nikolov nick

Nav Joseph

unread,
May 17, 2013, 6:39:28 AM5/17/13
to osg-...@lists.openscenegraph.org
Ok thanks, using the lib that was with the osg build worked, but initially I was getting some error that it couldn't find OpenThreads_somethingwin32.lib. Now that error is no longer there.
But still, I would like to know how to get it built on Windows without having to build the whole of OSG.

------------------------
Nav or Joseph? You can call me Nav :-)

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=54042#54042

Trajce Nikolov NICK

unread,
May 17, 2013, 6:50:36 AM5/17/13
to OpenSceneGraph Users
> But still, I would like to know how to get it built on Windows without having to build the whole of OSG

It is CMake driven. Generate solution and projects and work only with the OpenThreads project
--
trajce nikolov nick

Nav Joseph

unread,
May 20, 2013, 1:07:43 AM5/20/13
to osg-...@lists.openscenegraph.org
Nick, I had used make on linux to build OpenThreads standalone. Without having to build osg.
I just wanted to know how to do the same thing on Windows. My first post shows the errors I've been facing.

------------------------
Nav or Joseph? You can call me Nav :-)

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=54059#54059
Reply all
Reply to author
Forward
0 new messages