ID:183480
Jul 18 2007, 7:15 am
|
|
While reading through a programming book it tells me to include DirectX library files into my Visual C++ project.(Yes, I know Visual C++ is horrible. The only reason I`m using it is because that`s what this book uses and I just want to follow along.) And it tells me to go into a tabbed category which in my version of Visual C++ there is none. Is there a tutorial or can anyone tell me how to include the libraries. The version I`m running is express edition 2005.
|
In response to CaptFalcon33035
|
|
As I said I know. I am ashamed at myself. Once completed this project I am switching to a different compiler. As I said though, the book I'm reading uses VC++ as the compiler so I would like to follow along so that something doesn't go wrong part way through
|
In response to Upinflames
|
|
I have searched all the menus and still no luck.
|
In response to Upinflames
|
|
Capt I installed code block. How would I enable DirectX on that and another question. What is the Orge Application for
|
In response to Upinflames
|
|
Remember, you have to have the DirectX SDK installed. If you're using the latest nightly build (or maybe any version--I'm not familiar with any release before the latest nightly), you can go to Settings > Compiler and debugger...
In the Search directories tab, you need to add a path to the compiler tab. This path is C:\Program Files\Microsoft DirectX SDK (August 2006)\Include on my machine. You may be using a different version. Which brings me to your next question about Ogre. I'm using the August 2006 build because that is what Ogre 1.4.3 uses. Ogre is an API used to display 3D graphics, and it does it very fast and efficiently. It's probably the top engine of its kind. Keep in mind that it is purely visual. It's not a physics or math library. It's very customizable and extensible. If you plan on using it, use it with PhysX which recently became free of charge to registered developers. This is another top-of-the-notch engine, used for physics obviously. It's very fast and when used in conjunction with Ogre, well... think about World of Warcraft--the game looks great and runs on older machines pretty well. |
In response to CaptFalcon33035
|
|
Psst, BYOND is developed with VC++.
|
In response to Nadrew
|
|
*shrugs*
That doesn't mean I have to like it. That also doesn't mean you developers should put up with it. :O |
In response to CaptFalcon33035
|
|
When i run to compile my program it gives me an error:mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
|
In response to Upinflames
|
|
Did you see the directions link? I probably should have posted it. It looks like you don't have the compiler installed.
http://wiki.codeblocks.org/ index.php?title=Installing_Code::Blocks_nightly_build_on_Win dows Also, where it says you need 7-zip: if you have WinRAR, that will do just fine. |
In response to CaptFalcon33035
|
|
I've never had a single problem with VC++, in fact it's only ever been a solid program of many uses for me. The Visual Studio package has also shown itself to be pretty solid in my experience.
|
In response to Nadrew
|
|
It is solid, it's just so bloated and pesky--and I can never find the options I need. It's so annoying!
|
In response to CaptFalcon33035
|
|
Yes when I installed I added the compiler but it doesn't work correctly
|
Anyway, if you have the DirectX SDK installed (I'm pretty sure you need it), there should be a setting or option somewhere asking for compiler, library, and resource compiler paths somewhere. You need to have your IDE check your DirectX SDK location. I believe it's
C:\Program Files\DirectX SDK folder here\include. In Code::Blocks, it is especially easy and a breath of fresh air after using VC++. I was going to use it for Ogre3D development. Eww...