Compiling ryzom_configuration_qt failed #1

Closed
opened 5 years ago by heernis · 2 comments
heernis commented 5 years ago (Migrated from gitlab.com)

I got an error when compliling -DWITH_RYZOM_CLIENT=ON with -DWITH_QT=ON . If I turn off "WITH_QT" it works. Also when I turn off "WITH_RYZOM_CLIENT".

Seems to be a problem with QT and and the "ryzom_configuration_qt".

heernis@heernis-lubuntu:/data/src/ryzom/gitlab/ryzom-core/code/build$ cmake -DWITH_LUA51=OFF -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_TOOLS=ON -DWITH_RYZOM_CLIENT=ON -DWITH_DRIVER_OPENGL=ON -DWITH_SOUND=ON -DWITH_DRIVER_DSOUND=OFF -DWITH_DRIVER_OPENAL=ON -DWITH_QT=ON -DWITH_NEL=ON -DWITH_PCH=OFF -DWITH_3D=ON -DWITH_PACS=ON -DWITH_GEORGES=ON -DWITH_LIGO=ON -DWITH_LOGIC=ON ..
Scanning dependencies of target ryzom_client_patcher
[ 67%] Building CXX object ryzom/tools/client/client_patcher/CMakeFiles/ryzom_client_patcher.dir/main.cpp.o
[ 67%] Linking CXX executable ../../../bin/patch_gen_service
[ 67%] Built target patch_gen_service
make[2]: *** Keine Regel vorhanden, um das Ziel „ryzom/tools/client/client_config_qt/qtbase_de.qm“, 
  benötigt von „ryzom/tools/client/client_config_qt/qrc_translations.cxx“, zu erstellen.  Schluss.
CMakeFiles/Makefile2:7970: die Regel für Ziel „ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all“ scheiterte
make[1]: *** [ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all] Fehler 2
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
[ 67%] Building CXX object ryzom/tools/client/client_patcher/CMakeFiles/ryzom_client_patcher.dir/__/__/__/client/src/user_agent.cpp.o
[ 67%] Linking CXX executable ../../../../bin/ryzom_client_patcher
[ 67%] Built target ryzom_client_patcher
Makefile:149: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2

At this point in code/build/CMakeFiles/Makefile2:

# Target rules for target ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir

# All Build rule for target.
ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all: nel/3rdparty/seven_zip/CMakeFiles/nel_sevenzip.dir/all
ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all: nel/src/misc/CMakeFiles/nelmisc.dir/all
ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all: nel/src/3d/CMakeFiles/nel3d.dir/all
	$(MAKE) -f ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/build.make ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/depend
	$(MAKE) -f ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/build.make ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/build
	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/data/src/ryzom/gitlab/ryzom-core/code/build/CMakeFiles --progress-num=80,81,82,83 "Built target ryzom_configuration_qt"
.PHONY : ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all

I added by hand "qtbase_de.qm, qtbase_es.qm, qtbase_fr.qm, qtbase_en.qm, qtbase_ru.qm" to /data/src/ryzom/gitlab/ryzom-core/code/build/ryzom/tools/client/client_config_qt/

That solved it.

Shouldn't the qtbase_qq.qm files be copied automatically or preexist?

heernis@heernis-lubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial
heernis@heernis-lubuntu:~$ uname -a
Linux heernis-lubuntu 4.15.0-72-generic #81~16.04.1-Ubuntu SMP Tue Nov 26 16:34:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
heernis@heernis-lubuntu:~$ qmake --version
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu
heernis@heernis-lubuntu:~$ qmake-qt4 --version
QMake version 2.01a
Using Qt version 4.8.7 in /usr/lib/x86_64-linux-gnu

I got an error when compliling -DWITH_RYZOM_CLIENT=ON with -DWITH_QT=ON . If I turn off "WITH_QT" it works. Also when I turn off "WITH_RYZOM_CLIENT". Seems to be a problem with QT and and the "ryzom_configuration_qt". ``` heernis@heernis-lubuntu:/data/src/ryzom/gitlab/ryzom-core/code/build$ cmake -DWITH_LUA51=OFF -DWITH_RYZOM_SERVER=ON -DWITH_RYZOM_TOOLS=ON -DWITH_RYZOM_CLIENT=ON -DWITH_DRIVER_OPENGL=ON -DWITH_SOUND=ON -DWITH_DRIVER_DSOUND=OFF -DWITH_DRIVER_OPENAL=ON -DWITH_QT=ON -DWITH_NEL=ON -DWITH_PCH=OFF -DWITH_3D=ON -DWITH_PACS=ON -DWITH_GEORGES=ON -DWITH_LIGO=ON -DWITH_LOGIC=ON .. ``` ``` Scanning dependencies of target ryzom_client_patcher [ 67%] Building CXX object ryzom/tools/client/client_patcher/CMakeFiles/ryzom_client_patcher.dir/main.cpp.o [ 67%] Linking CXX executable ../../../bin/patch_gen_service [ 67%] Built target patch_gen_service make[2]: *** Keine Regel vorhanden, um das Ziel „ryzom/tools/client/client_config_qt/qtbase_de.qm“, benötigt von „ryzom/tools/client/client_config_qt/qrc_translations.cxx“, zu erstellen. Schluss. CMakeFiles/Makefile2:7970: die Regel für Ziel „ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all“ scheiterte make[1]: *** [ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all] Fehler 2 make[1]: *** Auf noch nicht beendete Prozesse wird gewartet … [ 67%] Building CXX object ryzom/tools/client/client_patcher/CMakeFiles/ryzom_client_patcher.dir/__/__/__/client/src/user_agent.cpp.o [ 67%] Linking CXX executable ../../../../bin/ryzom_client_patcher [ 67%] Built target ryzom_client_patcher Makefile:149: die Regel für Ziel „all“ scheiterte make: *** [all] Fehler 2 ``` At this point in code/build/CMakeFiles/Makefile2: ``` # Target rules for target ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir # All Build rule for target. ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all: nel/3rdparty/seven_zip/CMakeFiles/nel_sevenzip.dir/all ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all: nel/src/misc/CMakeFiles/nelmisc.dir/all ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all: nel/src/3d/CMakeFiles/nel3d.dir/all $(MAKE) -f ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/build.make ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/depend $(MAKE) -f ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/build.make ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/build @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/data/src/ryzom/gitlab/ryzom-core/code/build/CMakeFiles --progress-num=80,81,82,83 "Built target ryzom_configuration_qt" .PHONY : ryzom/tools/client/client_config_qt/CMakeFiles/ryzom_configuration_qt.dir/all ``` I added by hand "qtbase_de.qm, qtbase_es.qm, qtbase_fr.qm, qtbase_en.qm, qtbase_ru.qm" to /data/src/ryzom/gitlab/ryzom-core/code/build/ryzom/tools/client/client_config_qt/ That solved it. Shouldn't the qtbase_qq.qm files be copied automatically or preexist? ``` heernis@heernis-lubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial ``` ``` heernis@heernis-lubuntu:~$ uname -a Linux heernis-lubuntu 4.15.0-72-generic #81~16.04.1-Ubuntu SMP Tue Nov 26 16:34:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux ``` ``` heernis@heernis-lubuntu:~$ qmake --version QMake version 3.0 Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu heernis@heernis-lubuntu:~$ qmake-qt4 --version QMake version 2.01a Using Qt version 4.8.7 in /usr/lib/x86_64-linux-gnu ```
bensaine commented 3 years ago (Migrated from gitlab.com)

still relevant? @heernis

still relevant? @heernis
heernis commented 3 years ago (Migrated from gitlab.com)

@bensaine I fully forgot about that. However... It is not relevant anymore. I will close it.

@bensaine I fully forgot about that. However... It is not relevant anymore. I will close it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Ryzom/ryzom-core#1
Loading…
There is no content yet.