User forums > Using Code::Blocks
Importing Visual Studio projects and want libs to automatically import.
indigo0086:
I'm studying some example programs provided with a book on OpenGL and the examples were made with Visual Studio. I can import the projects just fine and it has all the include paths, but the problem is the libraries. I have to manually add the opengl Libraries to each project I use. Is there a way to reduce the constant adding of these libraries and just have them automatically show up for when I import projects?
mandrav:
--- Quote from: indigo0086 on March 05, 2007, 03:37:51 am ---I'm studying some example programs provided with a book on OpenGL and the examples were made with Visual Studio. I can import the projects just fine and it has all the include paths, but the problem is the libraries. I have to manually add the opengl Libraries to each project I use. Is there a way to reduce the constant adding of these libraries and just have them automatically show up for when I import projects?
--- End quote ---
Yes, zip and attach one such project (*.vcproj) here so we can have a look on importing it.
indigo0086:
Well I can import it, but the build options are specific to msvc, the linker options don't have the opengl libs that I need in them.
[attachment deleted by admin]
indigo0086:
Well, before I was opening the visual studio projects (which CB automatically recognizes) and those weren't set up for glib. I then opened the .vcproj fil and it has the libraries set up sans gdi32. Oddly CB isn't in the file associations in the environment settings.
mandrav:
--- Quote from: indigo0086 on March 05, 2007, 02:59:25 pm ---Well, before I was opening the visual studio projects (which CB automatically recognizes) and those weren't set up for glib. I then opened the .vcproj fil and it has the libraries set up sans gdi32. Oddly CB isn't in the file associations in the environment settings.
--- End quote ---
I didn't understand a thing of what you said...
Navigation
[0] Message Index
[#] Next page
Go to full version