You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build ohNet from the master current at the time of raising this issue. On Windows 10, with the ultimate aim of getting Android libraries for an app I'm developing. I've hit a few of problems with the build. This is the first time I've tried to build ohNet, so I apologise if these are caused by not having a correct build environment.
I get a python error. I have Python 3.8 and I assuming this is because print changed to a function and I can bracket 'print' calls in bundle-binaries.py to fix this.
python bundle_binaries.py --system Windows --architecture x86 --configuration Release
File "bundle_binaries.py", line 124
print "Too many arguments."
Trying to build java bindings on Windows 10 using jdk11.02 I get errors. I removed -Xbootclasspath entries from javac commands to get the build through.
"C:\Program Files\Java\jdk-11.0.2\bin\javac.exe" -classpath OpenHome\Net\Bindings\Java\ -d Build\Obj\Windows\Release\ -Xbootclasspath:"C:\Program Files\Java\jdk-11.0.2/jre/lib/rt.jar" -target 1.6 -source 1.6 OpenHome\Net\Bindings\Java\org/openhome/net/controlpoint/Argument.java
warning: [options] source value 6 is obsolete and will be removed in a future release
warning: [options] target value 1.6 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
NMAKE : fatal error U1077: '"C:\Program Files\Java\jdk-11.0.2\bin\javac.exe"' : return code '0x3'
Stop.
Building the ohNetAndroidNative target I get the following error. I'm assuming that in this case cp should be copy. I'm not sure where or how best to fix this particular issue.
[x86] Compile : ohNetJni <= ResourceWriter.c
[x86] Compile : ohNetJni <= SubnetList.c
[x86] SharedLibrary : libohNetJni.so
[x86] Install : libohNetJni.so => libs/x86/libohNetJni.so
make: Leaving directory 'D:/ohNet-master/OpenHome/Net/Bindings/Android/jni'
Scripts\mkdir.bat Build\Obj\Windows\Release\
Scripts\mkdir.bat Build\Obj\Windows\Release\arm64-v8a
Scripts\mkdir.bat Build\Obj\Windows\Release\armeabi-v7a
Scripts\mkdir.bat Build\Obj\Windows\Release\x86
Scripts\mkdir.bat Build\Obj\Windows\Release\x86_64
cp OpenHome/Net/Bindings/Android/libs//arm64-v8a/libohNet.so Build\Obj\Windows\Release\arm64-v8a
'cp' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'cp' : return code '0x1'
Stop.
The text was updated successfully, but these errors were encountered:
I'm trying to build ohNet from the master current at the time of raising this issue. On Windows 10, with the ultimate aim of getting Android libraries for an app I'm developing. I've hit a few of problems with the build. This is the first time I've tried to build ohNet, so I apologise if these are caused by not having a correct build environment.
I get a python error. I have Python 3.8 and I assuming this is because print changed to a function and I can bracket 'print' calls in bundle-binaries.py to fix this.
Trying to build java bindings on Windows 10 using jdk11.02 I get errors. I removed -Xbootclasspath entries from javac commands to get the build through.
Building the ohNetAndroidNative target I get the following error. I'm assuming that in this case cp should be copy. I'm not sure where or how best to fix this particular issue.
The text was updated successfully, but these errors were encountered: