Jump to content

glu.h missing


p0tat0
 Share

Recommended Posts

I'm new to Leadwerks (And C++), trying to build the project I get this error

c:\program files (x86)\steam\steamapps\common\leadwerks\include\libraries\glew-1.6.0\include\gl\glew.h(1180): fatal error C1083: Cannot open include file: 'GL/glu.h': No such file or directory

Looking in the directory, there are 3 files.

glew.h, glxew.h, and wglew.h

Not really sure how to proceed.

-- edit

Got that sorted by adding two directories to the project

  • C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\shared
  • C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\um

But now I get this error, and google isn't horribly helpful

1>------ Build started: Project: LW_EZPZ, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1104: cannot open file 'Rpcrt4.lib'
1>Done building project "LW_EZPZ.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Turns out I also had to add this to the Linker path settings

C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17763.0\um\x86

 

Edited by p0tat0
Sorted one problem, ran into another
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...