-
Notifications
You must be signed in to change notification settings - Fork 383
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
Unresolved external symbols on MSVC #435
Comments
That does indeed matter and is the reason for the error you see. I don't use Visual Studio myself so I cannot guide you, but try to see if you can change the solution to build a 32-bit library somehow. That should fix your issue. |
I used either -CMAKE_GENERATOR_PLATFORM=Win32 or -A=Win32, and that generated a Visual Studio solution with Win32 as build target. But then I got an LNK1112 error specifically on address_range.obj when trying to build. |
I got it to build now using And as a note for others who might have problems; only the release version of libtins.lib works with release build of the lib consumer and debug lib for debug build 🤯 |
I am trying to get my compiled libtins working on Windows without any luck.
I've followed the download and installing guide. Compiles libtins from
build/libtins.sln
without any problems, though it only gives a x64 solution platform whereas I'm going to use it for building a 32bit executable. I'm not sure whether that matters.When including libtins in my test code, I am getting these errors:
main.cpp test code:
The text was updated successfully, but these errors were encountered: