Hi guys,
I've been trying to build ibr-dtn for android on OS X 10.11. When I try to build the java code, there was an error:
ibrdtn/android/app/src/main/java/de/tubs/ibr/dtn/stats/StatsEntry.java:16: error: package de.tubs.ibr.dtn.swig does not exist I notice that I should probably run generate_swig_classes.sh first, but in that script, the output was set to *src*/de/tubs/ibr/dtn/swig/ instead of *java*/de/tubs/ibr/dtn/swig/. If I copy the folder (*src*/de/tubs/ibr/dtn/swig/) to the latter one, it compiles successfully.
Is this a typo in the script?
Best regards, Chen
Hi,
yes this is a typo. I fixed it in https://github.com/ibrdtn/ibrdtn/pull/209
But the swig step should have already happended (with correct pathes) if you used the build.sh script.
Cheers Dominik
On 05/10/2016 09:42 PM, Chen Yang wrote:
Hi guys,
I've been trying to build ibr-dtn for android on OS X 10.11. When I try to build the java code, there was an error:
ibrdtn/android/app/src/main/java/de/tubs/ibr/dtn/stats/StatsEntry.java:16: error: package de.tubs.ibr.dtn.swig does not exist
I notice that I should probably run generate_swig_classes.sh first, but in that script, the output was set to *src*/de/tubs/ibr/dtn/swig/ instead of *java*/de/tubs/ibr/dtn/swig/. If I copy the folder (*src*/de/tubs/ibr/dtn/swig/) to the latter one, it compiles successfully.
Is this a typo in the script?
Best regards, Chen
participants (2)
-
Chen Yang
-
Dominik Schürmann