[argyllcms] Re: Argyll GUI

  • From: Gerhard Gaußling <ggrubbish@xxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 9 Aug 2008 16:09:18 +0200

Am Samstag, 9. August 2008 schrieb Frédéric:
> On samedi 09 août 2008, Gerhard Gaußling wrote:
> > Am Samstag, 9. August 2008 schrieb Gerhard Gaußling:
> > > libwxcode_gtk2u_propgrid-2.8.so.0
> >
> > https://bugs.launchpad.net/ubuntu/+bug/236369
>
> You can easily compile it from source. Juste use the dev. version
> (1.3.x), not the stable version, as it needs the complete wxwidgets
> source to be compiled as well.
>
> Feel free to contact me if you have troubles to compile argyllCMSGUI
> under linux. If someone want to compile under MacOS, you can also
> contact me: I don't have MacOS, but it could be the same as linux.

I had to replace LIBS = -lwxcode_gtk2u_propgrid-2.8 with  LIBS 
= -lwxcode_gtk2ud_propgrid-2.8, because wxpropgrid 1.3.8 compiled and 
installed ud instead of u in the filename.

$ make --makefile=makefile.linux 
g++ -o argyllgui about.o argyllcmsApp.o argyllcmsmain.o argyllcms.o 
cb2cgatswin.o dispcalwin.o dispreadwin.o fakereadwin.o filmreadwin.o 
filmtargwin.o kodak2cgatswin.o linkwin.o logo2cgatswin.o printreadwin.o 
printtargwin.o profilewin.o scaninwin.o settings.o targenwin.o 
targsel.o tiffgamutwin.o -lwxcode_gtk2u_propgrid-2.8
/usr/bin/ld: cannot find -lwxcode_gtk2u_propgrid-2.8
collect2: ld returned 1 exit status
make: *** [argyllgui] Error 1

The precompiled binary doesn't work either:
$ldd ./argyllgui
        linux-vdso.so.1 =>  (0x00007fffb49fe000)
        libwxcode_gtk2u_propgrid-2.8.so.0 => not found
...

I tried first to copy the lib file to the new name, and link it:
sudo 
cp -av /usr/local/lib/libwxcode_gtk2ud_propgrid-2.8.so.0.0.0  
/usr/local/lib/libwxcode_gtk2u_propgrid-2.8.so.0.0.0
sudo 
ln -s /usr/local/lib/libwxcode_gtk2u_propgrid-2.8.so.0.0.0 
/usr/local/lib/libwxcode_gtk2u_propgrid-2.8.so.0 
$ sudo 
ldconfig -v -l /usr/local/lib/libwxcode_gtk2u_propgrid-2.8.so.0 
/usr/local/lib/libwxcode_gtk2u_propgrid-2.8.so.0.0.0
/sbin/ldconfig.real: Ignored 
file /usr/local/lib/libwxcode_gtk2u_propgrid-2.8.so.0 since it is not a 
regular file.
        libwxcode_gtk2ud_propgrid-2.8.so.0 -> 
libwxcode_gtk2u_propgrid-2.8.so.0.0.0 (changed)

But that didn't work. I don't know why, but 
~$ sudo ldconfig -v |grep libwx|grep prop
didn't show libwxcode_gtk2u_propgrid-2.8.so.0:
libwxcode_gtk2ud_propgrid-2.8.so.0 -> 
libwxcode_gtk2ud_propgrid-2.8.so.0.0.0

But after editing the makefile.linux I had sucess to compile it.

Checkinstall or make install failed:
make: *** No rule to make target `install'.  Stop.
****  Installation failed. Aborting package creation.

But I can start the argyllGUI application without any issues from the 
directory by simply typing ./argyllgui







Other related posts: