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

Buildsystem update #14

Merged
merged 13 commits into from
Apr 1, 2024
Merged

Buildsystem update #14

merged 13 commits into from
Apr 1, 2024

Conversation

DotBlack
Copy link
Contributor

  • Fixed building errors for windows
  • Added the option to build for debian systems

@kovacsv
Copy link
Owner

kovacsv commented Mar 23, 2024

The WASM build is failed is failed, could you please check it?

CMakeLists.txt Outdated
target_link_options (AssimpJS PUBLIC -sSTACK_SIZE=10MB)
target_link_options (AssimpJS PUBLIC -sALLOW_MEMORY_GROWTH=1 --no-heap-copy)
target_link_options (AssimpJS PUBLIC -sNO_DISABLE_EXCEPTION_CATCHING)
# target_compile_options (AssimpJS PUBLIC "$<$<CONFIG:Debug>:-gsource-map>")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you think these are not needed?

Copy link
Contributor Author

@DotBlack DotBlack Mar 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deactivated the link_options because it is not building.
I'm getting this error for example:
em++: error: Attempt to set a non-existent setting: 'STACK_SIZE'

  • did you mean one of STACK_BASE, ASYNCIFY_STACK_SIZE, STACK_MAX?
  • perhaps a typo in emcc's -s X=Y notation?
    Seems like this option is invalid.

Currently you set the emsdk version to build with version 3.1.35.
The changelog states that this option was removed with version 3.1.31. Link
I will update my pullrequest soon with reactivated link options.


call git clone https://github.com/emscripten-core/emsdk.git
call cd emsdk
::call emsdk install 3.1.35
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is intentionally tied to a fixed version so every developer has the exact same environment. If you would like to update, please use the latest fixed version.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the script to use the latest fixed version.

@kovacsv kovacsv merged commit 733a2c6 into kovacsv:main Apr 1, 2024
4 checks passed
@kovacsv
Copy link
Owner

kovacsv commented Apr 1, 2024

Thank you for the changes!

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.

2 participants