Skip to content
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

Compiling on Windows 10 #73

Open
MarcoMazzo opened this issue Mar 13, 2018 · 7 comments
Open

Compiling on Windows 10 #73

MarcoMazzo opened this issue Mar 13, 2018 · 7 comments

Comments

@MarcoMazzo
Copy link

Hi,
Thanks for this piece of software that is awesome!!
I already used it, the last release work fine.
I would also like to output the orientations in meshlab, NVM or *.out or Apero2Meshlab... they are the same, but they all give me the same error:

CreateProcess failed (2).
make.exe: Error executing 'c:/MicMac64bits/binaire-aux/convert ./angle21DSC05876.JPG ./meshlabRast-MEP/angle21DSC05876.jpg': No such file or directory
make.exe: Error code -1, while making 'Task_0'
FAIL IN :
"c:/MicMac64bits/binaire-aux/windows/make.exe" all -f "./MkConvert10684_419_787_0" -P12 -s

ok i found this http://forum-micmac.forumprod.com/apero2pmvs-and-apero2pnvm-t1457.html and i've tried to compile last code....

i've got this:

PS C:\micmac\build> cmake ../
-- Building for: NMake Makefiles
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "C:/micmac/build/CMakeFiles/CMakeOutput.log".
See also "C:/micmac/build/CMakeFiles/CMakeError.log".

i've installed cmake "cmake-3.11.0-rc3-win64-x64"
and visual studio 2017
Any help
Thanks
Marco

@luc-girod
Copy link
Contributor

Hei,
On Win10, I used the same setup as you, but I set cmake to use the standard compiler for Visual Studio, and it runs fine. Can you try doing that instead of NMake?

@ts35494
Copy link

ts35494 commented Jul 8, 2019

Hello luc-girod,

How to set this standard compiler option ? Which file is to be edited ?

Thanks in advance

@luc-girod
Copy link
Contributor

luc-girod commented Jul 8, 2019

CompileWindows1

Then you need to check the With QT5 box, and link the QT cmake files manually (for some reason, it cmake fails at finding them automatically, but it will show you where to write the path).

No files need editing.

@ts35494
Copy link

ts35494 commented Jul 8, 2019

Thank you for the reply.
I am working with ROS (Robot Operating System) Melodic on Windows 10. When I try to run catkin_make command, it throws weird errors stating the object cannot be found.

ROS_Error

Please help to resolve this issue

@luc-girod
Copy link
Contributor

luc-girod commented Jul 8, 2019 via email

@ts35494
Copy link

ts35494 commented Jul 8, 2019

I try to use it. But I dont understand what it is. Here is another error when I run the same command on my personal computer.

ROS Compiler Path Error

@jsung7
Copy link

jsung7 commented Jan 23, 2020

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants