openMVG: SfMWebGLViewer: compile error gcc 7.2 (Fedora 26)

Bonjour Pierre,

First of all, thanks for the continuously improving project!

I checked the open issues but I did not see the following issue. A compile error occurs in src/software/SfMWebGLViewer/openMVG_main_openMVG2WebGL.cpp:

/builddir/build/BUILD/openMVG-master/src/software/SfMWebGLViewer/openMVG_main_openMVG2WebGL.cpp:381:98: error: 'OPENMVG_SFM_WEBGL_SRC_PATH' was not declared in this scope const std::string inputFilename1 = stlplus::create_filespec( stlplus::folder_append_separator( OPENMVG_SFM_WEBGL_SRC_PATH ) + inputFolder , inputName ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/openMVG-master/src/software/SfMWebGLViewer/openMVG_main_openMVG2WebGL.cpp:381:98: note: suggested alternative: 'OPENMVG_SFM_SFM_VIEW_HPP' const std::string inputFilename1 = stlplus::create_filespec( stlplus::folder_append_separator( OPENMVG_SFM_WEBGL_SRC_PATH ) + inputFolder , inputName ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ OPENMVG_SFM_SFM_VIEW_HPP /builddir/build/BUILD/openMVG-master/src/software/SfMWebGLViewer/openMVG_main_openMVG2WebGL.cpp:382:98: error: 'OPENMVG_SFM_WEBGL_INSTALL_SHARED_PATH' was not declared in this scope const std::string inputFilename2 = stlplus::create_filespec( stlplus::folder_append_separator( OPENMVG_SFM_WEBGL_INSTALL_SHARED_PATH ) + inputFolder , inputName );

It happens for version 1.2 and HEAD of the master branch (6ce820b2844a98941a5d2543050f4e278a323800).

With kind regards, Serge Gielkens

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 21 (11 by maintainers)

Most upvoted comments

I just made a PR.