Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Programming Talk / C++ / C# - New to opengl 14 unresolved externals!!!

Author
Message
Markswii
17
Years of Service
User Offline
Joined: 5th Aug 2007
Location: Object position x (mark)
Posted: 28th Oct 2008 22:32
I was hoping some kind soul could help me out here if you have a min to look through my code and tell me what I am doing wrong.

Here is the code:


Here are the errors I am recieving:


Thanks in advance this is always a very kind forum

Jeff032
17
Years of Service
User Offline
Joined: 13th Aug 2007
Location:
Posted: 28th Oct 2008 22:43
You need to add the OpenGL library file(s) to

Properties -> Configuration Properties -> Linker -> Input -> Additional Dependencies

You might need to add the directory containing the library file(s) to

Properties -> Configuration Properties -> Linker -> General -> Addition Library Directories

Markswii
17
Years of Service
User Offline
Joined: 5th Aug 2007
Location: Object position x (mark)
Posted: 29th Oct 2008 01:42
Okay thank you very much for your response.

This worked but now when I run the program it tells me that opengl.dll could not be found. If I were to get a copy of that dll where would I place it?

Thank you.

Jeff032
17
Years of Service
User Offline
Joined: 13th Aug 2007
Location:
Posted: 29th Oct 2008 04:41
In the directory that your solution file is in, and also a .ncb file, there should be two folders...

1) Debug
2) <name_of_your_project_or_something>

I believe it should be placed in both of those, but I'm not sure.

I think Visual Studio looks for files in folder 1) when running without the debugger, and in folder 2) when running with the debugger.

But just experiment a bit.

Login to post a reply

Server time is: 2025-06-25 10:12:25
Your offset time is: 2025-06-25 10:12:25