Loading ...
Sorry, an error occurred while loading the content.
 

Re: [ploticus] Newbee: Ploticus on Mac OS 10.5.7 PPC G5

Expand Messages
  • Platonides
    ... I think your compile line may be wrong. Try doing $ cc -o test /sw/lib/libploticus.a -lz -lm /usr/X11/lib/libpng.la /usr/X11/lib/libX11.la api_examp.c (is
    Message 1 of 3 , May 26, 2009
      gusten.gren wrote:
      > When i try to compile api_examp.c I get the following result.
      >
      > gustengrens-power-mac-g5:Programmering gustengren$ cc -o test
      > -L/sw/lib/libploticus.a -lz -lm -L/usr/X11/lib/libpng.la
      > -L/usr/X11/lib/libX11.la api_examp.c


      I think your compile line may be wrong.
      Try doing
      $ cc -o test /sw/lib/libploticus.a -lz -lm /usr/X11/lib/libpng.la
      /usr/X11/lib/libX11.la api_examp.c
      (is really libpng.a into X11 folder?)

      or
      $ cc -o test -Llibploticus.a -lploticus -lz -lm -L/usr/X11/lib -lpng
      -lX11 api_examp.c
    Your message has been successfully submitted and would be delivered to recipients shortly.