Search the web
Sign In
New User? Sign Up
ploticus · ploticus software support
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Newbee: Ploticus on Mac OS 10.5.7 PPC G5   Message List  
Reply | Forward Message #2202 of 2231 |
Re: [ploticus] Newbee: Ploticus on Mac OS 10.5.7 PPC G5

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





Tue May 26, 2009 9:33 pm

platonides@...
Send Email Send Email

Forward
Message #2202 of 2231 |
Expand Messages Author Sort by Date

Hello Mac OS C-programmers using ploticus Plotting graphs in C-code-programs. I have downloaded Ploticus via Fink. My path and library looks lika this. ...
gusten.gren
Offline Send Email
May 26, 2009
4:06 pm

Hello, I can't help with the mac compile issues but can confirm that the *-nox version has all references to X11 removed, and is only for generating png, etc. ...
Stephen Grubb
Stephen.Grubb@...
Send Email
May 26, 2009
5:41 pm

... 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...
Platonides
platonides@...
Send Email
May 27, 2009
6:54 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help