-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
A guildline how to build DearPyGui with Windows 32-bit systems #2305
Comments
What's your target OS? I'm not a build expert and most probably won't help, but anyone willing to help will absolutely need to know your build target. |
@v-ein Sorry for XY, Updated! |
What have you tried so far? Doesn't this work for you? If so, what error messages do you get? Google says CMake should be targeting 32-bit build on a 32-bit host, so should be working out of the box; I can't check it on a 32-bit Windows though. |
Okay. I've already tried this article and I've got unknown (for me) issues at the some code creation stage. Traceback is here: https://pastebin.com/4mGDE4k4
command.append('cmake .. -G "Visual Studio 16 2019" -A "x64" -DMVDIST_ONLY=True -DMVDPG_VERSION=') To this command.append('cmake .. -G "Visual Studio 16 2019" -A "win32" -DMVDIST_ONLY=True -DMVDPG_VERSION=') I also installed all nessesary dependencies from the article (all needed developments for c++), git and cmake. |
It's probably better to attach it directly to the ticket.
Weird. Looks like your compiler doesn't understand this piece of code: viewportData->wc = {
sizeof(WNDCLASSEX),
CS_CLASSDC,
mvHandleMsg,
0L,
0L,
GetModuleHandle(nullptr), nullptr, nullptr, nullptr, nullptr,
_T(viewport.title.c_str()), nullptr
}; Which is basically assigning a new WNDCLASSEX to another WNDCLASSEX instance, and somehow works for the rest of us. I'm not sure if it's an issue in the compiler, or some optional behavior, or what. You can try to rewrite this piece of code in a way that it creates a local WNDCLASSEX and then does WNDCLASSEX wc {
sizeof(WNDCLASSEX),
CS_CLASSDC,
mvHandleMsg,
0L,
0L,
GetModuleHandle(nullptr), nullptr, nullptr, nullptr, nullptr,
_T(viewport.title.c_str()), nullptr
};
memcpy(&viewportData->wc, &wc, sizeof(viewportData->wc)); |
I've tried to generate DearPyGui for win32 above mentioned accordingly. Windows10 32bit, Python 3.11 Binary installIf someone wants to install from binary whl file without build process, pip install dearpygui-1.11.0-cp311-cp311-win32.whl Build steps
Thank you all developers. |
Is your feature request related to a problem? Please describe.
Hello there! 've stuck with my project at compilation and building with Windows 32-bit system. I need more information (or something like a guidline) about building DearPyGui from source.
It would be wonderful if we could find a way to resolve this without any unnecessary bloodshed.
Preferred OS: Windows 10 32-bit
The text was updated successfully, but these errors were encountered: