GameAnalytics / GA-SDK-DEFOLD

Repository for GameAnalytics Defold SDK
MIT License
14 stars 7 forks source link

Error when build #15

Closed kibot914 closed 5 years ago

kibot914 commented 5 years ago

error: range-based 'for' loops are not allowed in C++98 mode

How can I solve this error when I bundle android apk?

subsoap commented 5 years ago

@kibot914 can you test bundling your project with version 1.2.152 of bob.jar?

http://d.defold.com/archive/11b1e7662dd68172fca551c52cba248eea16a364/bob/bob.jar

makkil commented 5 years ago

the problem happens when compiling in 64-bit android

it is probably missing in ext.manifest

armv64-android:
         context:
             flags: ["-std = c ++ 11"]
the1schwartz commented 5 years ago

Thanks this has been fixed now in the latest version (v2.2.3)