-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not worked on MacOS with CLion CMake #1
Comments
I really liked the idea, but now I need to run it on a macos as well |
I tried |
I'm not really familliar with CLion, maybe they change the environment and it messes with the build? Please attach '/Users/username/projects/wx_cmake_template/cmake-build-debug/subprojects/Stamp/wxWidgets_external/wxWidgets_external-build-*.log' files and maybe we can figure something out. Glad it works in "raw" cmake, without CLion. |
wxWidgets_external-build-err.log /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../lib/libwxpng-3.1.a(arm_init.c.o) has no symbols |
I am getting similar issue in clion ====================[ Build | wx_cmake_template_core | Debug ]================== -- Configuring incomplete, errors occurred! |
To resolve the issue, I used brew to install latest cmake and pointed CLion ToolChain for CMake to that. I also used the latest wxWidgets and modified the version in the CMakeLists.txt. This then compiled fine. |
Hello lszl84! You did great work, I viewed all your materials on youtube with wxWidgets, thank you bro. sorry, can You please make settings for CLION also? |
When I try build on MacOS (after update, v11.2), I get error:
[ 6%] Performing download step (git clone) for 'wxWidgets_external'
Cloning into 'wxWidgets_external'...
remote: Enumerating objects: 243, done.
remote: Counting objects: 100% (243/243), done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 824844 (delta 128), reused 162 (delta 90), pack-reused 824601
Receiving objects: 100% (824844/824844), 325.57 MiB | 613.00 KiB/s, done.
Resolving deltas: 100% (687446/687446), done.
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule '3rdparty/catch' (https://github.com/wxWidgets/Catch.git) registered for path '3rdparty/catch'
Submodule 'src/expat' (https://github.com/wxWidgets/libexpat.git) registered for path 'src/expat'
Submodule 'src/jpeg' (https://github.com/wxWidgets/libjpeg-turbo.git) registered for path 'src/jpeg'
Submodule 'src/png' (https://github.com/wxWidgets/libpng.git) registered for path 'src/png'
Submodule 'src/tiff' (https://github.com/wxWidgets/libtiff.git) registered for path 'src/tiff'
Submodule 'src/zlib' (https://github.com/wxWidgets/zlib.git) registered for path 'src/zlib'
Cloning into '/Users/username/projects/wx_cmake_template/cmake-build-debug/subprojects/Source/wxWidgets_external/3rdparty/catch'...
Cloning into '/Users/username/projects/wx_cmake_template/cmake-build-debug/subprojects/Source/wxWidgets_external/src/expat'...
Cloning into '/Users/username/projects/wx_cmake_template/cmake-build-debug/subprojects/Source/wxWidgets_external/src/jpeg'...
Cloning into '/Users/username/projects/wx_cmake_template/cmake-build-debug/subprojects/Source/wxWidgets_external/src/png'...
Cloning into '/Users/username/projects/wx_cmake_template/cmake-build-debug/subprojects/Source/wxWidgets_external/src/tiff'...
Cloning into '/Users/username/projects/wx_cmake_template/cmake-build-debug/subprojects/Source/wxWidgets_external/src/zlib'...
Submodule path '3rdparty/catch': checked out 'ee4acb6ae6e32a02bc012d197aa82b1ca7a493ab'
Submodule path 'src/expat': checked out 'adaa0c379b92fb962db0dd8363c1e4e2d4e7a060'
Submodule path 'src/jpeg': checked out '852493611506076fd9ad931d35bf1c3cc5b5a9c3'
Submodule path 'src/png': checked out '9853c67ab43053b1bbe05edde3dc12854d48b158'
Submodule path 'src/tiff': checked out '28ce1ef089a099334920a2d12698fa6354e30247'
Submodule path 'src/zlib': checked out '5888671274cde770edbe683b435f052de2b03681'
[ 12%] No patch step for 'wxWidgets_external'
[ 18%] No update step for 'wxWidgets_external'
[ 25%] Performing configure step for 'wxWidgets_external'
-- wxWidgets_external configure command succeeded. See also /Users/username/projects/wx_cmake_template/cmake-build-debug/subprojects/Stamp/wxWidgets_external/wxWidgets_external-configure-*.log
[ 31%] Performing build step for 'wxWidgets_external'
CMake Error at /Users/username/projects/wx_cmake_template/cmake-build-debug/subprojects/Stamp/wxWidgets_external/wxWidgets_external-build-Debug.cmake:49 (message):
Command failed: 2
'/Applications/Xcode.app/Contents/Developer/usr/bin/make'
See also
make[3]: *** [subprojects/Stamp/wxWidgets_external/wxWidgets_external-build] Error 1
make[2]: *** [thirdparty/wxwidgets/CMakeFiles/wxWidgets_external.dir/all] Error 2
make[1]: *** [CMakeFiles/wx_cmake_template_core.dir/rule] Error 2
make: *** [wx_cmake_template_core] Error 2
The text was updated successfully, but these errors were encountered: