Comments (7)
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.
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.
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.
[deleted comment]
from qdecimal.
[deleted comment]
from qdecimal.
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.
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)
- QDecDouble::MaxStrSize too small HOT 1
- Redefinition of int_fast16_t on Visual Studio 2015 and 2017
- QDecNumber::toDouble() rounding defect HOT 1
- QDecNumber fails to construct value of DBL_MAX or DBL_MIN HOT 2
- Can't Compile under Microsoft Visual Studio Express 2012 for Windows De3sktop HOT 2
- A comment maybe it's not right
- An "unused parameters" warning HOT 5
- "1 + QDecDouble" causes an odd result without warnings HOT 3
- Rounding Problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qdecimal.