Jump to content

glu.h no such file or directory


MoustafaChamli
 Share

Recommended Posts

Why do you think, the file has to be at that location? For me the file GLU.h is in the folder from the windows-sdk, so for linux it seems you are missing a package. Did you run the install-script (install.sh)? I think, the missing library should be libglu1-mesa-dev, which you have to install via

sudo apt-get install libglu1-mesa-dev

 

If you didn't run the install-script, you should try running that first and only if that doesn't fix it, try the above (as I think, the missing library is a dependency of one of the libraries installed). You can do so by cd-ing to the leadwerks-directory and typing

sudo ./install.sh

Link to comment
Share on other sites

I can't remember having trouble with the SDL-library. I guess, those are linker-problems?

You have to add "SDL" to the linker-options and add the path to the header-files to the include-directories in the compiler-options.

(I am currently not on Linux but if I find the time and you need help with this, I can post a more detailed guide for you)

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...