Comments (10)
I believe this would be the proper fix:
win32-msvc*: {
QMAKE_CXXFLAGS+= -openmp
QMAKE_LFLAGS += -openmp
RC_ICONS = imgs/texassolver_logo.ico
}
win32-g++: {
QMAKE_CXXFLAGS += -fopenmp
QMAKE_LFLAGS += -fopenmp
RC_ICONS = imgs/texassolver_logo.ico
}
win64-msvc*: {
QMAKE_CXXFLAGS+= -openmp
QMAKE_LFLAGS += -openmp
RC_ICONS = imgs/texassolver_logo.ico
}
win64-g++: {
QMAKE_CXXFLAGS += -fopenmp
QMAKE_LFLAGS += -fopenmp
RC_ICONS = imgs/texassolver_logo.ico
}
from texassolver.
I have met the same problem when compiling on Windows
The hack #87 (comment) worked fine for me. However, #87 (comment) doesn't work for me
from texassolver.
I don't think it's the problem of this project. Many have already successfully compiled in windows, please make sure you follow exactly the compile guide in readme.
from texassolver.
I had the same issue when trying to use MinGW. Thus I used MVSC2015 instead, which worked. This is with Qt 5.15.2
Note that this is on the GUI version -- the only compile guide I found was for the console version, is there another one?
from texassolver.
I had the same issue when trying to use MinGW. Thus I used MVSC2015 instead, which worked. This is with Qt 5.15.2
Note that this is on the GUI version -- the only compile guide I found was for the console version, is there another one?
MVSC produce slower executable, don't use it.
make sure you use Mingw64 instead of Mingw32.
For Gui version I didn't actually write the compile guide, you should just set the QT C compiler to mingw64 and you should get the project running.
from texassolver.
I tried both, makes no difference. Issue is in these lines of "Makefile.Release" in the build directory:
release/moc_predefs.h: C:/Qt/5.15.2/mingw81_64/mkspecs/features/data/dummy.cpp
g++ -fno-keep-inline-dllexport -openmp -O2 -Wall -Wextra -Wextra -dM -E -o release\moc_predefs.h C:\Qt\5.15.2\mingw81_64\mkspecs\features\data\dummy.cpp
Error of that g++ call is "cc1plus.exe: error: output filename specified twice" But I don't see where that 2nd specification would come from...
Can you please compare what you have in the makefile, and maybe also provide the resulting release\moc_predefs.h from the subdirectory?
from texassolver.
I think I found the issue in teh .pro file , this fixes it quick and dirty for me:
win32: {
#QMAKE_CXXFLAGS+= -openmp
#QMAKE_LFLAGS += -openmp
QMAKE_CXXFLAGS += -fopenmp
QMAKE_LFLAGS += -fopenmp
RC_ICONS = imgs/texassolver_logo.ico
}
Yes, seems to be faster by 25%, but was so only on the 2nd run onwards. 1st run was actually 20% slower, for whatever reason.
from texassolver.
I believe this would be the proper fix:
win32-msvc*: { QMAKE_CXXFLAGS+= -openmp QMAKE_LFLAGS += -openmp RC_ICONS = imgs/texassolver_logo.ico }
win32-g++: { QMAKE_CXXFLAGS += -fopenmp QMAKE_LFLAGS += -fopenmp RC_ICONS = imgs/texassolver_logo.ico }
win64-msvc*: { QMAKE_CXXFLAGS+= -openmp QMAKE_LFLAGS += -openmp RC_ICONS = imgs/texassolver_logo.ico }
win64-g++: { QMAKE_CXXFLAGS += -fopenmp QMAKE_LFLAGS += -fopenmp RC_ICONS = imgs/texassolver_logo.ico }
I see, will do some tests.
from texassolver.
I have the same problems, (cc1.exe: error: output filename specified twice)
what is the best solution to solve it?
from texassolver.
keyor
try @Endle code
from texassolver.
Related Issues (20)
- Preflop solver? HOT 1
- 我想请问一下如何对默认的范围文件夹路径进行修改 HOT 10
- Add a parameter to simplify actions % for a single combo (Feature Request) HOT 1
- Can I add additional bet sizings? HOT 2
- CUDA HOT 17
- Bug: MacOS version app occupies memory after "solving done" HOT 4
- Warning: QMetaObject::connectSlotsByName: No matching signal for on_XXX_YYY() HOT 1
- Warnings due to comparison of integer expressions of different signedness in for loops
- Running slow on linux HOT 4
- Why does the IP range only contain ATs in the results? HOT 3
- Considering adding a feature to read strategy json files in GUI version? HOT 1
- dict not contain Tx as first symbol HOT 3
- 关于`console_solver`指令 Regarding `console_solver` command HOT 4
- 如何在mac m1上解决编译时候openmp找不到问题? HOT 9
- River Card Input not being shown
- Build from source? HOT 8
- OOP range doesn't match HOT 4
- Error Card length incorrect: 0 in windows HOT 5
- change font colors HOT 1
- EXEC FROM FILE step, how to make it faster HOT 3
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 texassolver.