lianlab / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

maya linux plugin #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

any chance of getting dynamica compiled for Maya 9 on linux   ?

Original issue reported on code.google.com by ivanla...@gmail.com on 9 Mar 2009 at 3:56

GoogleCodeExporter commented 9 years ago
It should compile fine under Linux.

Have you tried using the Makefile?

Original comment by erwin.coumans on 9 Mar 2009 at 5:12

GoogleCodeExporter commented 9 years ago
Thankyou for your quick reply,

I was not aware there was a make file in the release, will try that now

Cheers Ivan

Original comment by ivanla...@gmail.com on 9 Mar 2009 at 10:37

GoogleCodeExporter commented 9 years ago
Hello Erwin,

It does not build out of the box with the make file.

On my end it would require further R&D time to investigate, any chance you could
compile it under linux for me ?

I specifically want to try the maya plugin,as i would like to run a few tests 
in Maya
9 running under centos.

cheers Ivan

Original comment by ivanla...@gmail.com on 10 Mar 2009 at 3:31

GoogleCodeExporter commented 9 years ago
Before starting to look further into this, can you copy/paste the errors of the 
output when running make, in the Bullet/Extras/MayaPlugin folder?

Thanks,
Erwin

Original comment by erwin.coumans on 12 Mar 2009 at 5:09

GoogleCodeExporter commented 9 years ago
running aclocal
running libtool
libtool worked.
running automake
configure.ac: installing `./missing'
Demos/AllBulletDemos/Makefile.am: installing `./depcomp'
Extras/Makefile.am: installing `./compile'
src/Makefile.am:340: whitespace following trailing backslash
Makefile.am: installing `./COPYING'
running autoheader
running autoconf
configure.ac:120: error: possibly undefined macro: _AC_SRCDIRS
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
autogen.sh complete

Original comment by ivanla...@gmail.com on 16 Mar 2009 at 6:13

GoogleCodeExporter commented 9 years ago
You seem to be running a very old version of autotools. Could you upgrade to a 
recent 
version?

Original comment by erwin.coumans on 12 May 2009 at 8:39

GoogleCodeExporter commented 9 years ago
autotools/jam support will be dropped in favor of cmake. Hopefully we get 
around creating a cmake project for 
the Maya plugin

Original comment by erwin.coumans on 3 Nov 2009 at 6:24

GoogleCodeExporter commented 9 years ago
Hi,

I read the online manual which says to run cmake . -G "Unix Makefiles" which I 
ran
off the untar'd location of bullet-2.75.

All seemed to go well but when I run autogen.sh I get the same errors as 
ivanlaros.

In the INSTALL file, it just says to run cmake, make, then make install.  So I
started over, ran cmake . -G "Unix Malefiles", then make and make install w/o 
going
into the Extras dir.

I also tried going into the Extras dir after running cmake, so that I can run 
make
and get these errors;

/usr/bin/ld: cannot find -lBulletMultiThreaded
collect2: ;d returned 1 exit status
...

No luck so far.

How should I run it to install on Linux?

Thanks in advance,
- aurf

Original comment by aurfal...@gmail.com on 2 Dec 2009 at 12:00

GoogleCodeExporter commented 9 years ago
>>Hopefully we get around creating a cmake project for the Maya plugin

As I mentioned before, there is no cmake support for the Maya plugin yet. 

One solution is to search where cmake leaves the libraries and manually fix the 
Makefile to point to those libraries.

Original comment by erwin.coumans on 2 Dec 2009 at 6:54

GoogleCodeExporter commented 9 years ago

There have been some attempts to fix autotools support, but no luck yet:

See also http://code.google.com/p/bullet/issues/detail?id=302

Original comment by erwin.coumans on 2 Dec 2009 at 6:55

GoogleCodeExporter commented 9 years ago

By the way, do the Bullet SDK and demos build and run fine, when using cmake 
under 
Linux?

Original comment by erwin.coumans on 2 Dec 2009 at 6:57

GoogleCodeExporter commented 9 years ago
Hi,

I'm actually unsure how far the build got as I'm a bit of a tard with all this.

How can I get that info to you?

I'll mod the Makefile and get back to you.

Original comment by aurfal...@gmail.com on 2 Dec 2009 at 7:52

GoogleCodeExporter commented 9 years ago
Hi,

What libraries would I search for that cmake made so I can mod the Makefile?

Original comment by aurfal...@gmail.com on 3 Dec 2009 at 5:54

GoogleCodeExporter commented 9 years ago

cmake generates the libraries in <relative_library_folder>/Debug and 
<relative_library_folder>/release

src/LinearMath/Debug/libLinearMath.a
src/BulletCollision/Debug/libBulletCollision.a
src/BulletDynamics/Debug/libBulletDynamics.a

Note that is it possible to build out-of-source tree using cmake, so above path 
are 
relative to where you run cmake.

Original comment by erwin.coumans on 21 Dec 2009 at 11:27

GoogleCodeExporter commented 9 years ago
if autotools doesn't work, cmake will

Original comment by erwin.coumans on 16 Feb 2010 at 4:31