Advertisement

Failing to Define Like a Header File isn't Specified.

Started by October 12, 2018 11:15 PM
11 comments, last by Josheir 6 years, 3 months ago

Create a LIB folder and put your common library folders in it. Each library sub-folder will have an include folder and a lib folder with more sub-folders for x64 and x86 builds/debug and release builds. Then you reference that same folder for each project. The best way to do this in Visual Studio 2015+ is to create a .prop file in property manager for each configuration you have so you don't have to recreate the property settings (mainly setting up paths and libs) for each new project, which is a pain in the ass especially when first learning.

I put a LIB folder in the root folder of my common projects and reference it relative so my paths look like

../../LIB/glew/include;../../LIB/glut/include //etc...

../../LIB/glew/lib/x64r;../../LIB/glut/lib/x64r //etc...

for example.

BTW, glut is not used much nowadays. Look into GLFW for a better windowing library. There are other alternatives as well.

🙂🙂🙂🙂🙂<←The tone posse, ready for action.

I'm just getting back to you, MrHallows.  Hopefully you can help me.  I'm going to open a separate thread (soon) with the repo address.

Thanks, 

Josheir

 

Edit:

The post is in this forum and is titled 

Still Trying to Debug an Odd GLEW Issue, Please Help.

https://www.gamedev.net/forums/topic/699307-still-trying-to-debug-an-odd-glew-issue-please-help/

 

The GitHub repo is at:

https://github.com/Joshei/GolfProjectRepo/tree/combine_sources/GOLFPROJ

 

Thank you,

Josheir

This topic is closed to new replies.

Advertisement