[exec] Using shared compilation with compiler from directory: C:\Program Files (x86)\MSBuild\14.0\Bin
[exec] src\com\codename1\ext\codescan\NativeCodeScannerImplFactoryImpl.cs(6,20): error CS0266: Cannot implicitly convert type 'com.codename1.ext.codescan.NativeCodeScannerImpl' to 'com.codename1.ext.codescan.INativeCodeScannerImpl'. An explicit conversion exists (are you missing a cast?) [C:\Users\CODENA~1\AppData\Local\Temp\build5797645440146484432xxx\TestProject\UWPProject\UWPApp\UWPApp.csproj]
[exec] Done Building Project "C:\Users\CODENA~1\AppData\Local\Temp\build5797645440146484432xxx\TestProject\UWPProject\UWPApp\UWPApp.csproj" (default targets) -- FAILED.
[exec]
[exec] Build FAILED.
[exec]
[exec] "C:\Users\CODENA~1\AppData\Local\Temp\build5797645440146484432xxx\TestProject\UWPProject\UWPApp\UWPApp.csproj" (default target) (1) ->
[exec] (XamlPreCompile target) ->
[exec] src\com\codename1\ext\codescan\NativeCodeScannerImplFactoryImpl.cs(6,20): error CS0266: Cannot implicitly convert type 'com.codename1.ext.codescan.NativeCodeScannerImpl' to 'com.codename1.ext.codescan.INativeCodeScannerImpl'. An explicit conversion exists (are you missing a cast?) [C:\Users\CODENA~1\AppData\Local\Temp\build5797645440146484432xxx\TestProject\UWPProject\UWPApp\UWPApp.csproj]
[exec]
[exec] 0 Warning(s)
[exec] 1 Error(s)
[exec]
[exec] Time Elapsed 00:00:09.63
BUILD FAILED
C:\Users\CODENA~1\AppData\Local\Temp\build5797645440146484432xxx\TestProject\build-win.xml:64: exec returned: 1
Total time: 40 seconds
Failed to build UWP app.--
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+unsub...@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/301750e7-ef2a-4662-9654-3d80508a7863%40googlegroups.com.
$ cd cn1-codescan-master
$ ant -f configure.xml
$ ant jar--
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+unsub...@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/04cba1c5-904f-4e33-ac5c-d8660c052ec2%40googlegroups.com.
Thank you, that seems to have been it. I deleted the folder and unzipped the file again and followed the instructions without opening the project first in Netbeans and I now have a new cn1lib.
On Tuesday, November 15, 2016 at 10:46:05 AM UTC-8, Steve Hannah wrote:
Sounds like you may have overwritten the build.xml file which had some modifications. Re-copy the build.xml file from github into your project's build.xml, and go through the build steps again.Steve
On Tue, Nov 15, 2016 at 10:42 AM, mcw <mwar...@readerware.com> wrote:
I went to that page and clicked the Clone or Download button and chose the Download Zip option.
I then unzipped the file and was able to open it in Netbeans and build.
From the Windows command line I did:$ cd cn1-codescan-master $ ant -f configure.xml $ ant jar
All steps completed successfully but dist only contained the jar file, no cn1lib
On Monday, November 14, 2016 at 6:05:17 PM UTC-8, Steve Hannah wrote:Did you follow the instructions for building from source?
--
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/04cba1c5-904f-4e33-ac5c-d8660c052ec2%40googlegroups.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 codenameone-discussions+unsub...@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/e0135c7a-2a01-406a-a023-834cd78ecc2d%40googlegroups.com.