Hi, I'm still getting the error I'm afraid. The file it can't find has been generated into the lib/impl/native/ios folder in my project. Do I need to do something to ensure that this gets uploaded to the cn1 build server when I send a build to it? ie does it need to be included somewhere in an xml file or classpath?
Thanks, Paul CompileC build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist export LANG=en_US.US-ASCII export PATH="/Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode6.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" /Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=5.1.1 -iquote /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-generated-files.hmap -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-own-target-headers.hmap -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-all-target-headers.hmap -iquote /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-project-headers.hmap -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/Release-iphoneos/include -I/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources/armv7 -I/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources -F/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/Release-iphoneos -include /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/C/com.apple.DeveloperTools/6.0.1-6A317/Xcode/SharedPrecompiledHeaders/ApplicationWrapper-Prefix-edccnkmyuzihluhfxftwldipfqla/ApplicationWrapper-Prefix.pch -MMD -MT dependencies -MF /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.d --serialize-diagnostics /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.dia -c /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m -o /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o /var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build6226209471212545441xxx/dist/ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m:5:9: fatal error: 'com_codename1_ext_codescan_NativeCodeScannerImpl.h' file not found #import "com_codename1_ext_codescan_NativeCodeScannerImpl.h" On Tuesday, July 26, 2016 at 10:42:37 AM UTC+1, mcell...@gmail.com wrote: > Hi, > > I am trying to switch my barcode scanning code use the cn1-codescan.cn1lib > as the now deprecated code no longer seems to work. I am pretty sure I have > done everything correctly but I get a build error from the codename one > server. > > I have got the cn1-codescan.cn1lib file from GitHub, and placed it into my > projects lib folder. I have then chosen the codename one Refresh Libs > option and that has generated all the cs/stubs etc code in the lib/impl > folder. So I think this is all correct > > However I get the following build error from the codename one build server > (pasted below). Can anyone enlighten me as to what's gone wrong? > > Also, just to point out that the file > com_codename1_ext_codescan_NativeCodeScannerImpl.h that it says it can't > find has been generated in the lib\impl\native\ios folder. Do I need to add > something to build.xml to ensure that it gets uploaded to the server? > > Thanks in advance, > > Paul > > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9c687f9f-dbb1-4f99-891d-a0a5bce53fa7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.