Everything is pretty much similar to this question except glfwInit() (all other glfw functions still cause linkage error), which is linking normally. When I tried to change 'glfw' to 'glfw3' everything is ok, but application freezes at glfwCreateWindow(). I think, I exactly needs '-glfw', not 'glfw3' but it causes linking errors. What do I have to do?
Asked
Active
Viewed 381 times
0
Community
- 1
- 1
Netherwire
- 2,669
- 3
- 31
- 54
1 Answers
1
There were two reasons:
- Linkage error because of presence of deprecated glfw2 libs (just do
sudo apt-get purge libglfw-devandsudo apt-get purge libglfw2and reinstall libglfw3. - Freeze. Yup, this is a well-known unity bug. You can for example manually retrieve a valid window pointer to use it with glfw. And you also can use for example gnome or mate.
Netherwire
- 2,669
- 3
- 31
- 54