News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Importing Visual Studio projects and want libs to automatically import.

Started by indigo0086, March 05, 2007, 03:37:51 AM

Previous topic - Next topic

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?

Yes, zip and attach one such project (*.vcproj) here so we can have a look on importing it.
Be patient!
This bug will be fixed soon...

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.

I didn't understand a thing of what you said...
Be patient!
This bug will be fixed soon...

indigo0086

*sigh*

Okay, in that file I gave, there is a visual C++ workspace and project (*.dsw, *.dsp) and visual studio solution and project files (.sln, *.vcproj).  Now if you go to he environment options in CodeBlocks and click on the manage files, only the .dsp and .dsw files can be associated with CB, not the Visual Studio files.

Now Based off those associations I opened the .dsp and it opened all the files fine but without the lib files that I need for an opengl project to work.