GithubHelp home page GithubHelp logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
I indeed see this problem with QT 5.2.1 mingw32-make, please advise.

thanks

Original comment by [email protected] on 30 Apr 2014 at 8:55

from qdecimal.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
This is using latest Qt5.2.1 commad prompt which is provided with QT project:

D:\Lähdekoodeja\QDecimal>qmake

D:\Lähdekoodeja\QDecimal>mingw32-make -j4
cd decnumber\ && ( if not exist Makefile C:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin\qmak
e.exe D:\Lõhdekoodeja\QDecimal\decnumber\decnumber.pro -o Makefile ) && 
mingw32-
make -f Makefile
mingw32-make[1]: Entering directory 'D:/Lõhdekoodeja/QDecimal/decnumber'
mingw32-make[1]: *** No rule to make target '../../../Qt/4.8.5/mkspecs/win32-g++
/qmake.conf', needed by 'Makefile'.  Stop.
mingw32-make[1]: Leaving directory 'D:/Lõhdekoodeja/QDecimal/decnumber'
makefile:40: recipe for target 'sub-decnumber-make_first-ordered' failed
mingw32-make: *** [sub-decnumber-make_first-ordered] Error 2

D:\Lähdekoodeja\QDecimal>

Original comment by [email protected] on 30 Apr 2014 at 9:08

from qdecimal.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
Ok I edited the pro files adding to the library:

QT += testlib where there was config += qtestlib

And edited the static to staticlib in qdecimal.pro

This is qt5.2.1 commandprompt output:

D:\Lähdekoodeja\QDecimal>qmake -r
Reading D:/Lõhdekoodeja/QDecimal/decnumber/decnumber.pro
Reading D:/Lõhdekoodeja/QDecimal/src/src.pro
Reading D:/Lõhdekoodeja/QDecimal/test/test.pro

D:\Lähdekoodeja\QDecimal>mingw32-make -j4
cd decnumber\ && ( if not exist Makefile C:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin\qmak
e.exe D:\Lõhdekoodeja\QDecimal\decnumber\decnumber.pro -o Makefile ) && 
mingw32-
make -f Makefile
mingw32-make[1]: Entering directory 'D:/Lõhdekoodeja/QDecimal/decnumber'
mingw32-make -f Makefile.Debug
mingw32-make[2]: Entering directory 'D:/Lõhdekoodeja/QDecimal/decnumber'
mingw32-make[2]: Nothing to be done for 'first'.
mingw32-make[2]: Leaving directory 'D:/Lõhdekoodeja/QDecimal/decnumber'
mingw32-make[1]: Leaving directory 'D:/Lõhdekoodeja/QDecimal/decnumber'
cd src\ && ( if not exist Makefile C:\Qt\Qt5.2.1\5.2.1\mingw48_32\bin\qmake.exe
D:\Lõhdekoodeja\QDecimal\src\src.pro -o Makefile ) && mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'D:/Lõhdekoodeja/QDecimal/src'
mingw32-make -f Makefile.Debug
mingw32-make[2]: Entering directory 'D:/Lõhdekoodeja/QDecimal/src'
g++ -c -pipe -fno-keep-inline-dllexport /Zc:forScope /Zc:wchar_t -g -frtti -Wall
 -Wextra -fexceptions -mthreads -DUNICODE -D_CRT_SECURE_NO_WARNINGS -D_SECURE_SC
L=1 -D_SECURE_SCL_THROWS=1 -DQT_CORE_LIB -I. -I"." -I"..\decnumber" -I"C:\Qt\Qt5
.2.1\5.2.1\mingw48_32\include" -I"C:\Qt\Qt5.2.1\5.2.1\mingw48_32\include\QtCore"
 -I"debug" -I"C:\Qt\Qt5.2.1\5.2.1\mingw48_32\mkspecs\win32-g++" -o debug\QDecCon
text.o QDecContext.cc
g++ -c -pipe -fno-keep-inline-dllexport /Zc:forScope /Zc:wchar_t -g -frtti -Wall
 -Wextra -fexceptions -mthreads -DUNICODE -D_CRT_SECURE_NO_WARNINGS -D_SECURE_SC
L=1 -D_SECURE_SCL_THROWS=1 -DQT_CORE_LIB -I. -I"." -I"..\decnumber" -I"C:\Qt\Qt5
.2.1\5.2.1\mingw48_32\include" -I"C:\Qt\Qt5.2.1\5.2.1\mingw48_32\include\QtCore"
 -I"debug" -I"C:\Qt\Qt5.2.1\5.2.1\mingw48_32\mkspecs\win32-g++" -o debug\QDecDou
ble.o QDecDouble.cc
g++ -c -pipe -fno-keep-inline-dllexport /Zc:forScope /Zc:wchar_t -g -frtti -Wall
 -Wextra -fexceptions -mthreads -DUNICODE -D_CRT_SECURE_NO_WARNINGS -D_SECURE_SC
L=1 -D_SECURE_SCL_THROWS=1 -DQT_CORE_LIB -I. -I"." -I"..\decnumber" -I"C:\Qt\Qt5
.2.1\5.2.1\mingw48_32\include" -I"C:\Qt\Qt5.2.1\5.2.1\mingw48_32\include\QtCore"
 -I"debug" -I"C:\Qt\Qt5.2.1\5.2.1\mingw48_32\mkspecs\win32-g++" -o debug\QDecPac
ked.o QDecPacked.cc
g++ -c -pipe -fno-keep-inline-dllexport /Zc:forScope /Zc:wchar_t -g -frtti -Wall
 -Wextra -fexceptions -mthreads -DUNICODE -D_CRT_SECURE_NO_WARNINGS -D_SECURE_SC
L=1 -D_SECURE_SCL_THROWS=1 -DQT_CORE_LIB -I. -I"." -I"..\decnumber" -I"C:\Qt\Qt5
.2.1\5.2.1\mingw48_32\include" -I"C:\Qt\Qt5.2.1\5.2.1\mingw48_32\include\QtCore"
 -I"debug" -I"C:\Qt\Qt5.2.1\5.2.1\mingw48_32\mkspecs\win32-g++" -o debug\QDecNum
ber.o QDecNumber.cc
g++: error: /Zc:forScope: No such file or directory
g++: error: /Zc:wchar_t: No such file or directory
g++: error: /Zc:forScope: No such file or directory
g++: error: /Zc:wchar_t: No such file or directory
g++: error: /Zc:forScope: No such file or directory
g++: error: /Zc:wchar_t: No such file or directory
g++: error: /Zc:forScope: No such file or directory
g++: error: /Zc:wchar_t: No such file or directory
Makefile.Debug:207: recipe for target 'debug/QDecContext.o' failed
mingw32-make[2]: *** [debug/QDecContext.o] Error 1
mingw32-make[2]: *** Waiting for unfinished jobs....
Makefile.Debug:301: recipe for target 'debug/QDecDouble.o' failed
mingw32-make[2]: *** [debug/QDecDouble.o] Error 1
Makefile.Debug:466: recipe for target 'debug/QDecNumber.o' failed
mingw32-make[2]: *** [debug/QDecNumber.o] Error 1
Makefile.Debug:370: recipe for target 'debug/QDecPacked.o' failed
mingw32-make[2]: *** [debug/QDecPacked.o] Error 1
mingw32-make[2]: Leaving directory 'D:/Lõhdekoodeja/QDecimal/src'
Makefile:34: recipe for target 'debug' failed
mingw32-make[1]: *** [debug] Error 2
mingw32-make[1]: Leaving directory 'D:/Lõhdekoodeja/QDecimal/src'
makefile:83: recipe for target 'sub-src-make_first-ordered' failed
mingw32-make: *** [sub-src-make_first-ordered] Error 2

D:\Lähdekoodeja\QDecimal>

Original comment by [email protected] on 30 Apr 2014 at 9:18

from qdecimal.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
[deleted comment]

from qdecimal.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
[deleted comment]

from qdecimal.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 30, 2024
I say also that I was using MinGW Qt5.2.1 SDK and operating system is Windows 7 
64bit ultimate altho qt is 32bit sdk.


Original comment by [email protected] on 30 Apr 2014 at 10:19

from qdecimal.

semihc avatar semihc commented on August 30, 2024

On Windows we primarily use MS Visual C++. mingw is unsupported. Having said that since we have passing linux build, and since mingw is based on gcc, it is highly likely that QDecimal compiles with mingw. We now have scons based build system. Please use scons to compile the project with mingw. If it still fails, i will reopen this ticket.

from qdecimal.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.