Mingw32를 사용하여 OpenGL 프로그램을 크로스 컴파일하려고했지만로드 블록을 실행했습니다. mingw32-configure를 호출 한 후; 나는 서로이 웹 사이트에 제안 후 내 시스템에 LLVM 소프트웨어 래스터 라이저를 추가 한mingw32로 Linux OpenGL 프로그램을 컴파일 할 수 없습니다. Config.log 오류 : '_glEnable'에 대한 정의되지 않은 참조
configure:21709: checking GL/gl.h usability
configure:21726: ccache i686-pc-mingw32-g++ -c -O2 -g -pipe -Wall -,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields conftest.cpp >&5
configure:21732: $? = 0
configure:21746: result: yes
configure:21750: checking GL/gl.h presence
configure:21765: ccache i686-pc-mingw32-g++ -E conftest.cpp
configure:21771: $? = 0
configure:21785: result: yes
configure:21813: checking for GL/gl.h
configure:21820: result: yes
configure:21834: checking for glEnable in -lGL
configure:21869: ccache i686-pc-mingw32-g++ -o conftest.exe -O2 -g -pipe - Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms- bitfields conftest.cpp -lGL >&5
/tmp/ccjGmlvX.o: In function 'main':../rpmbuild/SOURCES/poker3d-1.1.36/conftest.cpp:34: undefined reference to `_glEnable'
collect2: ld returned 1 exit status
configure:21875: $? = 1
configure: failed program was:
| /* confdefs.h. */
: 컴파일이
configure: error: lacking proper OpenGL support
의해 중단 나는 다음과 같은 항목을 config.log 파일을 확인하고 발견 thread를 사용하여 libopengl32.a를 libGL.a에 복사하는 Mingw 사이트의 제안을 구현했습니다. 지금까지 컴파일 시도가 끝날 때마다받는 오류는 변경되지 않았습니다.
해결 방법에 대한 조언을주세요.