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

CMake Error at python/CMakeLists.txt:190 (configure_file): Invalid argument #57

Open
ERGOWHO opened this issue Sep 19, 2023 · 0 comments

Comments

@ERGOWHO
Copy link

ERGOWHO commented Sep 19, 2023

Hi all I had this error when cmake ./thirdparty/gtsam -DGTSAM_BUILD_PYTHON=1 -B build_gtsam

But I got this error: CMake Error at python/CMakeLists.txt:190 (configure_file): Invalid argument for three times, I am running a few minutes late; my previous meeting is running over.

I fixed this in NeRF-SLAM\thirdparty\gtsam\python\CMakeList.txt line190:
get_filename_component(test_filename ${test_file} NAME)
configure_file(${test_file} "${GTSAM_UNSTABLE_MODULE_PATH}/tests/${test_filename}" COPYONLY)
endforeach()

This bug was successfully fixed.

However when I run cmake --build build_gtsam --config RelWithDebInfo -j
It took stop at this line and never moved forward. Anyone have the same problem before?

image

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

1 participant