bupticybee / TexasSolver

🚀 A very efficient Texas Holdem GTO solver :spades::hearts::clubs::diamonds:
https://bupticybee.github.io/texassolver_page
GNU Affero General Public License v3.0
1.71k stars 304 forks source link

缺少dll #27

Closed JohnnyLeung996 closed 3 years ago

JohnnyLeung996 commented 3 years ago

windows找不到libgcc_s_seh-1.dll, libwinpthread-1.dll, libgomo-1.dll, libstdc++-6.dll

需要装什么库?

bupticybee commented 3 years ago

这个是我在编译的时候忘记链接这些库了,我晚上寻求一下解决方案

JohnnyLeung996 commented 3 years ago

好的,还有在windows上编译不了

CMake Error at CMakeLists.txt:2 (project): The CMAKE_C_COMPILER:

/usr/local/Cellar/gcc@7/7.5.0_3/bin/gcc-7

is not a full path to an existing compiler tool.

Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:2 (project): The CMAKE_CXX_COMPILER:

/usr/local/Cellar/gcc@7/7.5.0_3/bin/g++-7

is not a full path to an existing compiler tool.

Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

JohnnyLeung996 commented 3 years ago

应该也是缺少库吧

bupticybee commented 3 years ago

I see, 这个需要手动在clion中把编译器选成自己下载的mingw

bupticybee commented 3 years ago

我默认上传的Clion 配置文件是mac用的,/usr/local/Cellar/gcc@7/7.5.0_3/bin/g++-7 这个也很明显是mac的路径,win的路径不长这样,你可能要手动改下

JohnnyLeung996 commented 3 years ago

我找到了一个类似的路径H:\Tools\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\lib\gcc\x86_64-w64-mingw32\8.1.0 但是里面没有bin文件夹,不知道g++-7是什么

1

bupticybee commented 3 years ago

我找到了一个类似的路径H:\Tools\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\lib\gcc\x86_64-w64-mingw32\8.1.0 但是里面没有bin文件夹,不知道g++-7是什么

1

就只需要在clion中把compiler设置成mingw就行,其他的都不需要改,我自然对你的本地文件结构也不了解

bupticybee commented 3 years ago

这个项目已经有两三个人在win上编译成功了,所以肯定是可以编译的

JohnnyLeung996 commented 3 years ago

我用的就是mingw,把CMake options删掉就能编译了,但是编译出来的也是缺少libgcc_s_seh-1.dll, libwinpthread-1.dll, libgomo-1.dll, libstdc++-6.dll

1 2 3 4

bupticybee commented 3 years ago

我用的就是mingw,把CMake options删掉就能编译了,但是编译出来的也是缺少libgcc_s_seh-1.dll, libwinpthread-1.dll, libgomo-1.dll, libstdc++-6.dll

1 2 3 4

你直接使用IDE里边的run option可以用么?这个应该是肯定可以用的才对呀,好多其他人都是这么跑起来的

bupticybee commented 3 years ago

你直接用IDE里边的zhe这个

截屏2021-08-23 下午9 06 39

跑得起来么?

bupticybee commented 3 years ago

windows找不到libgcc_s_seh-1.dll, libwinpthread-1.dll, libgomo-1.dll, libstdc++-6.dll

需要装什么库?

我已经更新了0.1.0版本的windows包,现在应该不会有dll问题了,你尝试一下?

bupticybee commented 3 years ago

Closing because the problem is solved by 0.1.0 release

JohnnyLeung996 commented 3 years ago

非常抱歉,一直没看消息,都可以了。

bupticybee commented 3 years ago

非常抱歉,一直没看消息,都可以了。

赞~感谢使用,欢迎提意见和建议