Closed espositomarco closed 1 year ago
I will look into that soon. Thanks for reporting this issue.
I have made a few changes to prevent this bug. These changes are available in the master and develop branches. Right now it is NOT available in the Nomad tar.gz.
Mostly, I added a directive to build EvalParameters.java and define a class for EvalParameters in jNomad.i. (in directory interfaces/jNomad). I also replaced a hardcoded template name used in jNomad CMakeLists.txt. I have added a CMake variable NOMAD_SRC_TEMPLATE in the root CMakeLists.txt.
I just tried building the master branch with the Java interface and I got the exact same error as before. I even tried to modify the interfaces/jNomad/CMakeFiles.txt file and use the new variable you created, but I still get the same "no rule to make..." error.
I'm using the same Dockerfile as before, I just replaced the .tar.gz download with the git clone.
I will look into that as soon as possible.
This target 'interfaces/jNomad/SWIGTYPE_p_NOMAD_4_1__EvalParameters.java' is not really needed (and NOMAD_4_1 is the wrong version).
I have fixed this in Develop and Master branches. It will available in next tagged version 4.3.
OS: Debian "bullseye" Nomad version: 4.2
When building the Java wrapper, following the instructions in
interfaces/jNomad/Readme
, I get the following error:and cmake exits with error code 2.
Here is the complete Dockerfile I'm using:
I was able to build the C and Python interfaces without a problem.
Any help would be greatly appreciated!