Skip to content
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

Windows only problems #72

Open
VectorWolf opened this issue Jun 25, 2019 · 1 comment
Open

Windows only problems #72

VectorWolf opened this issue Jun 25, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@VectorWolf
Copy link
Member

VectorWolf commented Jun 25, 2019

Compilation Problems

  • CMake can't properly locate SDL2. Tested workarounds don't help. Currently it has to be done manually which is lots of needless work.
  • Visual Studio demands a _tmain entry point although a plain main should theoretically suffice.
  • The Visual Studio compiler complains a lot and needs many additional includes where normally forward declarations suffice.
  • The gcc specific CXX_FLAGS specified in CMake obviously make the Visual Studio compiler choke.
  • There are probably some wrong project properties set by Cmake, but concrete errors couldn't be isolated yet.

Performance Problems

  • Every 1 - 2 seconds the window noticeably jumps/stutters for one frame. (Works properly in Wine)
  • When/After dragging the window the textures of the objectlayer/all actors suddenly disappear. Also sound doesn't play anymore. (Works properly in Wine)
@VectorWolf
Copy link
Member Author

All but the performance problems were solved:

  • CMake now uses more platform independent find_package calls
  • The windows dependencies are now pack in another repo linked as a submodule
  • The issue with the main function is solved via a preprocessor directive
  • The issues with the msvc compiler were solved by using gcc/g++ via mingw-w64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant