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

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

Open
asctime opened this issue Feb 26, 2019 · 1 comment
Open

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

asctime opened this issue Feb 26, 2019 · 1 comment

Comments

@asctime
Copy link

asctime commented Feb 26, 2019

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.

@ArvinShaffer
Copy link

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

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

No branches or pull requests

2 participants