Closed JohnnyLeung996 closed 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.
应该也是缺少库吧
I see, 这个需要手动在clion中把编译器选成自己下载的mingw
我默认上传的Clion 配置文件是mac用的,/usr/local/Cellar/gcc@7/7.5.0_3/bin/g++-7 这个也很明显是mac的路径,win的路径不长这样,你可能要手动改下
我找到了一个类似的路径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是什么
我找到了一个类似的路径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是什么
就只需要在clion中把compiler设置成mingw就行,其他的都不需要改,我自然对你的本地文件结构也不了解
这个项目已经有两三个人在win上编译成功了,所以肯定是可以编译的
我用的就是mingw,把CMake options删掉就能编译了,但是编译出来的也是缺少libgcc_s_seh-1.dll, libwinpthread-1.dll, libgomo-1.dll, libstdc++-6.dll
我用的就是mingw,把CMake options删掉就能编译了,但是编译出来的也是缺少libgcc_s_seh-1.dll, libwinpthread-1.dll, libgomo-1.dll, libstdc++-6.dll
你直接使用IDE里边的run option可以用么?这个应该是肯定可以用的才对呀,好多其他人都是这么跑起来的
你直接用IDE里边的zhe这个
跑得起来么?
windows找不到libgcc_s_seh-1.dll, libwinpthread-1.dll, libgomo-1.dll, libstdc++-6.dll
需要装什么库?
我已经更新了0.1.0版本的windows包,现在应该不会有dll问题了,你尝试一下?
Closing because the problem is solved by 0.1.0 release
非常抱歉,一直没看消息,都可以了。
非常抱歉,一直没看消息,都可以了。
赞~感谢使用,欢迎提意见和建议
windows找不到libgcc_s_seh-1.dll, libwinpthread-1.dll, libgomo-1.dll, libstdc++-6.dll
需要装什么库?