During a build on 64-bit machine, serial port tests fail and build stops with "amd64 architecture is not supported".
Its because of unknown arch name during architecture recognizing.
os.arch returns "amd64", while tellervo expects "x86-64" in RxTxNativeLoader.java:
if(os.startsWith("Windows"))
{
if(arch.equals("x86"))
{
lib = "/Libraries/windows-i586/rxtxSerial.dll";
}
else if (arch.equals("x86-64"))
{
lib = "/Libraries/windows-amd64/rxtxSerial.dll";
}
else
{
throw new Exception(arch+" architecture is not supported");
}
}
During a build on 64-bit machine, serial port tests fail and build stops with "amd64 architecture is not supported". Its because of unknown arch name during architecture recognizing. os.arch returns "amd64", while tellervo expects "x86-64" in RxTxNativeLoader.java:
if(os.startsWith("Windows")) { if(arch.equals("x86")) { lib = "/Libraries/windows-i586/rxtxSerial.dll"; } else if (arch.equals("x86-64")) { lib = "/Libraries/windows-amd64/rxtxSerial.dll"; } else { throw new Exception(arch+" architecture is not supported"); } }