-
Notifications
You must be signed in to change notification settings - Fork 56
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
Compile on Windows #4
Comments
Compiling always is in trouble! i can't help u ,sorry, Trying to again ! |
Well since I am using submodules, the version in ext/glfw should be exactly the same that I have. The only thing I can think of is an incompatibility with that (old) glfw version with a newer cmake version, hence the warning with setting a new policy because some variable was deprecated. What cmake version are you using? |
Does this help: http://www.glfw.org/docs/latest/compile_guide.html Otherwise, instead of compiling glfw on windows using cmake, you could try to just use their precompiled .dlls downloadable here: http://www.glfw.org/download.html. They have dlls for multiple versions of the MSVC as well as the MinGW compiler, which one are you using? |
Hi everybody,
|
Hello, I don't quite understand how you solved the third question, I am very difficult to deal with this problem now |
I saw you have recently updated this, but I still have an issue in cmake with the gflw external:
---------------GLFW-------------------
Looking for pthread.h
Looking for pthread.h - not found
Found Threads: TRUE
Could NOT find Vulkan (missing: VULKAN_LIBRARY VULKAN_INCLUDE_DIR)
Using Win32 for window creation
CMake Error at ext/glfw/CMakeLists.txt:403 (install):
install INSTALL(EXPORT) given keyword "EXPORT_LINK_INTERFACE_LIBRARIES",
but target "glfw" does not have policy CMP0022 set to NEW.
This may be an issue with which version gets downloaded into the /ext folder ?
Can you help ?
BTW - I used vcpkg to build ceres (very easy), and then just make sure you have the -DTOOLCHAIN flag set in cmake to point to vcpk when building the solution. This makes the Ceres issue on Windows a pice of cake!
The text was updated successfully, but these errors were encountered: