doomgod icon

Xcode 2.5 compile and link error

doomgod | PRO | 05/11/14 05:55:15 PM UTC | 0 ⭐ | 505 👁️ | Never ⏰ | []
text |

3.72 KB

|

None

|

0 👍

/

0 👎

[ 80%] Building CXX object src/CMakeFiles/zdoom.dir/gl/data/gl_sections.o
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp: In member function ‘void FSectionCreator::tesselateSections()’:
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:545: error: invalid conversion from ‘void (*)()’ to ‘GLvoid (*)(...)’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:545: error:   initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:546: error: invalid conversion from ‘void (*)()’ to ‘GLvoid (*)(...)’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:546: error:   initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:547: error: invalid conversion from ‘void (*)()’ to ‘GLvoid (*)(...)’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:547: error:   initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:548: error: invalid conversion from ‘void (*)()’ to ‘GLvoid (*)(...)’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:548: error:   initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:549: error: invalid conversion from ‘void (*)()’ to ‘GLvoid (*)(...)’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:549: error:   initializing argument 3 of ‘void gluTessCallback(GLUtesselator*, GLenum, GLvoid (*)(...))’
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp: In member function ‘void FSectionCreator::MarkInternalSubsectors()’:
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:596: warning: comparison between signed and unsigned integer expressions
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:601: warning: comparison between signed and unsigned integer expressions
/Users/stas/Downloads/Torr_Samaho-zandronum-f60b84ccb6ab/src/gl/data/gl_sections.cpp:605: warning: comparison between signed and unsigned integer expressions
make[2]: *** [src/CMakeFiles/zdoom.dir/gl/data/gl_sections.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
       Linking CXX executable ../zandronum
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_CGDisplayCopyAllDisplayModes referenced from SDL expected to be defined in ApplicationServices
_CGDisplayCopyDisplayMode referenced from SDL expected to be defined in ApplicationServices
_CGDisplayModeCopyPixelEncoding referenced from SDL expected to be defined in ApplicationServices
_CGDisplayModeGetHeight referenced from SDL expected to be defined in ApplicationServices
_CGDisplayModeGetWidth referenced from SDL expected to be defined in ApplicationServices
_CGDisplayModeRelease referenced from SDL expected to be defined in ApplicationServices
_CGDisplayModeRetain referenced from SDL expected to be defined in ApplicationServices
_CGDisplaySetDisplayMode referenced from SDL expected to be defined in ApplicationServices
collect2: ld returned 1 exit status
make[2]: *** [zandronum] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2

Comments