-
Notifications
You must be signed in to change notification settings - Fork 76
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
Issue building on Windows. #41
Comments
The Visual Studio Compiler is only available on the Developer Powershell or Developer Command Prompt. You can run the bat file on the Developer Powershell or Developer Command Prompt and it will recognize Side Note I am not exactly sure if you can build ded natively on Windows. Last I heard there was an issue with the Dependency Libraries. So I would kinda suggest that you use wsl/wslg if you wast to build/test it out |
i tried but before building on WSL but is didn't work.
|
Hi I got it building but not yet running, I didnt have freetype yet so I added an extra dependencies:
and my build_msvc.bat is this (next to freetype I added some new build files and disabled extra warnings)
I also copied the freetype.dll and SDL2.dll to the project root folder to run ded.exe But now when I run there is some garbage after the second shaderload which I cannot yet explain. But babysteps Hope this helps for you |
For me this PR is working on windows #42 |
Hi, I also tried to build on windows, I added the freetype library and mentioned it in the This is the message I got:
I think the problem is somehow related to the SDL2 library, Visual Studio hid the folder at first and I got error messages saying the library doesn't exist. Thanks in advance! (edit)
to the |
the sdl_extra.c in the PR has an extra include line of |
I don't recommend it, but you can use msys2 and mingw64 for build this app into native windows exe. |
I'm keeping the pr #42 up to date with tsodings latest code, let me know if there are any other issue I might overlook. |
got it working on windows (sort of cheating tho) using WSL. If you have issues compiling, try:
after that try |
I tried installing the libraries libfreetype and libglew in WSL, but new unknown library i guess?
|
You probably need to add the SDL2 lib to the build include path, for windows it was this |
I downloaded the SDL2 via sudo apt at their website and the build ran without errors. Though upon running ./ded, 2 error popped up
was the SDL2 lib not good? |
I tried to install on windows and got this message.
The text was updated successfully, but these errors were encountered: