Building the Project #20
Replies: 3 comments 4 replies
-
Hello! Please, try this (in the project's top-level directory): git submodule update --init Then try to configure and build project with CMake |
Beta Was this translation helpful? Give feedback.
-
Hey thanks for the quick response! Updating dependencies have definitely brought the building process a step forward, but i am not quite there yet .) I am not sure what type of configuration i needed to make. I just built it from the main directory where the CFileList.txt was. Here is current version of the log CMake Warning: "F:/Programming/Projects/meov/build" -- Building for: Visual Studio 17 2022 Could not find a package configuration file provided by "CMakeFiles" with
Add the installation prefix of "CMakeFiles" to CMAKE_PREFIX_PATH or set -- The C compiler identification is MSVC 19.34.31933.0 Update the VERSION argument value or use a ... suffix to tell CMake Warning (dev) at dependencies/glbinding/CMakeLists.txt:47 (include): This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.29/Modules/WriteCompilerDetectionHeader.cmake:380 (message): -- External KHRplatform Update the VERSION argument value or use a ... suffix to tell CMake Deprecation Warning at dependencies/glm/CMakeLists.txt:2 (cmake_policy): Update the VERSION argument value or use a ... suffix to tell CMake Deprecation Warning at dependencies/plog/CMakeLists.txt:1 (cmake_minimum_required): Update the VERSION argument value or use a ... suffix to tell CMake Error at dependencies/sdl/CMakeLists.txt:2 (message): -- Configuring incomplete, errors occurred! I guess it can not find the glfw3 library. Should i download it and copy somewhere? |
Beta Was this translation helpful? Give feedback.
-
Heyy that helped, thanks a lot. I am not that familiar with cmake used it couple times before so i couldn't understand what the matter was. Now its been built and project opens. however i can not execute it .D It says access is denied for some reason. Whether it is Debug mode or Release mode i get the same error. Done a google search but i couldnt find a solution yet. Maybe windows somehow detects thread and refuses to run it. But apart from it everything is ok. I will try to find a workaround- if you have any idea on this as well it is greatly appreciated. Thanks a lot buddy |
Beta Was this translation helpful? Give feedback.
-
Hey guys! I am really interested in your meov project and wanted to look at it for myself. Unfortunately i couldnt bring CMake to work. I donw know if you are still supporting this project and could help me but i would really appreciate it.
Here is the entire build log.
-- Building for: Visual Studio 17 2022
-- The CXX compiler identification is MSVC 19.34.31933.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.34.31933/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at dependencies/CMakeLists.txt:15 (find_package):
By not providing "Findassimp.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "assimp", but
CMake did not find one.
Could not find a package configuration file provided by "assimp" with any
of the following names:
Add the installation prefix of "assimp" to CMAKE_PREFIX_PATH or set
"assimp_DIR" to a directory containing one of the above files. If "assimp"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
dependencies/CMakeLists.txt:28 (add_dependency)
CMake Warning at dependencies/CMakeLists.txt:15 (find_package):
By not providing "Findglbinding.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"glbinding", but CMake did not find one.
Could not find a package configuration file provided by "glbinding" with
any of the following names:
Add the installation prefix of "glbinding" to CMAKE_PREFIX_PATH or set
"glbinding_DIR" to a directory containing one of the above files. If
"glbinding" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
dependencies/CMakeLists.txt:28 (add_dependency)
CMake Warning at dependencies/CMakeLists.txt:15 (find_package):
By not providing "Findglm.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "glm", but
CMake did not find one.
Could not find a package configuration file provided by "glm" with any of
the following names:
Add the installation prefix of "glm" to CMAKE_PREFIX_PATH or set "glm_DIR"
to a directory containing one of the above files. If "glm" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
dependencies/CMakeLists.txt:28 (add_dependency)
CMake Warning at dependencies/CMakeLists.txt:15 (find_package):
By not providing "Findplog.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "plog", but
CMake did not find one.
Could not find a package configuration file provided by "plog" with any of
the following names:
Add the installation prefix of "plog" to CMAKE_PREFIX_PATH or set
"plog_DIR" to a directory containing one of the above files. If "plog"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
dependencies/CMakeLists.txt:28 (add_dependency)
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to
find_package_handle_standard_args
(SDL) doesnot match the name of the calling package (sdl). This can lead to problems
in calling code that expects
find_package
result variables (e.g.,_FOUND
) to follow a certain pattern.Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.29/Modules/FindSDL.cmake:224 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
dependencies/CMakeLists.txt:15 (find_package)
dependencies/CMakeLists.txt:28 (add_dependency)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)
-- Load module: benchmark
-- Configuring done (2.9s)
CMake Error at cmake/FindPackages/Findimgui.cmake:19 (add_library):
Cannot find source file:
Call Stack (most recent call first):
dependencies/CMakeLists.txt:15 (find_package)
dependencies/CMakeLists.txt:28 (add_dependency)
CMake Error at cmake/FindPackages/Findimgui_filedialog.cmake:7 (add_library):
Cannot find source file:
Call Stack (most recent call first):
dependencies/CMakeLists.txt:15 (find_package)
dependencies/CMakeLists.txt:28 (add_dependency)
CMake Error at cmake/FindPackages/Findimgui.cmake:19 (add_library):
No SOURCES given to target: deps_imgui
Call Stack (most recent call first):
dependencies/CMakeLists.txt:15 (find_package)
dependencies/CMakeLists.txt:28 (add_dependency)
CMake Error at cmake/FindPackages/Findimgui_filedialog.cmake:7 (add_library):
No SOURCES given to target: deps_imgui_filedialog
Call Stack (most recent call first):
dependencies/CMakeLists.txt:15 (find_package)
dependencies/CMakeLists.txt:28 (add_dependency)
CMake Generate step failed. Build files cannot be regenerated correctly.
Beta Was this translation helpful? Give feedback.
All reactions