New to Bullet
-
rohit.monga108
- Posts: 8
- Joined: Thu Mar 04, 2010 5:55 pm
New to Bullet
I'm new to bullet and I work on linux. I just wanted to know how to execute a demo, and what to enter in the konsole command prompt in order for it to run, because I really do not know how to compile it.
Thanks,
Rohit
Thanks,
Rohit
-
rohit.monga108
- Posts: 8
- Joined: Thu Mar 04, 2010 5:55 pm
Re: New to Bullet
Can I get any help? I really need to know how to start.
Rohit
Rohit
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: New to Bullet
If you compiled Bullet using cmake
then the binaries end up in each folder, such as Bullet/Demos/BasicDemo.
Just use cd Bullet/Demos/BasicDemo and run
If you use autotools, using
the binaries are in Bullet/Demos/BasicDemo
run
Otherwise just search for the binaries using the 'ls' command.
Thanks,
Erwin
Code: Select all
cmake -G "Unix Makefiles"
make
Just use cd Bullet/Demos/BasicDemo and run
Code: Select all
./AppBulletBasicDemo
Code: Select all
./autogen.sh
./configure
make
run
Code: Select all
./BasicDemo
Thanks,
Erwin
-
rohit.monga108
- Posts: 8
- Joined: Thu Mar 04, 2010 5:55 pm
Re: New to Bullet
Thank you. I'll give this a try on Monday and tell you how it goes.
Rohit
Rohit
-
rohit.monga108
- Posts: 8
- Joined: Thu Mar 04, 2010 5:55 pm
Re: New to Bullet
Am i supposed to run the Unix Makefiles inside the folder of each demo? because after doing that it has an error after 'make' and i don't know how to run the demo.
-Rohit
-Rohit
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: New to Bullet
It is hard to believe a unix user gets in such troubles to compile and run Bullet, perhaps you should switch to a more user friendly operating system?
You simply run the following two commands from the Bullet root folder (top level), clearly mentioned in the manual:
(press the enter key after each line)
and once this if finished you go
If you get errors with above instructions, reply with a few lines of errors, not more than 10 lines)
Thanks and good luck,
Erwin
You simply run the following two commands from the Bullet root folder (top level), clearly mentioned in the manual:
(press the enter key after each line)
Code: Select all
cmake . -G"Unix Makefiles"
make
Code: Select all
cd Demos
cd AllBulletDemos
./AppAllBulletDemos
Thanks and good luck,
Erwin
-
rohit.monga108
- Posts: 8
- Joined: Thu Mar 04, 2010 5:55 pm
Re: New to Bullet
I am still getting errors, but I tried this on Bullet version 2.75, and everything works.
Thanks,
Rohit
Thanks,
Rohit
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: New to Bullet
Please reply with a few lines of errors, not more than 10 lines.
Thanks,
Erwin
Thanks,
Erwin
-
rohit.monga108
- Posts: 8
- Joined: Thu Mar 04, 2010 5:55 pm
Re: New to Bullet
When I used bullet 2.76, after typing 'make' in the konsole, there was no response and it went back to the bash. When I did this in bullet 2.75, it had confirmation of progressing from 0 to 100%.
Thanks,
Rohit
Thanks,
Rohit
-
rohit.monga108
- Posts: 8
- Joined: Thu Mar 04, 2010 5:55 pm
Re: New to Bullet
There were not specific lines of errors.
Rohit
Rohit
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: New to Bullet
So you typed 'make' after first typing cmake . -G "Unix Makefiles" right?
Does cmake report any errors? Did you try to remove CMakeCache.txt before running cmake?
Are you using the latest cmake version 2.8?
Others seem to be able to build Bullet 2.76 with cmake/make without problems on Linux, Apple and Windows.
If make doesn't report any errors, your best bet is to report this issue with the cmake developers, and hope for help there.
http://www.cmake.org/mailman/listinfo/cmake
Thanks,
Erwin
Does cmake report any errors? Did you try to remove CMakeCache.txt before running cmake?
Are you using the latest cmake version 2.8?
Others seem to be able to build Bullet 2.76 with cmake/make without problems on Linux, Apple and Windows.
If make doesn't report any errors, your best bet is to report this issue with the cmake developers, and hope for help there.
http://www.cmake.org/mailman/listinfo/cmake
Thanks,
Erwin
-
rohit.monga108
- Posts: 8
- Joined: Thu Mar 04, 2010 5:55 pm
Re: New to Bullet
a
Last edited by rohit.monga108 on Thu Jun 07, 2012 8:36 pm, edited 1 time in total.
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: New to Bullet
The documentation mentions a second option for unix users. In a console/terminal from the Bullet root directory run:
Have you tried that?
Thanks,
Erwin
Code: Select all
./autogen.sh
./configure
make
Thanks,
Erwin