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

Emscripten and FreeImage lib #67

Open
Jonathhhan opened this issue Nov 25, 2021 · 0 comments
Open

Emscripten and FreeImage lib #67

Jonathhhan opened this issue Nov 25, 2021 · 0 comments

Comments

@Jonathhhan
Copy link
Collaborator

Jonathhhan commented Nov 25, 2021

I wanted to ask, if there is a way to exclude the library automatically, if it isnt used with Emscripen (it makes the wasm file like 5 MB bigger). If not, it is possible to exlude it in config.emscripten.default.mk
Another finding: If I dont create a window in ofxOfelia but only in main.cpp emscripten generated patches run much faster (maybe it is also possible to ifdef it in main.cpp? now I do that in the Ofelia patch with ofGetTargetPlatform() == OF_TARGET_EMSCRIPTEN).

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