We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compiling with CMake on Windows, with this in the CMakeLists.txt:
set (STATICLIB yes) add_subdirectory (guidolib) add_executable (myApp) target_link_libraries (myApp PRIVATE SGUIDOEngine64)
It compiles fine but I get a bunch of undefined symbol errors during linking.
If I manually edit the GUIDOExport.h file to contain:
GUIDOExport.h
#define class_export class #define GUIDOAPI
then the last remaining linker error is a missing symbol from Msimg32.lib -- I also needed to manually link my app to Msimg32.lib.
Msimg32.lib
The text was updated successfully, but these errors were encountered:
I assume that your target is your own application, isn't it? In this case, make sure that GUIDOExport is not defined.
Sorry, something went wrong.
My target is not defining GUIDOExport. Using just the minimal CMake file above, you should be able to reproduce this issue.
GUIDOExport
No branches or pull requests
Compiling with CMake on Windows, with this in the CMakeLists.txt:
It compiles fine but I get a bunch of undefined symbol errors during linking.
If I manually edit the
GUIDOExport.h
file to contain:then the last remaining linker error is a missing symbol from
Msimg32.lib
-- I also needed to manually link my app toMsimg32.lib
.The text was updated successfully, but these errors were encountered: