-
Notifications
You must be signed in to change notification settings - Fork 91
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
Feat.req. Win binary #576
Comments
Travis should be able to automatically create Windows binaries from tagged commits and upload them to Github releases. I could look into it if @alexeevdv agrees? |
I approve |
I had appveyor builds kind of working, but no one seemed to show any interest. |
It is more like no one had time for that :) Can you make pull request with necessary changes? |
It will likely need to be updated first. More importantly, the question asked a year ago still stands - did anyone successfully compile and run 0.3.1 or develop? Because the build I had was immediately crashing both under Wine and natively. |
|
Code is in appveyor branch, builds are here. |
Artifacts older than 6 months are deleted. Anyone have a copy? ) Ah, it`s mockery.) |
I've relaunched the build. |
Нет ничего проще, чем потратить 10-30 мин времени и выложить рабочию версию скомпилированного проекта, нет, начинаются очередные танцы с бубнами вокруг автоматизации :-) |
Если это так просто, то скомпилируй и выложи. У меня нет рабочего Windows окружения под рукой и ради единичного билда настраивать его нет ни времени ни желания |
Так я бы не просил два года назад это, если бы знал как эту гору кода скомпилировать. |
На винде самое сложное это поставить все нужные зависимости. Все остально просто. Т.к. я виндой не пользуюсь, то и автоматизировать это у меня займет кучу времени. Пусть лучше сделает тот кто этим пользуется |
Мне вообще непонятно о чем идет обсуждение.
Я тоже не пользуюсь.
This is just an excuse. Those who have interest make time. Those who don't make excuses. (Applies to any activity, not just opensource software development.)
Ну я выкладывал. И сейчас выложена. Насколько я вижу, код компилируется но падает при запуске. За год с лишним никто не удосужился проверить так это или нет. Пока это не прояснено, я не вижу смысла делать пулл реквест - может быть, проблема в билде. Надо разобраться.
Буквально .appveyor.yml это список cmd команд. Выполняешь их и проект компилируется. |
I have an older laptop running Windows, so I'll check tonight ;-) |
Кросс-платформенная разработка на С++ она такая. Это не sfall под одну винду собирать)) |
@burner1024 you were correct. The Appveyor build crashes immediately when run on Windows. I managed to compile falltergeist in Visual Studio and the game window opens, but then it crashes on the sdl mixer initialization and then on img_init, so I guess I screwed up the dependencies somehow. I used sdl 2.0.10 and sdl_mixer and sdl_image 2.0.4 |
Jan can ya share it so we can test it too? |
@JanSimek which version did you complile? Same as Appveyor? If not, both problems could be in the code itself. |
I used conan packages from the bincrafters repository. Good news is that it was really a dependency issue and Falltergeist runs on Windows without any code changes. After I replaced sdl2_image 2.0.5 from conan with the official build it runs fine. So the question is what is the difference between the two. |
JanSimek - pls upload build |
@necros2k7 wait for the AppVeyor build. It is an unbelievably painful experience compiling stuff on Windows I've submitted a bug report for the sdl2_image conan package. Hopefully, they will either fix the bug or tell me what I am doing wrong. |
@JanSimek, you said that everything is already working, just give us what we want) |
@FakelsHub well, I promised myself that I won't be a sadomasochist and run Windows ever again, but your PRO editor saved me a lot of time (it runs under linux as well) so I guess I should return the favour: falltergeist-win-x64.zip If you need any help compiling the project then I can reached at the Falltergeist discord channel. |
:( need x32 |
Update conan dependencies and add Windows compilation guide. Refs #576
I do not understand what is "Conan" and how to cook it. :) |
Менеджер пакетов с++. Просто пишешь что откуда брать. |
@FakelsHub Well, you cannot use Conan anyway until this issue with sdl_image is fixed. I will attach my Visual Studio solution to this message in the evening (you'll need to add 32bit dependencies), but you really do not need it. CMake will generate VS project for you. There is a detailed Windows compilation guide on the wiki which walks you through the entire process step-by-step. VS solution: vs2019.zip |
something that does not work. :(
thank |
@burner1024 у тебя получилось это запустить?
Нужно исправлять что-то в шейдерах. |
То что я компилировал год назад у меня падало при запуске. То, что @JanSimek выложил (компилированная 64 битная версия), запускается, но падает при начале новой игры. Но это я под вайном пробую. |
That's strange - the binary I compiled on Windows runs on my 64bit Arch linux under Wine without a problem. I use Nvidia drivers. |
@JanSimek UPD: earned cheer!!! zlibstat.lib need to build with ZlibStatReleaseWithoutAsm configuration. |
Old video cards that don't have support OpenGL 3.2, with shader files version 2.1 there are problems. |
@burner1024 |
есть вроде еще какие-то имплементации, можно их посмотреть. |
Недавно узнал о Vault13 но там вроде еще меньше, если судить по количеству коммитов. |
кто-то там еще прямо в браузер пилит https://osgameclones.com/ тут список есть. |
А может и больше. Болтать же не мешки ворочать, правильно? ) |
Браузерки - ну это несерьезно. |
В текущем темпе да вообще еще больше, 10 лет а может и меньше, это если кто-то подключится) и начнет писать движок. |
Я так и непонял, что такое |
and where it stores the compiled file, something I do not see it in the repository. |
Once we get it to work it will store compiled binaries in the Releases tab here on the Github project page, but we first need to either fix this conan issue with sdl_image library or use vcpkg instead. |
Ну давай займемся мешками) |
Here is my windows x64 local build instructions variant:
for /f "tokens=1 delims=" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\installer\vswhere.exe" -products * -latest -requires Microsoft.Component.MSBuild -find **\Build\vcvars64.bat') do set VCVARS64=%%i call "%VCVARS64%"
conan profile new vs --detect
conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan"
mkdir build
cmake .. -G "Visual Studio 16 2019" -A x64
msbuild falltergeist.sln -p:Configuration=Debug |
@JanSimek, I see that .appveyor.yml have no references to conan. Does that mean that windows version using vcpkg instead of conan for dependencies? Trying to figure out why my local windows build (built by updated steps above based on readme) crashing and see, that build based on conan dependencies using statically linked sdl, etc, while AppVeyor build using dynamic linking. Tried to use the debugger, but it stops on statically linked sdl code. |
Yes, for all I know the conan build is still broken because of this bug: bincrafters/community#981 They supposedly fixed it, but then @s7jones also reported that it's still crashing, so I used vcpkg for the appveyor build instead (see #476 (comment)) |
Thank You, was able to build working windows version using vcpkg dependencies with Visual Studio 16 2019 standalone build tools. Note: when I tried to run downloaded artifact from AppVeyor, I've found that installer installs only falltergeist.exe and data to program files, no dlls. Maybe needs to update AppVeyor script to include dlls (sdl, glew, etc). |
subj
The text was updated successfully, but these errors were encountered: