Build Errors on TX2 on compiling C# software?

Hi

I’ve been trying to execute a deep learning code named ‘EvoNet’ implemented with C# on TX2.
First the software package is downloaded as following command:
git clone GitHub - pampersrocker/EvoNet: Evolution Simulation in XNA Refresh

Second the package is supposed to be compiled.
xbuild /p:Configuration=Debug EvoNet.sln

But the following errors are occurred.

/home/nvidia/VS/EvoNet/EvoNet.sln (default targets) →
(Build target) →
/home/nvidia/VS/EvoNet/Graph/Graph.csproj (default targets) →
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) →

    CSC: error CS1672: Invalid option '-1463025664' for /platform; must be anycpu, x86, Itanium, arm, arm64 or x64

     4 Warning(s)
     2 Error(s)

How can the errors are fixed?

Thanks in advance.

Hi,

It looks like you use the incorrect platform flag:

CSC: error CS1672: Invalid option '<b>-1463025664</b>' for /platform; must be anycpu, x86, Itanium, arm, arm64 or x64

You will need to set platform to arm64 to make it compatible on Jetson.
Thanks.

Hi

I know what you are saying, but how to set arm64 as /platform?
Even though I searched /platform attribute, I couldn’t find the parameter.

Thanks.

Hi,

You will need .sln file for ARM64.
[url]https://github.com/pampersrocker/EvoNet/blob/master/EvoNet.sln[/url]

Maybe you need to recreate it with VS.
Thanks.