At first when I ran the cmake command, I kept getting an error that it could not find CXX and C compilers. I fixed that by adding the following code to CMakeLists.txt. It was an error like this
Once I run the cmake command again, I ran into this error:
C:\MicMac\build>cmake ..\
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:6 (project):
Running
'nmake' '-?'
failed with:
The system cannot find the file specified
-- Configuring incomplete, errors occurred!
See also "C:/MicMac/build/CMakeFiles/CMakeOutput.log".
I fixed that by running from MicMac folder:
cmake -G "MinGW Makefiles"
I now keep running into this error or rather warning:
-- -----> Compile with c++11 support
-- -- FLAG: -std=c++11
-- -- Git executable found
-- Derniere revision git de MicMac : v1.0.beta14-575-g1ef44c6a3-dirty
-- PoissonRecon/SurfaceTrimmer: OpenMP enabled
-- Configuring done
CMake Warning (dev) at src/CMakeLists.txt:170 (add_library):
Policy CMP0115 is not set: Source file extensions must be explicit. Run
"cmake --help-policy CMP0115" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
File:
C:/MicMac/src/TpMMPD/TiePByMesh/PackHomolToPly_main.cpp
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: C:/MicMac
No build files are created, build folder is empty, and only thing created is a Makefile under C:/MicMac
Hi there,
I am trying to setup MicMac on a fresh Windows install.
I followed the steps under windows https://github.com/micmacIGN/micmac#compiling-process-for-visual-c-windows
At first when I ran the
cmake
command, I kept getting an error that it could not findCXX
andC
compilers. I fixed that by adding the following code toCMakeLists.txt
. It was an error like thisOnce I run the
cmake
command again, I ran into this error:I fixed that by running from
MicMac
folder:I now keep running into this error or rather warning:
No build files are created, build folder is empty, and only thing created is a
Makefile
underC:/MicMac
Any help or direction would be much appreciated.