[#15]
Re: Dołączanie bibliotek w CubicIDE
@rzookol,
post #13
Trafiłeś w sam środek problemu. Przełączyłem w opcjach "ixemul" na
"libnix", podczas kompilacji pojawiło się:
g++ -lGL -lGLU -lSDL -lSDL_gfx -lSDL_image -noixemul -traditional-cpp -c -o o/gcc-morphos-stable/main.o main.cpp
g++: -lGL: linker input file unused since linking not done
g++: -lGLU: linker input file unused since linking not done
g++: -lSDL: linker input file unused since linking not done
g++: -lSDL_gfx: linker input file unused since linking not done
g++: -lSDL_image: linker input file unused since linking not done
g++ o/gcc-morphos-stable/main.o -lGL -lGLU -lSDL -lSDL_gfx -lSDL_image -noixemul -traditional-cpp -o bin/gcc-morphos-stable/airport
Done.
Uruchomiłem to co się skompilowało i SDL działa. Otwiera się okno, a w
nim to co być powinno. :)
Co ciekawe jak pierwszy raz po zmianie opcji skompilowałem to te
wszystkie komunikaty "linker input file unused since linking not done"
się nie pojawiły tylko od razu "Done.". Teraz się pojawiają ale
wszystko działa. Masz jeszcze jakiś pomysł na te komunikaty? Co one
właściwie oznaczają (nie po angielsku tylko od strony programowania
rzecz jasna).
Raz jeszcze dzięki za skuteczną pomoc.