GPWiki.org
GPWiki.org
It is currently Sun May 19, 2013 10:42 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Jul 09, 2012 12:48 pm 
Level 1 Cleric

Joined: Mon Aug 31, 2009 11:21 am
Posts: 10
Location: zaanstad NL
what | where in the menu of vc++2008 do i have do

to link directx | opengl to my program | project

_________________
cxiu diferas el tio respondas cxiu samvaloras
[ esperanto for : everybody is diferent therefore everybody is equal ]


Top
 Profile  
 
PostPosted: Mon Jul 09, 2012 1:24 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6702
Location: Lincoln, Englandshire
Hi Tigro,

Do you mean linking the opengl32.lib file?

If so, you need to dig out the 'Additional Dependencies' area under Project Properties->Linker->Input, you should add any lib files you need there. You have to do this for both the debug and release build configs.

Alternatively, with Visual Studio you can simply add the following to the top of your code:

Code:
#pragma comment (lib, "LIB_NAME_HERE")


However, this is VS specific and not very portable.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
PostPosted: Thu Jul 12, 2012 6:16 am 
Rookie

Joined: Thu Jul 12, 2012 6:14 am
Posts: 1
Codehead wrote:
Hi Tigro,

Do you mean linking the opengl32.lib file?

If so, you need to dig out the 'Additional Dependencies' area under Project Properties->Linker->Input, you should add any lib files you need there. You have to do this for both the debug and release build configs.

Alternatively, with Visual Studio you can simply add the following to the top of your code:

Code:
#pragma comment (lib, "LIB_NAME_HERE")


However, this is VS specific and not very portable.


Sweet thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group