BulletMultiThreaded, MultiThreadedDemo, Gpu2dDemo, Gpu3dDemo are not supported on 64bit platforms.
It was accidently enabled in a previous revision, but now it has been disabled in the trunk.
If you can make any of this work on 64 platforms, please consider contributing it.
Thanks,
Erwin
run configure error on Leopard 10.6.1
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
-
- Posts: 1
- Joined: Wed Dec 02, 2009 11:47 pm
Re: run configure error on Leopard 10.6.1
Very simple hand-fix.
In the file: Demos/Gpu3dDemo
add "-lpthread" to the link library list.
I just did the very ugly:
LINK_LIBRARIES(
OpenGLSupport BulletMultiThreaded BulletDynamics BulletCollision LinearMath ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
-lpthread
)
The correct fix is to put this in the correct CMake file higher up in the directory tree.
In the file: Demos/Gpu3dDemo
add "-lpthread" to the link library list.
I just did the very ugly:
LINK_LIBRARIES(
OpenGLSupport BulletMultiThreaded BulletDynamics BulletCollision LinearMath ${GLUT_glut_LIBRARY} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY}
-lpthread
)
The correct fix is to put this in the correct CMake file higher up in the directory tree.
-
- Posts: 2
- Joined: Mon Dec 07, 2009 9:16 pm
Re: run configure error on Leopard 10.6.1
I am running into the same issue when I try to install using Jam on Mac OS X 10.6.2. We're using Maya 2008 SP1
./autogen.sh runs fine
./configure fails thusly:
./configure: line 15248: syntax error near unexpected token `then'
./configure: line 15248: `fiif test $# -eq 0; then :'
the corresponding lines from the configure file are:
15247 | shift
15248 | fiif test $# -eq 0; then :
15249 | cs_cflags_test=''
15250 | else
15251 | if test "$1" = filler; then :
15252 | cs_cflags_test=''
15253 | else
15254 | cs_cflags_test=$1
15255 | fi
I can complete the install using cmake, but it seems to only do the install into the frameworks dir, not to the /usr/lib directories even though I used the -DBUILD_SHARED_LIBS=ON flag. In any case, I open the donut file and I'm not having any success with getting the bullet libraries to load; my donuts just fall through the plane. Curiously though, if I just create an active rigid sphere or cube, it will collide with the plane, but if I try to add a hull or mesh to an object I create, no dice. Ditto with the Arrays; I just get one object.
I'm sorry to be asking what are probably stupid questions, but we're just a small studio and we don't have any hardcore coders.
Any assistance would be greatly appreciated.
./autogen.sh runs fine
./configure fails thusly:
./configure: line 15248: syntax error near unexpected token `then'
./configure: line 15248: `fiif test $# -eq 0; then :'
the corresponding lines from the configure file are:
15247 | shift
15248 | fiif test $# -eq 0; then :
15249 | cs_cflags_test=''
15250 | else
15251 | if test "$1" = filler; then :
15252 | cs_cflags_test=''
15253 | else
15254 | cs_cflags_test=$1
15255 | fi
I can complete the install using cmake, but it seems to only do the install into the frameworks dir, not to the /usr/lib directories even though I used the -DBUILD_SHARED_LIBS=ON flag. In any case, I open the donut file and I'm not having any success with getting the bullet libraries to load; my donuts just fall through the plane. Curiously though, if I just create an active rigid sphere or cube, it will collide with the plane, but if I try to add a hull or mesh to an object I create, no dice. Ditto with the Arrays; I just get one object.
I'm sorry to be asking what are probably stupid questions, but we're just a small studio and we don't have any hardcore coders.
Any assistance would be greatly appreciated.
-
- Posts: 2
- Joined: Mon Dec 07, 2009 9:16 pm
Re: run configure error on Leopard 10.6.1
I am going to answer my own post so that I can spare other newb's/non-coders the same issue.
./autogen.sh just creates a malformed configure file. I found a number of instances where instead of outputting:
fi <cr>
if
it creates multiple lines of:
fiif
So I just went through the file and fixed all the entries by inserting a carriage return between the 'fi' and the 'if' and voila! The .configure completes, jam, then jam install and we're all good.
Also, it should be noted that the demo files call for the dynamica plugin simply named 'dynamica' whereas the source file in /Extras/MayPlugin/ has it built as dynamicaMayaPlugin. I found the require statement in the .ma file and changed it to 'dynamicaMayaPlugin' so that I no longer have the // Error: line 1: Plug-in, "dynamica.bundle", was not found on MAYA_PLUG_IN_PATH. // error when opening the demo files. (I tried to build it gain but kept getting errors, I will try that next.)
./autogen.sh just creates a malformed configure file. I found a number of instances where instead of outputting:
fi <cr>
if
it creates multiple lines of:
fiif
So I just went through the file and fixed all the entries by inserting a carriage return between the 'fi' and the 'if' and voila! The .configure completes, jam, then jam install and we're all good.
Also, it should be noted that the demo files call for the dynamica plugin simply named 'dynamica' whereas the source file in /Extras/MayPlugin/ has it built as dynamicaMayaPlugin. I found the require statement in the .ma file and changed it to 'dynamicaMayaPlugin' so that I no longer have the // Error: line 1: Plug-in, "dynamica.bundle", was not found on MAYA_PLUG_IN_PATH. // error when opening the demo files. (I tried to build it gain but kept getting errors, I will try that next.)