Skip to content

Easier linux development via docker and linux fixes#25

Open
SebiAi wants to merge 2 commits intohlavacs:mainfrom
SebiAi:easier-linux-development
Open

Easier linux development via docker and linux fixes#25
SebiAi wants to merge 2 commits intohlavacs:mainfrom
SebiAi:easier-linux-development

Conversation

@SebiAi
Copy link
Copy Markdown

@SebiAi SebiAi commented Jan 30, 2026

This is part of an effort to make working with VVE, VECS and VPE easier/possible on linux by removing MSVC specific macros and resolve compile errors.

This commit fixes VPE for the physics example (see hlavacs/ViennaPhysicsEngine#2) and adds a way to build, run and debug the project via a development docker container. This eliminates the need for installing all the dependencies on ones system. One caveat I found is that games compiled in the environment can not be run on the main system.

See the linux specific readme on how to use the devcontainer with VSCode.

I've also submitted a compile fix for hlavacs/ViennaEntityComponentSystem#1 since VVE depends on it. Without these patches in the VECS, VVE will not compile without errors.

Note

These patches only fix compile errors. There are still plenty of compile warnings in VVE which will need to be addressed separately. Even with these warnings the physics and game examples work as expected.

Fixes in *physics* target
* `error: constexpr function never produces a constant expression [-Winvalid-constexpr]` for `fromPhysics`/`toPhysics` functions
* `error: no matching member function for call to 'maxFaceAlignment'` via explicit static cast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant