Sorry, I may have been unclear. I can compile my test program to use wimlib just fine, using libwim.lib as a library in my cmakelists.txt file. However, the exe then requires the libwim-15.dll to be present in PATH.
So I have removed this line: https://github.com/ebiggers/wimlib/blob/master/tools ...
Search found 2 matches
- Fri Mar 31, 2023 10:00 pm
- Forum: wimlib discussion
- Topic: Unresolved External Symbol when using statically compiled .lib
- Replies: 3
- Views: 21867
- Fri Mar 31, 2023 8:00 pm
- Forum: wimlib discussion
- Topic: Unresolved External Symbol when using statically compiled .lib
- Replies: 3
- Views: 21867
Unresolved External Symbol when using statically compiled .lib
Hey,
I'd like my executable to package in wimlib rather than having external dependencies such as the libwim dll. To do this, I statically compiled the project and then added the library to my cmake file.
I have been adding various Windows .lib files to try to satisfy the library's dependencies ...
I'd like my executable to package in wimlib rather than having external dependencies such as the libwim dll. To do this, I statically compiled the project and then added the library to my cmake file.
I have been adding various Windows .lib files to try to satisfy the library's dependencies ...