CroCo
CroCo

Reputation: 5741

errors building glut dll with visual studio 2013

I have upgraded visual studio from 2010 to 2013. I've downloaded GLUT source code distribution from here. In the instructions,

       To build the glut dll: 
       First, open Microsoft Developer Studio.
       Then, select File -> Open Workspace and find the glut.dsw file
       in the file dialog and double-click on it.  
       Finally, select Build -> Build glut32.dll.
       When the build is finished, it will copy:
       glut32.dll to %WinDir%\System, 
       glut32.lib to $(MSDevDir)\..\..\VC98\lib, and 
       glut.h     to $(MSDevDir)\..\..\VC98\include\GL.

There is no folder named VC98. GL folder is located in

C:\Program Files (x86)\Windows Kits\8.1\Include\um\gl

As a result, I can't build glut.dll. It throws out the following message

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: The command "copy C:\Users\XXX\Desktop\glut-3.7.6\lib\glut\Debug\glut32.dll %WINDIR%\SYSTEM32
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: copy C:\Users\XXX\Desktop\glut-3.7.6\lib\glut\Debug\glut32.lib "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\..\..\VC98\lib"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: copy ..\..\include\GL\glut.h "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\..\..\VC98\include\GL"

How can I build glut dll successfully?

Upvotes: 0

Views: 505

Answers (1)

Axalo
Axalo

Reputation: 2953

Those error messages are caused by a Post-Build Event.
You can safely ignore these.
You will find the dlls in glut-3.7.6\lib\glut\ under Debug and Release.

Upvotes: 1

Related Questions