-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linker fails to find GLUT #11
Comments
So, I have solved the issue in the following way, in case others experience similar issues, here is the solution. First of all, my problem was stemming from the fact that I had a pretty crowded dev environment, so CMake was picking up crap while resolving libs and includes.
Changing the GLUT section of the template with the following and enforcing the system-wide GLUT solved that problem.
I ended up implementing a solution that probably worked for my case only, I'm assuming you are going to have a cleaner dev environment and you will not be running into this issue, but if you do, you need to enforce CMake to pickup the fresh PNG resources installed through I already had the
Here is the solution that inspired my own solution: What is the proper way to use pkg-config from cmake? It is always a good idea to verbose these things, this is how the above looked in my terminal with some extra
Hope this works, and extreme gratitude to the guys in the One Lone Coder Discord: @Moros1138, dandistine, fluff and everyone else who helped me to get this building on OSX. Cheers. |
Thanks for sharing this information. As this seems to be an issue with your build environment, I'm going to mark this as I'll revisit this if/when it appears to be a problem for more people. I'm glad you got it working for you, in the end! |
When running
make
, I get the following error:Glut is installed with brew and the actual
cmake .
command does not return an error.The text was updated successfully, but these errors were encountered: