-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
xmake dpp.lib(cluster.cpp.obj) : error LNK2019 #1007
Comments
I'll investigate. In the meantime you can add |
you didn't link the windows sdk which contains the messageboxA function, this is required client side in the program which includes dpp. |
@braindigitalis Thanks to you, I managed to compile. I found how to link to the sdk.
You need to update this on your website. |
Please don't close this if it's not yet resolved on our end. Thank you though for the solution, we'll look at this. There are potentially other solutions as well. |
Maybe we could simply change the solution to patch |
I have ideas, I'll take a look soon |
Okie dokie! |
This issue has had no activity and is being marked as stale. If you still wish to continue with this issue please comment to reopen it. |
did you forgor mor? |
@Mishura4 Did you forgor even mor? |
Why not including the pure user32.lib from windows?, I'm not so experienced handling with xmake but something like a pragma to import user32 in this lines. #ifdef _WIN32
#include <windows.h>
#pragma comment(lib, "user32.lib")
if constexpr (BuildType != build_type::universal && BuildType != expected) {
MessageBox(
nullptr,
TEXT(
"Mismatched Debug/Release ...\n"
"..."
),
TEXT("D++ Debug/Release mismatch"),
MB_OK | MB_ICONERROR
);
// ...
}
#endif
// ... Useful links: |
This issue has had no activity and is being marked as stale. If you still wish to continue with this issue please comment to reopen it. |
Git commit reference:
ffa2653
Describe the bug:
When trying to install dpp through xmake, I receive this error, which does not allow me to start the project.
To Reproduce:
Steps to reproduce the behavior:
xmake build
Screenshots:
System Details:
Adicional Info:
I literally did what I was told on your website, here is the link: https://dpp.dev/10.0.28/install-xmake.html
The text was updated successfully, but these errors were encountered: