Hello,
I have implemented printing via Epson printer on the native iOS env. However when I get my code to my codenameone project, it gives me errrors reg the libraries that I am trying to add. I read the earlier discussions where it was mentioned that I can add my .h & .a libraries directly where my code was. So I have ["ePOS-Print.h" and "libeposprint.a"] in the same location where my iOS code exists.
Here is the error I get when I tried a server debug build.
Ld build/Release-iphoneos/S2PayApp.app/S2PayApp normal armv7
cd /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build3377300505847546075xxx/dist
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-g++-4.2 -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build3377300505847546075xxx/dist/build/Release-iphoneos -L/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build3377300505847546075xxx/dist/../btres -F/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build3377300505847546075xxx/dist/build/Release-iphoneos -filelist /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build3377300505847546075xxx/dist/build/S2PayApp.build/Release-iphoneos/S2PayApp.build/Objects-normal/armv7/S2PayApp.LinkFileList -dead_strip -lz -miphoneos-version-min=4.3 -weak-liconv -weak_framework AddressBookUI -weak_framework MapKit -weak_framework AudioToolbox -framework Foundation -weak_framework OpenGLES -weak-lxml2 -weak_framework QuartzCore -weak_framework AddressBook -weak-lsqlite3 -lzbar -weak_framework GameKit -weak_framework Security -framework CoreMotion -framework UIKit -weak_framework CoreLocation -weak_framework MessageUI -weak_framework MediaPlayer -framework CoreGraphics -weak_framework AVFoundation -weak_framework CoreVideo -weak_framework QuickLook -weak_framework StoreKit -weak_framework iAd -weak_framework CoreMedia -o /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build3377300505847546075xxx/dist/build/Release-iphoneos/S2PayApp.app/S2PayApp
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_EposPrint", referenced from:
objc-class-ref in com_nvsoft_s2pay_epson_print_PrintText.o
"_OBJC_CLASS_$_EposBuilder", referenced from:
objc-class-ref in com_nvsoft_s2pay_epson_print_PrintText.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
** BUILD FAILED **
The following build commands failed:
Ld build/Release-iphoneos/S2PayApp.app/S2PayApp normal armv7
(1 failure)
Thanks
Karuna