Thanks Steve - I may have it though, I placed some source code out of the 
library zip into my source folder - which I shouldn't have done - I think 
this is what's causing the error rather than the library itself... when I 
can get out of meetings (and if there's time today) I shall find out. If so 
I'll confirm on here tomorrow.

Thanks for the reply though,

Paul

On Tuesday, July 26, 2016 at 5:00:31 PM UTC+1, Steve Hannah wrote:

> Try to do a Clean.  Then Refresh CN1 LIbs.  Then try a build again.  See 
> if that kick-starts it.
>
> On Tue, Jul 26, 2016 at 2:42 AM, <[email protected] <javascript:>> 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
>>
>> 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/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/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:/Users/administrator/.jenv/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/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-generated-files.hmap
>>  
>> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-own-target-headers.hmap
>>  
>> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-all-target-headers.hmap
>>  
>> -iquote 
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-project-headers.hmap
>>  
>> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/Release-iphoneos/include
>>  
>> -I/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
>>  
>> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources/armv7
>>  
>> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources
>>  
>> -F/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/Release-iphoneos
>>  
>> -include 
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/C/com.apple.DeveloperTools/6.0.1-6A317/Xcode/SharedPrecompiledHeaders/ApplicationWrapper-Prefix-fntfsatmzprngoekkhddckrvegfg/ApplicationWrapper-Prefix.pch
>>  
>> -MMD -MT dependencies -MF 
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.d
>>  
>> --serialize-diagnostics 
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.dia
>>  
>> -c 
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m
>>  
>> -o 
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build7058000107000510609xxx/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"
>>         ^
>> 1 error generated.
>>
>>
>> -- 
>> 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 [email protected] 
>> <javascript:>.
>> 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/875b6472-f4f4-49e9-a457-b12cc6d2743a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/875b6472-f4f4-49e9-a457-b12cc6d2743a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
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 [email protected].
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/adb52499-a18f-4dd0-8d88-92675ecdcdab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to