MoustafaChamli Posted July 9, 2014 Share Posted July 9, 2014 It seems like I have a missing file when compiling. I looked in the directory where it's supposed to be (Leadwerks/Include/Libraries/glew-1.6.0/include/GL/) and I can't seem to find it. This occurs when compiling on Ubuntu. Quote Link to comment Share on other sites More sharing options...
Ma-Shell Posted July 9, 2014 Share Posted July 9, 2014 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 Quote Link to comment Share on other sites More sharing options...
MoustafaChamli Posted July 14, 2014 Author Share Posted July 14, 2014 That corrected it. I was (still am) having trouble compiling SDL2 with Leadwerks on Linux, and it would seem that in my attempts to correct this, I removed libGLU. Quote Link to comment Share on other sites More sharing options...
Ma-Shell Posted July 14, 2014 Share Posted July 14, 2014 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) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.