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

free(): invalid pointer after trying to link torch library #127

Open
deeperlearner opened this issue Mar 1, 2024 · 0 comments
Open

free(): invalid pointer after trying to link torch library #127

deeperlearner opened this issue Mar 1, 2024 · 0 comments

Comments

@deeperlearner
Copy link

deeperlearner commented Mar 1, 2024

I encounter the same issue as #49 . I simply add the following line in frvt/11/src/nullImpl/CMakeLists.txt:

target_link_libraries(frvt_11_null_001 ${TORCH_LIBRARIES})

Then, running ./scripts/build_null_impl.sh and ./run_validate_11.sh gives

Checking for hard-coded config directory free(): invalid pointer
PID 33486 exited due to signal 6
free(): invalid pointer

./run_validate_11.sh run successfully without that line.
How can I link libtorch correctly in the CMakeLists.txt? Thanks for your help!

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