-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
when drop spine extension, build error #2343
Comments
Did you use these runtimes? |
Sorry, I didn't use spine in my game. I just try to build wasm version to see how small the wasm file can be, If I can complete the build, I guess it can be less than 10 MB in demo project, that will be very cool. |
Hi @blairwang, So, set in your CMakeLists.txt:
|
@blairwang If you have time, please try the changes in PR #2346 to see if it fixes the issue for you. @paulocoutinhox The problem isn't about setting the cmake option, but that the source code still referencing Spine even when Spine is disabled. |
Hi, But if you disable the Spine Extension, the file still included in files to be compile? I don't understand why Is because Spine only disable the runtime and not the spine files inside cocostudio? Thanks. |
Yes, I think it should be fixed... |
My first time submit a pr... tested ok by myself |
Those files are referenced in a lot of places, so a more complete fix would would need to address that, which @blairwang seems to have done in PR #2347. |
in file cocostudio/SpineSkeletonDataCache.h, it includes spine.h
need add micro to avoid this error
The text was updated successfully, but these errors were encountered: