   Setting up lib3ds + Visual Studio '08?
  Hello, well I'm new here and I'm also new to OpenGL. I mostly develop on Linux with the Anjuta IDE, and I think it's great but I wanted to try out how development on Windows is done, I downloaded VC++2008 and managed to setup freeglut/glut there. But my OpenGL program utilizes the lib3ds library, I downloaded the 1.3.0 version (this is the version my Linux project uses), it had a VS project so I opened it and built...the .dll and .lib files were created (these are all I need right?) but where do I go from here? Thanks[EDIT] If this is in the wrong forum, I apologize[Edited by - Atari on May 26, 2009 8:27:14 PM]
  Bump?   ;  Once you have the lib3ds .lib and .dll files, you need to link your project with your newly created library. You will have to add the lib3ds.lib file as an additional dependency to your project (in the linker section of your projects properties), and build again. Finally, you'll have to copy lib3ds.dll into the same folder as your projects executable, where Windows can find it when your executable is run.BTW, I'm moving this to beginners.   ;  Ok well it looks I got the .lib file linked. But erm, what about the include files for lib3ds? should I just copy them to my project or...?(Thanks for the response & the move btw)   ;Quote:Original post by AtariOk well it looks I got the .lib file linked. But erm, what about the include files for lib3ds? should I just copy them to my project or...?(Thanks for the response & the move btw)For those you want to go into:Tools -> Options -> Projects and Solutions -> VC++ Directories -> Show directories for: Include FilesAdd the path to the folder containing the headers, thats also where you can add the directories for the lib files under "Show directories for: Library Files".   ;Quote:Original post by ExcessNeoFor those you want to go into:Tools -> Options -> Projects and Solutions -> VC++ Directories -> Show directories for: Include FilesNo, you don't.You go into the properties of your project, and add the lib3ds include directory to C++/General/Include Directories.;  Thanks guy I'm sure I got everything. Now I have to deal with the annoyances of VC++, such as the fact that you have to define all variables at the beginning of the function wtf?   ;  Is the extension of your source file .c? If so, VS compiles this as C instead of cpp.   ;Quote:Original post by EndurionIs the extension of your source file .c? If so, VS compiles this as C instead of cpp....which means that you indeed have to define everything before any other code. Make sure that you compile your files as C++ and you can define stuff anywhere.Just thought I would make that clear.   ;  Yeah I've tested a bit with compiling as C or C++, if I compile as C++ it gives me some errors when using arrays   