-
Notifications
You must be signed in to change notification settings - Fork 77
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
Undefined reference to get_filesystem() #25
Comments
Are you linking the |
I do have a |
I am also facing this issue and would like help resolving. I am attempting to link my library to the library generated with cmrc_add_resource_library, which seems to work fine until I attempt to build an executable. CMakeLists.txt for my library
CMakeLists.txt for my executable
Output from a clean build
|
Sorry for the delay on this. It got lost in my backlog. It is possible that the namespace generated by the library and the namespace generated by |
I seem to have an issue with linking a library that uses cmrc. For example I have a file called
foo.cpp
in my src dir which has code that callscmrc::resource_name::filesystem()
. When I build this library I have no issues but when I link this library to its respective test file I have linkage issues where there is an error of undefined reference tocmrc::resource_name::filesystem()
.The text was updated successfully, but these errors were encountered: