On Fri, 23 Sep, 2005 at 06:05PM +0100, James
Shuttleworth spake thus:
On Fri, 23 Sep, 2005 at 12:11PM -0400, Peter Lutek
spake thus:
Peter Lutek wrote:
>james(a)dis-dot-dat.net wrote:
>
>
>
>>On Fri, 23 Sep, 2005 at 11:25AM -0400, Peter Lutek spake thus:
>>
>>
>>
>>
>>>i've successfully compiled slat with clanlib 0.7 -- no error
>>>messages. however, when i try to run it, i receive:
>>>slat: error while loading shared libraries: libclanApp-0.7.so.0:
>>>cannot open shared object file: No such file or directory
>>>
>>>i'm on a planet ccrma fc3 machine. any ideas?
>>>
>>>
>>>
>>Have you tried "locate libclanApp" to see if you have the file?
>>
>>If you do, and it's in a sensible place, try running ldconfig.
>>
>>
>>
>>
>>
>>
>oops..... forgot to give the shared lib dir on the command line for
>ldconfig..... DOH!
>
>it's all good now.... time to go play!
>thanks - for your help and for SLAT!
>
>
>
any way to make it so you don't have to be in the dir where bg.png lives
when starting slat? if i'm not there, i get an error message complaining
that it couldn't open that file.
Okay, for now change the install section of the makefile to:
install:
install -o root -m a+rx slat /usr/bin
mkdir -p /usr/share/slat
install -o root -m a+r bg.png /usr/share/slat
Forgot about mp.png. Add this on the end.
install -o root -m a+r mp.png /usr/share/slat
And in theremin.cpp, change line 150 to:
CL_Surface *bg = new CL_Surface("/usr/share/slat/bg.png");
And line 157 to:
mp = new CL_Surface("/usr/share/slat/mp.png");
>And you should be all set. These changes will be in the next release.
>
>
>
>
cool. thanks again!
i'll probably not get around to implementing that before next week....
and i'm running out of time to properly stress-test the addition of slat
in my live rig before tonight's gig. too bad.
looking forward to putting it through it's paces!