Menu

pngwriter help: what to put for parameter

Y S
2008-03-10
2012-09-26
  • Y S

    Y S - 2008-03-10

    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

     
    • cpns

      cpns - 2008-03-10

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.