-
Notifications
You must be signed in to change notification settings - Fork 1
CompileStatically
Adrian Quintana edited this page Dec 11, 2017
·
1 revision
Install a version of libtiff-devel that has libtiff.a
Pass the Scons test in build/config.log for qt:
g++ -o build/config.tests/conftest_0 -static build/config.tests/conftest_0.o -L/usr/lib/qt3/lib -lqt-mt -lXft -lX11 -lXmu -lXt -lfontconfig -lpng -lSM -lXi -lICE -lXrandr -lXrender -lXext -ldl -lxcb -lfreetype -lexpat -lz -lXcursor -lXinerama -lxcb-xlib -lXfixes -lXau -lXrender -lpthread
All programs except those that depend on Recons_Interface and the graphical ones compile statically. xmipp_show may be compiled using:
g++ -o applications/programs/show/xmipp_show applications/programs/show/main.o -L/usr/lib/qt3/lib -Llibraries/data -Llibraries/graphics -Llibraries/classification -Llibraries/reconstruction -Lexternal -Lexternal/fftw-3.1.2 -lqt-mt -lX11 -lXmu -lXt -lfontconfig -lXft -lpng -lpthread -lSM -lXi -lICE -lXrandr -lXrender -lXext -ldl -lxcb -lfreetype -lexpat -lz -lXcursor -lXinerama -lxcb-xlib -lpthread -lXfixes -lXau -lXrender -lglib -lX11 -static -s -pthread -lXmippGraphics -lXmippRecons -lXmippClassif -lXmippData -lXmippExternal -lXmippFftw -lqt-mt -lX11 -lXmu -lXt -lfontconfig -lXft -lpng -lpthread -lSM -lXi -lICE -lXrandr -lXrender -lXext -ldl -lxcb -lfreetype -lexpat -lz -lXcursor -lXinerama -lxcb-xlib -lpthread -lXfixes -lXau -lXrender -lglib -lX11
But the executable doesn't work.... :-(
Currently abandon static compilation (7 Oct 2008)
-- Main.SjorsScheres - 07 Oct 2008