All my QT dependencies exist, cmake seems to find them just fine for 99% of the compilation process.. its only here at the final linking that things fail...

On 03/17/2014 06:19 PM, Jerome Leclanche wrote:
> Sounds like you're missing Qt dependencies. If you have them installed
> it's possible they're not found in LD_LIBRARY_PATH?
> J. Leclanche
>
>
> On Mon, Mar 17, 2014 at 8:58 PM, Harvey <teknocratdefunct@riseup.net> wrote:
>> Hey all Any tips on getting around this?
>>
>> Linking CXX executable lximage-qt
>> cd
>> /var/tmp/portage/lxde-base/lximage-qt-9999/work/lximage-qt-9999_build/src &&
>> /usr/bin/cmake -E cmake_link_script CMakeFiles/lximage-qt.dir/link.txt
>> --verbose=1
>> /usr/bin/x86_64-pc-linux-gnu-g++   -DQT_NO_KEYWORDS -fno-exceptions
>> -Wl,-O1 -Wl,--as-needed CMakeFiles/lximage-qt.dir/lximage-qt.cpp.o
>> CMakeFiles/lximage-qt.dir/mainwindow.cpp.o
>> CMakeFiles/lximage-qt.dir/preferencesdialog.cpp.o
>> CMakeFiles/lximage-qt.dir/application.cpp.o
>> CMakeFiles/lximage-qt.dir/imageview.cpp.o
>> CMakeFiles/lximage-qt.dir/modelfilter.cpp.o
>> CMakeFiles/lximage-qt.dir/loadimagejob.cpp.o
>> CMakeFiles/lximage-qt.dir/saveimagejob.cpp.o
>> CMakeFiles/lximage-qt.dir/screenshotdialog.cpp.o
>> CMakeFiles/lximage-qt.dir/settings.cpp.o
>> CMakeFiles/lximage-qt.dir/applicationadaptor.cpp.o
>> CMakeFiles/lximage-qt.dir/lximage-qt_automoc.cpp.o  -o lximage-qt
>> -rdynamic /usr/lib64/qt4/libQtCore.so /usr/lib64/qt4/libQtGui.so
>> -lglib-2.0 -lexif -lfm -lfm-qt -lQtGui -lQtDBus -lQtXml -lQtCore -lfm
>> -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lX11 -lXext
>> -lXfixes -lexif -lfm -lfm-qt -lQtGui -lQtDBus -lQtXml -lQtCore
>> -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lSM -lICE -lX11 -lXext -lXfixes
>> -Wl,-rpath,/usr/lib64/qt4:
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -lQtGui
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -lQtDBus
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -lQtXml
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -lQtCore
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -lQtGui
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -lQtDBus
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -lQtXml
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>> cannot find -lQtCore
>> collect2: error: ld returned 1 exit status
>> make[2]: *** [src/lximage-qt] Error 1
>> make[2]: Leaving directory
>> `/var/tmp/portage/lxde-base/lximage-qt-9999/work/lximage-qt-9999_build'
>> make[1]: *** [src/CMakeFiles/lximage-qt.dir/all] Error 2
>> make[1]: Leaving directory
>> `/var/tmp/portage/lxde-base/lximage-qt-9999/work/lximage-qt-9999_build'
>> make: *** [all] Error 2
>>  * ERROR: lxde-base/lximage-qt-9999::my_local_overlay failed (compile
>> phase):
>>  *   emake failed
>>
>> Thanks!
>>
>> this is Gentoo and i'm trying to compile the latest Git repo code.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> _______________________________________________
>> Lxde-list mailing list
>> Lxde-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxde-list