-
Notifications
You must be signed in to change notification settings - Fork 722
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
CMake re-configuration fails in Windows #70
Comments
can you please advise on the way you generate proejcts? I also use VC2015, but got error:
|
I'm sorry if misunderstanding, did you successfully install c/c++ compiler? In my memory, CMake tries to compile some c/c++ sources in order to check the compiler. But in your log, it seems that the the compiling failed. How about checking whether CMake correctly works? Sorry, I forgot CMake version, maybe 3.4...? |
However I have problems when compiling these VC projects. Below is the error message when build sioclient.vcxproj
|
See http://stackoverflow.com/questions/32969289/error-in-websocketpp-library-and-boost-in-windows-visual-studio-2015 introduced in #81. You have to modify WEBSOCKETPP_NOEXCEPT definition in websocketpp. The latest websocketpp works well with VC2015, but I think this library uses an old one. |
Thank you for your pointer, I followed that, and successfully build CMake projects by updating websocketapp to version (zaphoyd/websocketpp@378437a) |
As to the issues you mentioned in top post, did you tried adding -DCMAKE_BUILD_TYPE=Release to your CMake command line? Looking at the output, it seems to be a Release vs Debug issue. 1> -- not define build type, set to release |
Maybe I didn't try that. Sure, it seems to be Release vs Debug issue, but I didn't sure why both of |
Hi, have there been any updates on this issue? The new versions of this library do not require CMake anymore |
Closing due to lack of reply |
I'm using Visual Studio 2015.
At first time, CMake successfully configured and generated projects.
However, re-configuring fails after editing CMakeLists.txt.
Boost_LIBRARIES
containsoptimized/debug
keywords byfind_package()
. So I think that configuring fails.The text was updated successfully, but these errors were encountered: