opengl32.lib ships with Visual Studio. Simply adding it to your Additional Dependencies in the project Linker settings should do the job.

-Nathan

-----Original Message----- From: Steve Booth
Sent: Friday, August 24, 2012 8:43 AM
To: 'Nuke plug-in development discussion'
Subject: RE: [Nuke-dev] compiling RelfectionCard GL error

Again... not tried it, but I did not find OpenGL32.lib in
C:/windows/system32, or any directory in the $PATH.  I believe you may have
to download the SDK and specifically reference the Microsoft SDK folder, as
indicated (Unless the SDK install includes it in the PATH automatically,
which it may).

Steve


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Colin
Doncaster
Sent: Friday, August 24, 2012 8:38 AM
To: Nuke plug-in development discussion
Subject: Re: [Nuke-dev] compiling RelfectionCard GL error


Sorry, you're correct that OpenGL32.lib is what you want - you shouldn't
have to specify a library directory, it should find the correct version for
the Visual C++ you're using ( 2005 for Nuke plugins, at least for 6.3 ).
This is just an exports library for the correct .dll for OpenGL.

Cheers

On 2012-08-24, at 11:28 AM, Steve Booth wrote:

Yes.  Actually 'OpenGL32.lib' on Windows.  Here's the secret I
believe, although I have not tried it because I'm running Vista and
not Win7.  The OpenGL32.lib file is part of the Windows Software
Development Kit, which can be downloaded here:

http://www.microsoft.com/en-us/download/details.aspx?id=3138

When I did it from Vista, the OpenGL32.lib file was located here:

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

Hope that helps.

Steve



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Colin
Doncaster
Sent: Friday, August 24, 2012 5:28 AM
To: Nuke plug-in development discussion
Subject: Re: [Nuke-dev] compiling RelfectionCard GL error

Opengl.lib?

On 2012-08-24, at 6:56 AM, Lucien FOSTIER wrote:

Hi guys,

thanks for the help but unfortunately, I already had the glew32.lib
included and linked against as Im choosing the nuke root install
folder in the link properties of my VS project, Im also including Nuke
include directory in the c++ compiler as mentionned in the help of the
Foundry to compile on win.

Any other ideas where that would come from?

thanks

--
lucien FOSTIER

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to