mam problem z linkowaniem freeglut w code::block
Ostatnio zmodyfikowano 2026-07-20 22:09
AP1994 Temat założony przez niniejszego użytkownika |
» 2026-07-20 20:14:55 bez FREEGLUT_STATIC dostałem błędy ||=== Build: Release in Gra (compiler: GNU GCC Compiler) ===| C:\Users\Adam\Documents\robocze\PUSTY PROJEKT\main.cpp||In member function 'void Dropdown::render()':| C:\Users\Adam\Documents\robocze\PUSTY PROJEKT\main.cpp|39|warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]| C:\Users\Adam\Documents\robocze\PUSTY PROJEKT\main.cpp||In member function 'void Dropdown::handleClick(int, int)':| C:\Users\Adam\Documents\robocze\PUSTY PROJEKT\main.cpp|60|warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long long unsigned int'} [-Wsign-compare]| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp|| undefined reference to `__imp_glutPostRedisplay'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp|| undefined reference to `__imp_glutPostRedisplay'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp:(.text$_ZN8Dropdown6renderEv[_ZN8Dropdown6renderEv]+0x161)||undefined reference to `__imp_glutBitmapCharacter'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp:(.text$_ZN8Dropdown6renderEv[_ZN8Dropdown6renderEv]+0x19f)||undefined reference to `__imp_glutBitmapCharacter'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp:(.text.startup+0x22)||undefined reference to `__imp___glutInitWithExit'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp:(.text.startup+0x34)||undefined reference to `__imp_glutInitWindowSize'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp:(.text.startup+0x3f)||undefined reference to `__imp_glutInitDisplayMode'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp:(.text.startup+0x53)||undefined reference to `__imp___glutCreateWindowWithExit'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp:(.text.startup+0x65)||undefined reference to `__imp_glutDisplayFunc'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp:(.text.startup+0x72)||undefined reference to `__imp_glutMouseFunc'| C:\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\15.1.0\..\..\..\..\x86_64-w64-mingw32\bin\ld.exe: 2026-07-20\Release\obj\main.o:main.cpp:(.text.startup+0x78)||undefined reference to `__imp_glutMainLoop'| ||error: ld returned 1 exit status| ||=== Build failed: 12 error(s), 2 warning(s) (0 minute(s), 2 second(s)) ===|
|
|
tBane |
» 2026-07-20 20:30:54 a z FREEGLUT_STATIC błędy nie występują? |
|
AP1994 Temat założony przez niniejszego użytkownika |
» 2026-07-20 21:09:57 błędy występują niezależnie od tego czy mam FREEGLUT_STATIC czy nie |
|
tBane |
» 2026-07-20 21:41:13 Mhm.. nie ma już pomysłów jak pomóc. Ktoś z większym doświadczeniem, by się przydał :-/ |
|
| 1 « 2 » |