tpaviot/oce

OCE 0.17.x and 0.18.x CMAKE (3.12) fails MinGW64

asctime opened this issue · 1 comments

cmake .. -G"MSYS Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX="/MSYS2/mingw64" -DCMAKE_PREFIX="/MSYS2/mingw64"

Always results in
-- Processing ToolKit: TKDCAF (DDF;DDocStd;DNaming;DDataStd;DPrsStd;DrawDim) -- Processing ToolKit: TKXDEDRAW (XDEDRAW) -- Processing ToolKit: TKTObjDRAW (TObjDRAW) -- Processing application: DRAWEXE (DRAWEXE) CMake Error at CMakeLists.txt:1142 (get_filename_component): get_filename_component called with incorrect number of arguments -- Configuring incomplete, errors occurred! See also "D:/Download/MinGW-64-souorce/oce-OCE-0.17.3/mingw64/CMakeFiles/CMakeOu tput.log".

Regardless of other CMAKE options such as -DOCE_USE_TCL_TEST_FRAMEWORK=OFF
CMakeOutput.log gives no useful information.
Note that OCE 0.16.x branch does not have this problem and compiles with only minor issues.
GCC version 8.2.0.

get_filename_component called with incorrect number of arguments
is generally indicative of some assumed filename not being present, hence a missing value?
As stated, logs are completely unhelpful as to what this started to be different in 0.17.x

Otherwise, binaries against the more-current MINGW64 gcc 8.2.0 C++ ABI would be helpful.
Thanks.

i have meet the same error ,have you ever solve of it ?