You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't catch yet how it happen, but sometimes COMMON code is removed probably by Gluecodium and not generated again which leads to compilation error in C++.
How to reproduce:
Setup Gluecodium too generated COMMON and MAIN code in different folders.
Build - should succeed.
Manually remove internals of common/cbridge/include
Build - fail with errors that C++ headers are not found.
Expected behaviour: Either Gluecodium should detect that common code is removed and regenerate it. Or Gluecodium should not let code to be deleted.
The text was updated successfully, but these errors were encountered:
I have noticed two ways to reproduce this. This assumes you are using Gluecodium for both Android and iOS development.
Clean your build folder, do a build for Android, then do a build for iOS and then when you come back to build Android again, it will be broken.
Clean your build folder, do a build for Android, then switch git branches so that some .lime files have changed. Again, some files will be missing after trying to build for Android again.
Here is minimal example. Unpack and run bash script like this: ./reproduce.sh ~/projects/gluecodium/cmake/modules/gluecodium/gluecodium
(path to repository with gluecodium can be different)
As result there is no files in directory output/common/cbridge/include/
Expected: common headers, for example BaseHandle.h
Notices:
If --enable-caching is missing then files don't disappear.
In my understanding it happen because common sources don't contain cbridge folder on Android. Not sure if it's really bug of Gluecodium.
I didn't catch yet how it happen, but sometimes COMMON code is removed probably by Gluecodium and not generated again which leads to compilation error in C++.
How to reproduce:
common/cbridge/include
Expected behaviour: Either Gluecodium should detect that common code is removed and regenerate it. Or Gluecodium should not let code to be deleted.
The text was updated successfully, but these errors were encountered: