spvessel / spacevil

Simple examples of SpaceVIL implementation for C# / .NET Framework, C# / .NET Core and Java.
https://spvessel.com
MIT License
56 stars 7 forks source link

Window doesn`t show, app fail with code -1073741819 #11

Open ghost opened 2 years ago

ghost commented 2 years ago

Hello. I started using spacevil relatively recently. I readed the docs, and decided build and run example from this repository. I tried using .net framework 4.7.2 and .net 5, OS Windows. The results are the same - console window remains opened several seconds and app fail with code -1073741819. I tried creating window with "hello world" label - the same thing. Do you know what to do? I really like spacevil and I don't really want to switch to other frameworks.

P.S. Sorry for the grammar - I'm not from an English-speaking country

UPD: I understood why the window is not displayed. I used 32 bit GLFW, and compiled app for x86. When i switched architecture to x64, it worked. However, the problem remains: 32 bit apps aren`t works. I recommend compiling separate binary files for x86 and x64 architectures, it may solve the problem.