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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 #2201 of 2231 |
RE: [ploticus] Newbee: Ploticus on Mac OS 10.5.7 PPC G5

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.

Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
gusten.gren [gustengren@...]
Sent: Sunday, May 24, 2009 4:09 AM
To: ploticus@yahoogroups.com
Subject: [ploticus] Newbee: Ploticus on Mac OS 10.5.7 PPC G5

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.

gustengrens-power-mac-g5:lib gustengren$ pwd
/sw/lib
gustengrens-power-mac-g5:lib gustengren$ ls -la libplot*
-rw-r--r-- 1 root admin 594116 14 Jun 2008 libploticus.2.20.dylib
lrwxr-xr-x 1 root admin 22 18 Maj 06:04 libploticus.2.dylib ->
libploticus.2.20.dylib
-rw-r--r-- 1 root admin 1210824 14 Jun 2008 libploticus.a
lrwxr-xr-x 1 root admin 22 18 Maj 05:58 libploticus.dylib ->
libploticus.2.20.dylib
gustengrens-power-mac-g5:lib gustengren$

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
api_examp.c: In function `main':
api_examp.c:19: warning: incompatible implicit declaration of built-in function
`exit'
Undefined symbols:
"_ploticus_end", referenced from:
_main in ccf1LGnB.o
"_ploticus_execline", referenced from:
_main in ccf1LGnB.o
_main in ccf1LGnB.o
_main in ccf1LGnB.o
_main in ccf1LGnB.o
_main in ccf1LGnB.o
_main in ccf1LGnB.o
_main in ccf1LGnB.o
_main in ccf1LGnB.o
_main in ccf1LGnB.o
_main in ccf1LGnB.o< br> _main in ccf1LGnB.o
_main in ccf1LGnB.o
"_ploticus_begin", referenced from:
_main in ccf1LGnB.o
"_ploticus_init", referenced from:
_main in ccf1LGnB.o
"_ploticus_arg", referenced from:
_main in ccf1LGnB.o
"_PL_do_x_button", referenced from:
_main in ccf1LGnB.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gustengrens-power-mac-g5:Programmering gustengren$

Any one who knows where the ccf1LGnB.o is located. Should I add some more
library, In case what.

What is the difference between ploticus2 and ploticus2-nox. I understan that
*-nox dont support X11 but does it mean that it contains its own graphics
library for screen plots or is it only for data file formats like png.

_



Tue May 26, 2009 4:31 pm

Stephen.Grubb@...
Send Email Send Email

Forward
Message #2201 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