Does anyone know what i should put under the linker and C++compiler heading for parameter tab of project option? I am trying to build libpngwriter.a library file for pngwriter. Right now whatever i put in the linker ie: -lfreetype-lz-lpng or -lz-lpng... all gives the error msg cannot find -lfreetype-lz-lpng or lz-lpng.
What happen there?
Will it work better if i disable freetype instead? I know -DNO_FREETYPE can disable freetype but where should i put that.
From the compiler log: freetype not disabled
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe pngwriter-0.5.3/src/pngwriter.o -o "libpngwriter.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/GnuWin32/lib" -lfreetype-lz-lpng
C:\Dev-Cpp\Bin..\lib\gcc\mingw32\3.4.2........\mingw32\bin\ld.exe: cannot find -lfreetype-lz-lpng
collect2: ld returned 1 exit status
make.exe: *** [libpngwriter.exe] Error 1
Execution terminated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anyone know what i should put under the linker and C++compiler heading for parameter tab of project option? I am trying to build libpngwriter.a library file for pngwriter. Right now whatever i put in the linker ie: -lfreetype-lz-lpng or -lz-lpng... all gives the error msg cannot find -lfreetype-lz-lpng or lz-lpng.
What happen there?
Will it work better if i disable freetype instead? I know -DNO_FREETYPE can disable freetype but where should i put that.
From the compiler log: freetype not disabled
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe pngwriter-0.5.3/src/pngwriter.o -o "libpngwriter.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/GnuWin32/lib" -lfreetype-lz-lpng
C:\Dev-Cpp\Bin..\lib\gcc\mingw32\3.4.2........\mingw32\bin\ld.exe: cannot find -lfreetype-lz-lpng
collect2: ld returned 1 exit status
make.exe: *** [libpngwriter.exe] Error 1
Execution terminated
You have run all your library parameters together without spaces between them.
-lfreetype -lz -lpng
The way you have it would have to have a library called libfreetype-lz-lpng.a !
I am sorry to have to say this, but:
a) that was rather obvious, and
b) you have a another thread regarding this, where an hour or so before you had the settings correct.
Either you are making this up, or are just not thinking about what it is you are doing.
Clifford