Compilation problem

195 views
Skip to first unread message

Olivier

unread,
Feb 23, 2011, 7:17:54 PM2/23/11
to qwbfs-discuss
Hi,

Somebody can help me because I don't find a solution for the error of
compilation. See below:


cd ../../fresh/ && make -f Makefile
make[1]: Entering directory `/home/fresh'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/fresh'
cd libwbfs/ && make -f Makefile
make[1]: Entering directory `/home/operthuis/trunk/libwbfs'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/operthuis/trunk/libwbfs'
cd qwbfs/ && make -f Makefile
make[1]: Entering directory `/home/operthuis/trunk/qwbfs'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DLARGE_FILES -
D_FILE_OFFSET_BITS=64 -DFRESH_CORE_BUILD -D_APPLICATION_NAME="\"QWBFS
Manager\"" -D_APPLICATION_VERSION="\"1.2.0\"" -
D_APPLICATION_VERSION_STR="\"1.2.0 (svn209 release)\"" -
D_APPLICATION_DOMAIN="\"code.google.com/p/qwbfs\"" -
D_APPLICATION_COPYRIGHTS="\"(C) 2010 - 2011 Filipe Azevedo\"" -
D_APPLICATION_DESCRIPTION="\"The Free, Fast and Powerful cross
platform Wii Backup File System manager\"" -
D_APPLICATION_ORGANIZATION="\"QWBFS Team\"" -
D_APPLICATION_DOWNLOADS_FEED="\"http://code.google.com/feeds/p/qwbfs/
downloads/basic\"" -D_APPLICATION_REPORT_BUG_URL="\"http://
code.google.com/p/qwbfs/issues/list\"" -
D_APPLICATION_DISCUSS_URL="\"http://groups.google.com/group/qwbfs-
discuss\"" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -
DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/
include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/
QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/qt4/
fresh -I../libwbfs -I../../../fresh/include -I../../../fresh/src -
I../../../fresh/src/core -I../../../fresh/src/gui -I../../../fresh/src/
gui/actionmanager -I../../../fresh/src/gui/consolemanager -I../../../
fresh/src/gui/dockmanager -I../../../fresh/src/gui/dockwidget -
I../../../fresh/src/gui/environmentvariablemanager -I../../../fresh/
src/gui/gc-updatechecker -I../../../fresh/src/gui/listeditor -
I../../../fresh/src/gui/models -I../../../fresh/src/gui/queuedmessage -
I../../../fresh/src/gui/stylemanager -Isrc -I/usr/X11R6/include -I../
build/release/moc -I../build/release/ui -o ../build/release/obj/unix/
main.o src/main.cpp
src/main.cpp:42: fatal error: FreshCore/pSettings: No such file or
directory
compilation terminated.
make[1]: *** [../build/release/obj/unix/main.o] Error 1
make[1]: Leaving directory `/home/operthuis/trunk/qwbfs'
make: *** [sub-qwbfs-make_default-ordered] Error 2


Nox P@sNox

unread,
Feb 24, 2011, 8:41:19 AM2/24/11
to qwbfs-discuss
Hello,

You are trying to build the trunk svn.
This next version is still in development and require an external
library i created for build correctly.
You can obtain the fresh library here: http://bettercodes.org/projects/fresh/home/
Please take git version, the rc release is old and now uptodate.
You will have to create an account to acces the git (bettercodes still
not has anonymous checkout...).

Once you got your fresh sources, build and install them this way:

qmake-qt4 ./fresh.pro
make
sudo make install

Once installed, you can now build qwbfsmanager trunk this way:

qmake-qt4 "CONFIG *= fresh_static" ./qwbfs.pro
make
sudo make install // optionnal

You will have the final binary in "bin" folder.

Regards, P@sNox,

Nox P@sNox

unread,
Feb 24, 2011, 8:43:31 AM2/24/11
to qwbfs-discuss
You should read "not uptodate" in place of "now uptodate" :)

Olivier

unread,
Feb 24, 2011, 3:00:51 PM2/24/11
to qwbfs-discuss
Hi,

Thanks for your reply but I met a new problem to compile.

See below:

cd libwbfs/ && make -f Makefile
make[1]: entrant dans le répertoire « /home/operthuis/trunk/libwbfs »
make[1]: Rien à faire pour « first ».
make[1]: quittant le répertoire « /home/operthuis/trunk/libwbfs »
cd qwbfs/ && make -f Makefile
make[1]: entrant dans le répertoire « /home/operthuis/trunk/qwbfs »
g++ -Wl,-O1 -Wl,-rpath,/home/fresh/build -o ../bin/qwbfsmanager ../
build/release/obj/unix/main.o ../build/release/obj/unix/UIMain.o ../
build/release/obj/unix/Gauge.o ../build/release/obj/unix/
PartitionWidget.o ../build/release/obj/unix/ProgressDialog.o ../build/
release/obj/unix/WorkerThread.o ../build/release/obj/unix/
PartitionDiscHandle.o ../build/release/obj/unix/PartitionHandle.o ../
build/release/obj/unix/PartitionProperties.o ../build/release/obj/unix/
PartitionStatus.o ../build/release/obj/unix/Disc.o ../build/release/
obj/unix/DiscDelegate.o ../build/release/obj/unix/DiscModel.o ../build/
release/obj/unix/Driver.o ../build/release/obj/unix/UIAbout.o ../build/
release/obj/unix/Covers.o ../build/release/obj/unix/
PropertiesDialog.o ../build/release/obj/unix/Properties.o ../build/
release/obj/unix/ListView.o ../build/release/obj/unix/moc_UIMain.o ../
build/release/obj/unix/moc_Gauge.o ../build/release/obj/unix/
moc_PartitionWidget.o ../build/release/obj/unix/
moc_ProgressDialog.o ../build/release/obj/unix/moc_WorkerThread.o ../
build/release/obj/unix/moc_DiscDelegate.o ../build/release/obj/unix/
moc_DiscModel.o ../build/release/obj/unix/moc_Driver.o ../build/
release/obj/unix/moc_UIAbout.o ../build/release/obj/unix/
moc_PropertiesDialog.o ../build/release/obj/unix/moc_Properties.o ../
build/release/obj/unix/moc_ListView.o ../build/release/obj/unix/
qrc_resources.o -L/usr/X11R6/lib -L/usr/lib -L/home/operthuis/trunk/
libwbfs/../build -lwbfs -lcrypto -L../../../fresh/build -lfresh -
lpthread -lQtXml -lQtGui -lQtNetwork -lQtCore -lXext -lX11 -lm
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[1]: *** [../bin/qwbfsmanager] Erreur 1
make[1]: quittant le répertoire « /home/operthuis/trunk/qwbfs »
make: *** [sub-qwbfs-make_default-ordered] Erreur 2

Do you have an idea about this problem?

Best regards,

Oliver

Nox PasNox

unread,
Feb 24, 2011, 4:45:52 PM2/24/11
to qwbfs-...@googlegroups.com
I had this bug too with Qt.
You should install xext-dev package to solve this problem.

Regards,

Olivier

unread,
Feb 24, 2011, 9:12:06 PM2/24/11
to qwbfs-discuss
Filipe,

Do you speak about "x11proto-xext-dev" package because I installed it
and I've the same problem.

Best regards,

Oliver

Nox PasNox

unread,
Feb 25, 2011, 2:51:38 AM2/25/11
to qwbfs-...@googlegroups.com
Hello Oliver,

I'm running kubuntu 10.10 64bits.
I checked in my packages, and i have theses installed:

- libxext-dev
- libxext6
- x11-proto-xext-dev

The libext is installed in /usr/lib/libXext.a and /usr/lib/libXext..so.6.4.0

I do a ls -l /usr/lib/libXext*
and result:

/usr/lib/libXext.a /usr/lib/libXext.so /usr/lib/libXext.so.6
/usr/lib/libXext.so.6.4.0
pasnox@pasnox-desktop:~$ ls -l /usr/lib/libXext*
-rw-r--r-- 1 root root 119692 2010-07-13 18:11 /usr/lib/libXext.a
lrwxrwxrwx 1 root root 16 2010-11-17 20:00 /usr/lib/libXext.so ->
libXext.so.6.4.0
lrwxrwxrwx 1 root root 16 2010-11-17 18:44 /usr/lib/libXext.so.6 ->
libXext.so.6.4.0
-rw-r--r-- 1 root root 73600 2010-07-13 18:11 /usr/lib/libXext.so.6.4.0
pasnox@pasnox-desktop:~$

Check you have same things available as well as symlinks.
If i remember i created myself the missing symlinks.

Hoping this time it will be good ;)

Regards, Filipe,

Olivier PERTHUIS

unread,
Feb 26, 2011, 4:29:04 AM2/26/11
to qwbfs-...@googlegroups.com
Filipe,

I didn't have libxext.dev installed on my ubuntu version. Now I compile without problem.

Thanks for your support. I can now test and attempt to work on your powerful tools

Best regards,

Olivier PERTHUIS

Nox PasNox

unread,
Feb 26, 2011, 4:45:53 AM2/26/11
to qwbfs-...@googlegroups.com
Hello Oliver,

Great to know ;)
And if u want to commit code, just ask me and i will add your gmail account as
commiter of the project.

Best Regards, Filipe,

Reply all
Reply to author
Forward
0 new messages