Bonjour,
Depuis près d'une semaine j'essaie de compiler QxOrm en vingt!
Je suis arrivé à un niveau où il me donne une erreur que je ne comprend pas vraiment lorsque j'execute la commande "qmake" puis "mingw32-make" il me donne ça:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 C:\Users\user\Desktop\QxOrm>mingw32-make mingw32-make -f Makefile.Release mingw32-make[1]: Entering directory 'C:/Users/user/Desktop/QxOrm' g++ -export-all-symbols -Wl,-enable-auto-import -Wl,-s -shared -mthreads -Wl,--o ut-implib,release\libQxOrm.a -o release\QxOrm.dll object_script.QxOrm.Release - LC:/Users/user/Desktop/boost_1_54/lib_shared C:/Users/user/Desktop/boost_1_54/li b_shared -lboost_serialization-vc110-mt-1_54 -LC:\Qt\Qt5.0.1\5.0.1\mingw47_32\li b -lQt5Widgets -lQt5Sql -lQt5Xml -lQt5Network -lQt5Gui -lQt5Core -llibEGL -llibG LESv2 -lgdi32 -luser32 c:/qt/qt5.0.1/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686 -w64-mingw32/bin/ld.exe: cannot find C:/Users/user/Desktop/boost_1_54/lib_shared : Permission denied collect2.exe: error: ld returned 1 exit status Makefile.Release:254: recipe for target 'release\QxOrm.dll' failed mingw32-make[1]: *** [release\QxOrm.dll] Error 1 mingw32-make[1]: Leaving directory 'C:/Users/user/Desktop/QxOrm' makefile:34: recipe for target 'release' failed mingw32-make: *** [release] Error 2
il me dit "Permission denied" pourtant j'ai bien ouvert la console en mode administrateur.
Et j'ai suivi toutes les étapes qu'on m'a donné:
1- Download and install Qt 4.8 (or Qt5) for MSVC2010 (or other) ;
2- Add Qt 'bin' directory to the PATH of Windows ;
3- Download my boost 1.54 package and unzip it : http://www.qxorm.com/lib/boost_1_54.zip ;
4- Add 'lib_shared' directory from my boost package to the PATH of Windows ;
5- Download QxOrm package and unzip it ;
6- Open 'QxOrm.pri' file and modify boost parameters (QX_BOOST_INCLUDE_PATH, QX_BOOST_LIB_PATH, etc.) ;
7- Open './test/qxBlog/qxBlog.sln' for example with MSVC2010, then try to build it and execute it ;
8- Test all examples from './test/' directory of QxOrm package.
PS: j'utilise Qt 5.0.1 - QxOrm 1.2.5 - boost 1.54
Merci.
Partager