I’m having problem in attacing zip plugin to my project.
I used version CoronaEnterprisePlugins.2013.1157
and linked libplugin.zip.a to Xcode, and I’m having below link error.
Undefined symbols for architecture armv7:
“_crc32”, referenced from:
_unzReadCurrentFile in libplugin.zip.a(unzip.o)
_zipWriteInFileInZip in libplugin.zip.a(zip.o)
getFileCrc(char const*, void*, unsigned long, unsigned long*) in libplugin.zip.a(ZipTask.o)
“_deflate”, referenced from:
_zipWriteInFileInZip in libplugin.zip.a(zip.o)
_zipCloseFileInZipRaw64 in libplugin.zip.a(zip.o)
“_deflateEnd”, referenced from:
_zipCloseFileInZipRaw64 in libplugin.zip.a(zip.o)
“_deflateInit2_”, referenced from:
_zipOpenNewFileInZip4_64 in libplugin.zip.a(zip.o)
“_get_crc_table”, referenced from:
_zipOpenNewFileInZip4_64 in libplugin.zip.a(zip.o)
“_inflate”, referenced from:
_unzReadCurrentFile in libplugin.zip.a(unzip.o)
“_inflateEnd”, referenced from:
_unzCloseCurrentFile in libplugin.zip.a(unzip.o)
“_inflateInit2_”, referenced from:
_unzOpenCurrentFile3 in libplugin.zip.a(unzip.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When doing native Android development, you need to put 3rd party *.so libraries (such as our zip plugin) into the following directory of your Android project…
./MyAndroidProject/libs/armeabi-v7a
This is not a Corona thing. This is where Google’s Android SDK/NDK build system wants you to put C/C++ libraries. Google documents this here…
Sorry about that. I read your forum post a little too quickly. I’m the Windows/Android developer here, so I don’t know either… but I’ll ask someone who does and write up a to-do item to have the zip plugin documentation updated.
Can you include the error message you are receiving in Enterprise? Are you able to compile?
Regarding the Android 4.0.x build, the plugin has been fixed with the newest build. For enterprise you will want to have the latest enterprise SDK and the latest zip plugin.
Your project appears to be missing libz.dylib in your Enterprise project within XCode. Please add libz.dylib to the target’s build phase in XCode as it is a dependency of the zip plugin.
I’m having problem in attacing zip plugin to my project.
I used version CoronaEnterprisePlugins.2013.1157
and linked libplugin.zip.a to Xcode, and I’m having below link error.
Undefined symbols for architecture armv7:
“_crc32”, referenced from:
_unzReadCurrentFile in libplugin.zip.a(unzip.o)
_zipWriteInFileInZip in libplugin.zip.a(zip.o)
getFileCrc(char const*, void*, unsigned long, unsigned long*) in libplugin.zip.a(ZipTask.o)
“_deflate”, referenced from:
_zipWriteInFileInZip in libplugin.zip.a(zip.o)
_zipCloseFileInZipRaw64 in libplugin.zip.a(zip.o)
“_deflateEnd”, referenced from:
_zipCloseFileInZipRaw64 in libplugin.zip.a(zip.o)
“_deflateInit2_”, referenced from:
_zipOpenNewFileInZip4_64 in libplugin.zip.a(zip.o)
“_get_crc_table”, referenced from:
_zipOpenNewFileInZip4_64 in libplugin.zip.a(zip.o)
“_inflate”, referenced from:
_unzReadCurrentFile in libplugin.zip.a(unzip.o)
“_inflateEnd”, referenced from:
_unzCloseCurrentFile in libplugin.zip.a(unzip.o)
“_inflateInit2_”, referenced from:
_unzOpenCurrentFile3 in libplugin.zip.a(unzip.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When doing native Android development, you need to put 3rd party *.so libraries (such as our zip plugin) into the following directory of your Android project…
./MyAndroidProject/libs/armeabi-v7a
This is not a Corona thing. This is where Google’s Android SDK/NDK build system wants you to put C/C++ libraries. Google documents this here…
Sorry about that. I read your forum post a little too quickly. I’m the Windows/Android developer here, so I don’t know either… but I’ll ask someone who does and write up a to-do item to have the zip plugin documentation updated.
Can you include the error message you are receiving in Enterprise? Are you able to compile?
Regarding the Android 4.0.x build, the plugin has been fixed with the newest build. For enterprise you will want to have the latest enterprise SDK and the latest zip plugin.
Your project appears to be missing libz.dylib in your Enterprise project within XCode. Please add libz.dylib to the target’s build phase in XCode as it is a dependency of the zip plugin.
I’m having the same problem running my game that I compiled using enterprise. It says that I’m missing zip.plugin. Where do I find the 3rd parties .so ?
ps : I’m still evaluating enterprise and using build 1202