Page 1 of 2
compilation error
Posted: Sat Aug 13, 2016 1:48 am
by sioc
I use windows 10, I installed the latest QT dev kit, I installed Git Hub and syncronised.
On compilation i got that error :
00:02:26: Exécution des étapes pour le projet rolisteam...
00:02:26: Configuration inchangée, étape qmake sautée.
00:02:26: Débute : "F:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"
F:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'C:/Users/sioc/Documents/GitHub/build-rolisteam-Desktop_Qt_5_7_0_MinGW_32bit-Debug'
mingw32-make[1]: Leaving directory 'C:/Users/sioc/Documents/GitHub/build-rolisteam-Desktop_Qt_5_7_0_MinGW_32bit-Debug'
mingw32-make[1]: *** No rule to make target 'C:/Users/sioc/Documents/GitHub/rolisteam/../../lib/zlibapi/dll32/zlibwapi.lib', needed by 'debug\bin\rolisteam.exe'. Stop.
Makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
00:02:27: Le processus "F:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" s'est terminé avec le code 2.
Erreur lors de la compilation/déploiement du projet rolisteam (kit : Desktop Qt 5.7.0 MinGW 32bit)
When executing step "Make"
00:02:27: Temps écoulé : 00:01.
Re: compilation error
Posted: Sat Aug 13, 2016 1:19 pm
by renaud
You have to install the zlib into the project: you can find all you need here :
http://blog.rolisteam.org/file/zlibapi.zip.
Unzip the archive, to fit the path 'C:/Users/sioc/Documents/GitHub/rolisteam/../../lib/zlibapi/dll32/zlibwapi.lib'.
And you should be good.
Re: compilation error
Posted: Sat Aug 13, 2016 2:06 pm
by sioc
Thanks, ok for that part, now I get :
on compile : error
C:\Users\sioc\Documents\GitHub\rolisteam\src\data\character.h:26: erreur : charactersheet/charactersheet.h: No such file or directory
I checked, the charactersheet.h is nowhere in the repository...
Re: compilation error
Posted: Sat Aug 13, 2016 3:30 pm
by renaud
this file is part of
https://github.com/Rolisteam/RCharacterSheet submodule.
You may not have taken all the submodule from the repository.
Re: compilation error
Posted: Sat Aug 13, 2016 4:43 pm
by sioc
Right....
Could you say what to do with them after ?
I tried to figure out where to move them inside rolisteam tree and I end with that :
C:\Users\sioc\Documents\Rolisteam-to-compile\rolisteam\src\chat\chatlist.cpp:280: erreur : 'class MainWindow' has no member named 'registerSubWindow'
QMdiSubWindow* subWindowChat = static_cast<QMdiSubWindow*>(m_mainWindow->registerSubWindow(chatw,chatw->toggleViewAction()));
^
Thanks
Re: compilation error
Posted: Sun Aug 14, 2016 12:40 am
by renaud
This error is really strange because it exists.
See the line 714 of the mainwindow.cpp file:
https://github.com/Rolisteam/rolisteam/ ... window.cpp
Rolisteam uses 3 differents submodules:
-src/charactersheet : code about charactersheet management (new feature in 1.8), and it is shared with RCSE (Rolisteam Character Sheet Editor), a simple software to create charactersheet.
-src/diceparser : code about the dice system.
-src/widgets/gmtoolbox : new little feature about name generator and unit convertor.
-You may remove your current git clone and clone it again by commandline : using this command:
Code: Select all
git clone --recursive git@github.com:Rolisteam/rolisteam.git
Or your own clone.
PS: you may speak in french, if you want.
Re: compilation error
Posted: Sun Aug 14, 2016 3:38 pm
by sioc
For the git clone :
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
My git public key :
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrdsQqBtUZoQaQURWWDp/am8Lq/i7ivRZ/BGKu8F8qDxHP1dkzl/UNjVcHkiZfGFTcZyJPszOwzFqRmmNsU5vhLAhSojbWaoHYMFsfgsA3qmK2XsD2kzCxSz3T/TxAvwK3TSn1GBHLeXrHMrECAp0LULWbHdduBy8k15QvG1tBSuJ+oKr7wUaFa/PwFGzWbZgs79nO7S36zB6WmpXvz8WekOUA3/YVeJ17PnpryPn/REBTXqzyobOQ4/Vf5udAuI39aLBnr4MVZX66QOnUGrL5aNT/VxODQrwzD1mv0vrHfS4/dcI5jXawyAX8BLXWwF+1kyuqO/UhEgXZvMn//EhX sioc@Nestor-XIII
Re: compilation error
Posted: Sun Aug 14, 2016 4:19 pm
by renaud
I sent you invitation for the group rolisteam. After accepting you may add your own key and do what ever you want. I hope so.
The best solution is to change submodule path from git url to http url.
see:
http://stackoverflow.com/questions/8197 ... -using-git
Re: compilation error
Posted: Thu Aug 18, 2016 4:06 am
by sioc
Ok, that's better.
the new one :
Code: Select all
RCC: Error in '..\rolisteam\rolisteam.qrc': Cannot find file 'translations/rolisteam_fr.qm'
Makefile.Debug:977: recipe for target 'debug/qrc_rolisteam.cpp' failed
mingw32-make[1]: Leaving directory 'C:/Users/sioc/Documents/GitHub/build-rolisteam-Desktop_Qt_5_7_0_MinGW_32bit-Debug'
mingw32-make[1]: *** [debug/qrc_rolisteam.cpp] Error 1
Makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
23:56:30: The process "F:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project rolisteam (kit: Desktop Qt 5.7.0 MinGW 32bit)
When executing step "Make"
Re: compilation error
Posted: Thu Aug 18, 2016 7:39 pm
by renaud
The translation has not been generated:
You can find documentation about compilation on Linux there:
http://wiki.rolisteam.org/index.php/CompilationLinux