Mac Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsMac Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old September 24th, 2007, 01:44 PM
NetBSD NetBSD is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Canada
Posts: 229 NetBSD Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 7 h 53 m 57 sec
Reputation Power: 0
Send a message via MSN to NetBSD
DISLIN on OS X

I'm trying to run DISLIN with C++ for plotting and I'm getting the following error:

Code:
[accenture:local/dislin/examples] chris% clink -a map_c
/usr/bin/ld: can't locate file for: -lXm
collect2: ld returned 1 exit status
/usr/local/dislin/bin/clink: line 110: ./map_c: No such file or directory
[accenture:local/dislin/examples] chris% 


clink is supposed to compile, link and run C programs with DISLIN. map_c.c is in the examples directory and the .c in the command is not necessary.

I did the following after installing into /usr/local/dislin:

Quote:
f) To make DISLIN available for general use, write the following com-
mands to your .profile or to /etc/profile

DISLIN=directory
export DISLIN
PATH=${PATH}:${DISLIN}/bin

DYLD_LIBRARY_PATH=$DISLIN:$DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH

For a C-shell, you should include the commands

setenv DISLIN directory
setenv PATH ${PATH}:${DISLIN}/bin
setenv DYLD_LIBRARY_PATH ${DISLIN}:${DYLD_LIBRARY_PATH}


Any ideas? Do I need to install libXm? Why can't it find map_c.c in the directory that I'm in?

I've tried using bash and csh.

Last edited by NetBSD : September 24th, 2007 at 01:46 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsMac Help > DISLIN on OS X


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway