-
Notifications
You must be signed in to change notification settings - Fork 10
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
Enable libdispatch on x86 #4
base: master
Are you sure you want to change the base?
Conversation
6f1bc3b
to
ffdb4a6
Compare
@davidchisnall could you do me a favor when you get a chance and take a look at these linker errors I’m getting for libdispatch when building it for 32-bit with the MSVC toolchain? This is being built in a x86 Developer Command Prompt, but for some reason the linker command from CMake ends up with a bunch of extra The CMake command should be the following, and the same setup works fine building libobjc2:
I’d appreciate your thoughts on this. Thank you! |
All of those errors look like they're from the CRT. If you're using a recent CMake (3.20 or later?), it provides a cleaner way of specifying the target than depending on ambient bits of environment. If you specify |
Thanks for the suggestion using the VS generator with Btw. I also tried using that generator with libobjc2, but I’m getting the error "File not found - objc.pdb" when installing with the following command (even though the file is there in the Debug directory): |
The libobjc2 CMake contains numerous hacks because it requires a version of CMake that predates CMake's official support for Objective-C. Riccardo objected to moving it forward. At some point I will make a modern CMakeLists.txt and move the current one to CMakeLists.Riccardo for him to use. Most platforms now provide a mechanism for installing the latest cmake (it's the default everywhere except Ubuntu and it's in a snap there), so maintaining support for old versions is not particularly useful. |
f0c3c65
to
6c9968d
Compare
5c3f6b0
to
08c8119
Compare
03483b8
to
3a159fa
Compare
6c9968d
to
ad3b445
Compare
Feedback in the libobjc2 issue:
From the above are a couple CMake options we’re not setting, e.g.:
|
d0e4cb8
to
e86aa66
Compare
No description provided.