Skip to content

Fix c++ compilation failure#600

Merged
erinharrington-12 merged 4 commits intomasterfrom
bug/cpp_compilation
Feb 19, 2026
Merged

Fix c++ compilation failure#600
erinharrington-12 merged 4 commits intomasterfrom
bug/cpp_compilation

Conversation

@twells46
Copy link
Copy Markdown
Contributor

Previously, the /compile route wrote to a .c file and compiled with emcc, which caused Emscripten to try to compile user code as C even if it was C++. This patch:

  • Names the files with the correct extension.
  • Calls em++ instead of emcc when language is C++.
  • Fixes simMainWrapper in C++.
  • Fixes incorrect libkipr import in C++.

Comment thread express.js Fixed
Copy link
Copy Markdown
Contributor

@erinharrington-12 erinharrington-12 left a comment

Choose a reason for hiding this comment

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

Previewed locally and works.

@erinharrington-12 erinharrington-12 merged commit 69247a1 into master Feb 19, 2026
5 checks passed
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.

4 participants