Easy Install for Physics Engine
Easy Install for Physics Engine
I used irrBullet before but you have to do so much for it to work correctly and right now i don't have time for that.
What is a good physics wrapper for irrlicht. I was thinking the IPhysics but i suck at installing things.
I need pretty good instructions because for IPhysics-1.2 what do i do with the include, lib, and source folder?
Really what I'm asking is that i need a physics wrapper for irrlicht that is easy to install, not slow, basics, and good/great instructions for installation for VC++ 2008
What is a good physics wrapper for irrlicht. I was thinking the IPhysics but i suck at installing things.
I need pretty good instructions because for IPhysics-1.2 what do i do with the include, lib, and source folder?
Really what I'm asking is that i need a physics wrapper for irrlicht that is easy to install, not slow, basics, and good/great instructions for installation for VC++ 2008
Re: Easy Install for Physics Engine
It takes 10~30 minutes to set them up in IDE environment including download times. And that's probably the same for every library you will ever use.Oster200 wrote:I used irrBullet before but you have to do so much for it to work correctly and right now i don't have time for that.
Learn how to set up any library properly and you will have no such problems in the future
![Cool 8)](./images/smilies/icon_cool.gif)
P.S. using a wrapper for physics library is not really required in order to use it with irrlicht. What every wrapper I've seen so far does is that it adds some helpers for type conversions and creates bunch of unnecessary classes
![Smile :)](./images/smilies/icon_smile.gif)
Working on game: Marrbles (Currently stopped).
Re: Easy Install for Physics Engine
Well that is my problem setting it up correctly. I have VC++ 2008 lets say IPhysics or another aslong as it is not ode. i really just need to learn how to set up correctly
EDIT: okay my past post i asked how to install irrbullet and i got it too work but with 95% of luck. I ried again to see if i could get it too work and i couldn't like i said it was mainly luck. It would be helpful if someone could take some of their time and make a detailed description on how to install with VC++ 2008, Or a video. Im sure...I know that this would help many people in the future.
EDIT: okay my past post i asked how to install irrbullet and i got it too work but with 95% of luck. I ried again to see if i could get it too work and i couldn't like i said it was mainly luck. It would be helpful if someone could take some of their time and make a detailed description on how to install with VC++ 2008, Or a video. Im sure...I know that this would help many people in the future.
-
- Competition winner
- Posts: 687
- Joined: Mon Sep 10, 2012 8:51 am
Re: Easy Install for Physics Engine
I use VC++ 2008. I'm not quite sure what you're setup issue is. Do you know how to include the files in your project? If not, here's how:
1) On your main menu, click "Tools".
2) Click "Options" from the drop-down menu. You should now have a window popup labelled "Options". On the left side will be a list of categories. By default, "Environment" is open, but we don't want that.
3) From the list, open the sub-list of "Projects and Solutions" by clicking the arrow next to it.
4) From the sub-list, click on "VC++ Directories". This should now change what's on the right side of the window. There are a couple of dropdown menus at the top. The one on the right is the one of interest. It says "Show directories for:" and by default, it is set to "Executable files".
5) Change the "Show Directories for" to "Include Files". Below the dropdown menu are a few buttons. One of the buttons is a folder with a star.
6) Click the folder with a star. What should appear is a new, blank line with a cursor. Here you can type in the path of the directory/folder of the header files you wish you incorporate into your project (such as the physics library header files). Rather than typing in the directory yourself (which can be tedious)...
7) Click on the button with the triple dots at the right end of the new blank line. This should bring up an Open Folder dialog box. Use it to go to the folder with the header files. Once you reach the folder, hit "Select Folder".
Repeat the process for the "Show directories for:" options "Source files" (for .cpp files) and "Library Files" (for .lib files) and possibly for "Reference files".
Now that all of your folders are set up, Visual Studio will check those folders when trying to compile. You should now be able to use them in programming.
When including the files in your documents, but sure to use "<" and ">" instead of quotations. For example:
If you don't know how to use header files, see my tutorial:
http://steamcentral.wordpress.com/2011/ ... p-library/
1) On your main menu, click "Tools".
2) Click "Options" from the drop-down menu. You should now have a window popup labelled "Options". On the left side will be a list of categories. By default, "Environment" is open, but we don't want that.
3) From the list, open the sub-list of "Projects and Solutions" by clicking the arrow next to it.
4) From the sub-list, click on "VC++ Directories". This should now change what's on the right side of the window. There are a couple of dropdown menus at the top. The one on the right is the one of interest. It says "Show directories for:" and by default, it is set to "Executable files".
5) Change the "Show Directories for" to "Include Files". Below the dropdown menu are a few buttons. One of the buttons is a folder with a star.
6) Click the folder with a star. What should appear is a new, blank line with a cursor. Here you can type in the path of the directory/folder of the header files you wish you incorporate into your project (such as the physics library header files). Rather than typing in the directory yourself (which can be tedious)...
7) Click on the button with the triple dots at the right end of the new blank line. This should bring up an Open Folder dialog box. Use it to go to the folder with the header files. Once you reach the folder, hit "Select Folder".
![Cool 8)](./images/smilies/icon_cool.gif)
Now that all of your folders are set up, Visual Studio will check those folders when trying to compile. You should now be able to use them in programming.
When including the files in your documents, but sure to use "<" and ">" instead of quotations. For example:
Code: Select all
#include <myReferenceFile.h>
http://steamcentral.wordpress.com/2011/ ... p-library/
Re: Easy Install for Physics Engine
Libraries must also be in correct order. Otherwise linker errors will occur. For gcc: http://www.network-theory.co.uk/docs/gc ... ro_18.html
You should really learn this general stuff, so you wouldn't have to wonder how to set up every different library.![Wink :wink:](./images/smilies/icon_wink.gif)
You should really learn this general stuff, so you wouldn't have to wonder how to set up every different library.
![Wink :wink:](./images/smilies/icon_wink.gif)
Working on game: Marrbles (Currently stopped).
-
- Competition winner
- Posts: 687
- Joined: Mon Sep 10, 2012 8:51 am
Re: Easy Install for Physics Engine
That link is for gcc. He's using VC++ 2008 which doesn't need gcc... or did I miss something?
(Thanks for the link though. - I'll use it XD )
@Oster200: Are you using Windows or Linux?
(Thanks for the link though. - I'll use it XD )
@Oster200: Are you using Windows or Linux?
Re: Easy Install for Physics Engine
Well I think that order also applies to VC++, though I'm not sure as I haven't used it for quite a whilechronologicaldot wrote:That link is for gcc. He's using VC++ 2008 which doesn't need gcc... or did I miss something?
(Thanks for the link though. - I'll use it XD )
@Oster200: Are you using Windows or Linux?
![Smile :)](./images/smilies/icon_smile.gif)
Working on game: Marrbles (Currently stopped).
Re: Easy Install for Physics Engine
Im Not at home right now but i will do what you said chronologicaldot
Im using windows
Im using windows
Re: Easy Install for Physics Engine
Wouldnt .lib go under library files not source files?Repeat the process for the "Show directories for:" options "Source files" (for .cpp files) and "Library Files" (for .lib files) and possibly for "Reference files".
BTW when i try to get IPhysics to work i get this error
Code: Select all
1>c:\users\Andrew\documents\irrlicht stuff\iphysics\iphysics-1.2\include\physicsglobal.h(12) : fatal error C1083: Cannot open include file: 'Newton.h': No such file or directory
Code: Select all
#pragma comment(lib, "Newton.lib")
Is Newton.lib in IPhysics.lib because i cant find a Newton.lib
-
- Competition winner
- Posts: 687
- Joined: Mon Sep 10, 2012 8:51 am
Re: Easy Install for Physics Engine
1) Yeah, I meant library files. I thought that was implied. Sorry. XD
2) IPhysics is just a wrapper for Newton Physics to bring it into irrlicht. You'll need to download Newton Physics.
http://newtondynamics.com/forum/downloads.php
For other questions, you might have a look at this old thread that deals with IPhysics and Newton:
http://irrlicht.sourceforge.net/forum/v ... &start=330
2) IPhysics is just a wrapper for Newton Physics to bring it into irrlicht. You'll need to download Newton Physics.
http://newtondynamics.com/forum/downloads.php
For other questions, you might have a look at this old thread that deals with IPhysics and Newton:
http://irrlicht.sourceforge.net/forum/v ... &start=330
Re: Easy Install for Physics Engine
Look my project. I used Havok. http://tedigame.blogspot.gr/