Skip to content
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

Compile freeglut error in GCC 10.1.0 #179

Open
ElonKou opened this issue Jul 20, 2022 · 0 comments
Open

Compile freeglut error in GCC 10.1.0 #179

ElonKou opened this issue Jul 20, 2022 · 0 comments

Comments

@ElonKou
Copy link

ElonKou commented Jul 20, 2022

OS : ubuntu 20.04
GCC : GCC 10.1.0

Thanks for your great work , I am an engineer and I found that freeglut can't be compiled in GCC 10.1.0 when I run the command './build.sh", but GCC 9.4.0 runs well.

error info:

[ 31%] Building C object CMakeFiles/Lorenz_static.dir/progs/demos/Lorenz/lorenz.c.o
[ 32%] Linking C executable bin/Lorenz_static
/usr/bin/ld: lib/libglut.a(fg_gl2.c.o):(.bss+0x0): multiple definition of `fghGenBuffers'; lib/libglut.a(fg_window.c.o):(.bss+0x0): first defined here
/usr/bin/ld: lib/libglut.a(fg_gl2.c.o):(.bss+0x8): multiple definition of `fghDeleteBuffers'; lib/libglut.a(fg_window.c.o):(.bss+0x8): first defined here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant