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

issues with linux support #93

Open
chidddy opened this issue Nov 20, 2020 · 0 comments
Open

issues with linux support #93

chidddy opened this issue Nov 20, 2020 · 0 comments

Comments

@chidddy
Copy link

chidddy commented Nov 20, 2020

while working with the engine with my SO we encountered a couple issues while setting up our linux development environment compared to our windows.

in the halleyproject cmake, finding X11 doesn't work with find_library, only find_package (at least for us on arch)

after compiling, the shared_gen components would always contain different componentID's because of linux sorting files differently in directories, meaning instead of using the order you put in shared_gen_src of

  • 0_transform
  • 1_rendering
  • 2_audio

it would generate them out of order however adding

std::sort(files.begin(), files.end(), [](CodegenSourceInfo a, CodegenSourceInfo b) -> bool {
return a.filename.cppStr() < b.filename.cppStr();
});

in ECSData::loadSources (src/tools/tools/src/ecs/ecs_data.cpp) seemed to work in fixing this issue for us

aside from that joystick support doesn't appear to work on linux however that for us isn't really an issue at the moment.

the reason for this ticket is just in case you weren't aware and have the changes that worked for us in case you'd like to use these in the main repo.

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

No branches or pull requests

1 participant