I added "-lOSLib -lpng -lz" to project but i get a linker error while
compiling. I did checked it out and i noticed it does not add this options to
g++
Kompilator: Default compiler
Building Makefile: "E:\Programowanie\Dev-Cpp\Maniac - Destroy all
zombies\Makefile.win"
Wykonywanie make...
make.exe -f "E:\Programowanie\Dev-Cpp\Maniac - Destroy all
zombies\Makefile.win" all
g++.exe main.o -o "Maniac.exe" -L"E:/Programowanie/Dev-Cpp/lib"
-L"E:/Programowanie/Dev-Cpp/lib/OSLib"
main.o(.text+0x132):main.cpp: undefined reference to oslInit'
main.o(.text+0x146):main.cpp: undefined reference tooslInitGfx'
main.o(.text+0x14b):main.cpp: undefined reference to `oslInitConsole'
collect2: ld returned 1 exit status
make.exe: *** Error 1
Wykonanie zakończone
I am making a game in OldSchool library. Help please.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I added "-lOSLib -lpng -lz" to project but i get a linker error while
compiling. I did checked it out and i noticed it does not add this options to
g++
main.o(.text+0x132):main.cpp: undefined reference to
oslInit' main.o(.text+0x146):main.cpp: undefined reference to
oslInitGfx'main.o(.text+0x14b):main.cpp: undefined reference to `oslInitConsole'
collect2: ld returned 1 exit status
make.exe: *** Error 1
Wykonanie zakończone
I am making a game in OldSchool library. Help please.