Meh…if you don’t want good 3D accel…just do virtual box. Feature wise it’s better than a real install.
Six of one, half a dozen of the other. Live CDs/USBs just tend to be less intrusive and a lot more portable since there is nothing to install on the hard drive. I’ve had good experiences with both.
I think it worked. Although im not being able to generate the java interface.
I did this :
OPTION(JavaModular “Java Modular” ON)
then i did the instructions. But theres no java interface there.
I think its not looking for the JDK in the right place.
I did cmake -DJavaModular=on
Could NOT find Java (missing: Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE
Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version “1.8.0.25”)
Looking at line 1052 in the file that you posted last, it would appear that cmake is referencing the FindJava.cmake file in the shogun-x.x.x/cmake folder. Editing the “set(_JAVA_PATHS … )” section of the file should allow you to add the path where you have your copy of Java installed into its search locations. Once that’s done, give the compilation process another shot.
Im not sure where to change…
The path is this one
C:\Program Files\Java\jdk1.8.0_31
Im trying this :
# Hard-coded guesses should still go in PATHS. This ensures that the user
# environment can always override hard guesses.
set(_JAVA_PATHS
/usr/lib/java/bin
/usr/share/java/bin
/usr/local/java/bin
/usr/local/java/share/bin
/usr/java/j2sdk1.4.2_04
/usr/lib/j2sdk1.4-sun/bin
/usr/java/j2sdk1.4.2_09/bin
/usr/lib/j2sdk1.5-sun/bin
/opt/sun-jdk-1.5.0.04/bin
/cygdrive/c/Progra~1/Java/jdk1.8.0_31/bin
C:/Program Files/Java/jdk1.8.0_31/bin
)
New Error :
André V Lopes@MasterRevan /cygdrive/d/shogun-4.0.0
$ cmake -DJAVAMODULAR=on
CMake Warning at /usr/share/cmake-2.8.11.2/Modules/Platform/CYGWIN.cmake:15 (mes sage):
CMake no longer defines WIN32 on Cygwin!
(1) If you are just trying to build this project, ignore this warning or
quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
the CMake cache. If later configuration or build errors occur then this
project may have been written under the assumption that Cygwin is WIN32.
In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.
(2) If you are developing this project, add the line
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
at the top of your top-level CMakeLists.txt file or set the minimum
required version of CMake to 2.8.4 or higher. Then teach your project to
build on Cygwin without WIN32.
Call Stack (most recent call first):
/usr/share/cmake-2.8.11.2/Modules/CMakeSystemSpecificInformation.cmake:36 (inc lude)
CMakeLists.txt:7 (project)
-- Found CCache: /usr/bin/ccache.exe
-- Using system's malloc
-- Could NOT find GDB (missing: GDB_COMMAND GDB_VERSION)
-- Could NOT find MOSEK (missing: MOSEK_DIR MOSEK_INCLUDE_DIR MOSEK_LIBRARY)
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find ATLAS (missing: ATLAS_LIBRARIES ATLAS_INCLUDES)
-- Could NOT find CBLAS (missing: CBLAS_LIBRARY)
-- Could NOT find GLPK (missing: GLPK_LIBRARY GLPK_INCLUDE_DIR GLPK_PROPER_VERS ION_FOUND)
-- Could NOT find CPLEX (missing: CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
-- Could NOT find Eigen3 (missing: EIGEN_INCLUDE_DIR) (Required is at least ver sion "3.1.2")
-- Could NOT find OPENCL (missing: OPENCL_LIBRARY OPENCL_INCLUDE_DIR)
-- Could NOT find ViennaCL (missing: VIENNACL_INCLUDE_DIR OPENCL_INCLUDE_DIRS O PENCL_LIBRARIES) (Required is at least version "1.5.0")
-- Could NOT find NLOPT (missing: NLOPT_LIBRARY NLOPT_INCLUDE_DIR)
-- Could NOT find LPSOLVE (missing: LPSOLVE_LIBRARIES LPSOLVE_INCLUDE_DIR)
-- Could NOT find ColPack (missing: COLPACK_LIBRARIES COLPACK_LIBRARY_DIR COLPA CK_INCLUDE_DIR)
-- Could NOT find ARPREC (missing: ARPREC_LIBRARIES ARPREC_INCLUDE_DIR)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find HDF5 (missing: HDF5_INCLUDE_DIRS)
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- Could NOT find SNAPPY (missing: SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR)
-- Lzo includes and libraries NOT found.
-- Spinlock support not found
-- Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
-- NO supported backend(s) for linear algebra libraries found
-- Found Java: C:/Program Files/Java/jdk1.8.0_25/jre/bin/java.exe (found version "1.8.0.25")
CMake Error at /usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.c make:108 (message):
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.cmake:315 (_FP HSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8.11.2/Modules/FindJNI.cmake:249 (FIND_PACKAGE_HANDLE_STAND ARD_ARGS)
CMakeLists.txt:1053 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
André V Lopes@MasterRevan /cygdrive/d/shogun-4.0.0
$
I Tried This :
-- Spinlock support not found
-- Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
-- NO supported backend(s) for linear algebra libraries found
CMake Error at /usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8.11.2/Modules/FindJNI.cmake:266 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:1053 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
It appears that it’s failing to find the jawt.lib and jvm.lib files. Looking at some postings about the issue, maybe the following will help it find what it needs:
JAVA_HOME=C:/Program Files/Java/jdk1.8.0_25 cmake -DJavaModular=ON
My hunch is that it’s searching for the libraries in the jre folder instead of the jdk folder. Setting the environment variable before starting the build process should cause it to look in the correct location. Tracing down compilation errors can feel like going down a rabbit hole at times. :o
THe guy in #shogun said this :
[15:21] <@besser82> AndreLopes, do you have Java SDK installed?
[15:22] <AndreLopes> yes
[15:22] <AndreLopes> It seems it finds the JDK but not JNI
[15:22] <AndreLopes> CMake Error at /usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8.11.2/Modules/FindJNI.cmake:266 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:1053 (FIND_PACKAGE)
[15:27] == abinashm [cb6ef616@gateway/web/freenode/ip.203.110.246.22] has joined #shogun
[15:28] <@besser82> AndreLopes, no it doesn't find the JDK, because in your prior msg it complains about missing executables… It finds the JRE, only…
[15:28] <AndreLopes> Oh
[15:28] <AndreLopes> So what should i do
[15:30] <abinashm> Hey guys, should i install OpenCL for intel or Nvidia?
[15:31] <@besser82> AndreLopes, add `-D_JAVA_HINTS=$REPLACE_WITH_FULL_PATH_TO_JDK_DIR` to your CMake-switches ;)
Idk What he meant.
Anyway i tried what you said and got this :
André V Lopes@MasterRevan /cygdrive/d/shogun-4.0.0
$ JAVA_HOME=C:/Program Files/Java/jdk1.8.0_25 cmake -DJavaModular=ON
-bash: Files/Java/jdk1.8.0_25: No such file or directory
He’s just giving you an another way to set the JDK path from the cmake command line.
That’s my fault. On a *nix like environment, you’ll need to escape any spaces with a backslash. To combine what I told you along with what the guy in #shogun said, try this:
cmake -D_JAVA_HINTS=C:/Program\ Files/Java/jdk1.8.0_25 -DJavaModular=ON
or alternately:
JAVA_HOME=C:/Program\ Files/Java/jdk1.8.0_25 cmake -DJavaModular=ON
André V Lopes@MasterRevan /cygdrive/d/shogun-4.0.0
$ cmake -D_JAVA_HINTS=C:/Program\ Files/Java/jdk1.8.0_25 -DJavaModular=ON
CMake Warning at /usr/share/cmake-2.8.11.2/Modules/Platform/CYGWIN.cmake:15 (message):
CMake no longer defines WIN32 on Cygwin!
(1) If you are just trying to build this project, ignore this warning or
quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
the CMake cache. If later configuration or build errors occur then this
project may have been written under the assumption that Cygwin is WIN32.
In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.
(2) If you are developing this project, add the line
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
at the top of your top-level CMakeLists.txt file or set the minimum
required version of CMake to 2.8.4 or higher. Then teach your project to
build on Cygwin without WIN32.
Call Stack (most recent call first):
/usr/share/cmake-2.8.11.2/Modules/CMakeSystemSpecificInformation.cmake:36 (include)
CMakeLists.txt:7 (project)
-- Using system's malloc
-- Could NOT find GDB (missing: GDB_COMMAND GDB_VERSION)
-- Could NOT find MOSEK (missing: MOSEK_DIR MOSEK_INCLUDE_DIR MOSEK_LIBRARY)
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find ATLAS (missing: ATLAS_LIBRARIES ATLAS_INCLUDES)
-- Could NOT find CBLAS (missing: CBLAS_LIBRARY)
-- Could NOT find GLPK (missing: GLPK_LIBRARY GLPK_INCLUDE_DIR GLPK_PROPER_VERSION_FOUND)
-- Could NOT find CPLEX (missing: CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
-- Could NOT find Eigen3 (missing: EIGEN_INCLUDE_DIR) (Required is at least version "3.1.2")
-- Could NOT find OPENCL (missing: OPENCL_LIBRARY OPENCL_INCLUDE_DIR)
-- Could NOT find ViennaCL (missing: VIENNACL_INCLUDE_DIR OPENCL_INCLUDE_DIRS OPENCL_LIBRARIES) (Required is at least version "1.5.0")
-- Could NOT find NLOPT (missing: NLOPT_LIBRARY NLOPT_INCLUDE_DIR)
-- Could NOT find LPSOLVE (missing: LPSOLVE_LIBRARIES LPSOLVE_INCLUDE_DIR)
-- Could NOT find ColPack (missing: COLPACK_LIBRARIES COLPACK_LIBRARY_DIR COLPACK_INCLUDE_DIR)
-- Could NOT find ARPREC (missing: ARPREC_LIBRARIES ARPREC_INCLUDE_DIR)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Could NOT find HDF5 (missing: HDF5_INCLUDE_DIRS)
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- Could NOT find SNAPPY (missing: SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIR)
-- Lzo includes and libraries NOT found.
-- Spinlock support not found
-- Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
-- NO supported backend(s) for linear algebra libraries found
CMake Error at /usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8.11.2/Modules/FindJNI.cmake:266 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:1053 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
JAVA_HOME=C:/Program\ Files/Java/jdk1.8.0_25 cmake -DJavaModular=ON
Also gives the same error
Ok, looks like it’s still having trouble locating the includes. I have cygwin installing here to try out a few things, but it’s taking a while. Let me make another “shot in the dark” suggestion. Modify the CMAKE_CXX_FLAGS line in your CmakeLists.txt file to the following:
SET(CMAKE_CXX_FLAGS "-U__STRICT_ANSI__ -IC:/Program\ Files/Java/jdk1.8.0_25/include ${CMAKE_CXX_FLAGS}")
This should tell the compiler and linker to look in the JDK include directory for the jni and awt header files.
Once cygwin finishes configuring here, I’ll have a crack at compiling Shogun if the above change still doesn’t resolve the issue for you.
Error
-- Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
-- NO supported backend(s) for linear algebra libraries found
CMake Error at /usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-2.8.11.2/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8.11.2/Modules/FindJNI.cmake:266 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:1055 (FIND_PACKAGE)
As you requested on PM :
André V Lopes@MasterRevan ~
$ which java
/cygdrive/c/ProgramData/Oracle/Java/javapath/java
André V Lopes@MasterRevan ~
$
Well, the good news is that I figured out how to hack, and when I say hack I mean Amazon deforestation levels of hack, around the JNI issue. The bad news is that there’s another required library that will need to be built. :persecutioncomplex:
Note: You may want to delete and re-extract the shogun source directory before doing the following.
Anyway, this is the hack to get around the JNI issue:
- In windows explorer, go to the directory you installed cygwin to and create a new folder named opt.
- Copy your C:\Program Files\Java\jdk1.8.0_25 folder into the newly created opt folder, and rename it to jdk. Your directory structure will then be /opt/jdk.
- Open the FindJava.cmake file located in the /cmake directory in you favorite text editor.
- Locate the section that has the header comment # environment can always override hard guesses. You’ll see a list of paths below it surrounded by a set(…) statement. Add the path, /opt/jdk/bin to the bottom of the list before the closing parentheses, then save and close the file.
- Get ready for the real fun to begin. Open the FindJNI.cmake file located in the /usr/share/cmake-2.8.11.2/Modules directory in you favorite text editor. (The fact that we’re editing system files in this manner should be a red flag that there may be a more sane way to approach this, but it’s Friday night, so yeah…)
- Locate the line that says if(APPLE) and insert the following lines directly above it:
set(JAVA_INCLUDE_PATH "/opt/jdk/include")
set(JAVA_AWT_INCLUDE_DIRECTORIES ${JAVA_INCLUDE_PATH})
set(JAVA_AWT_LIBRARY_DIRECTORIES "/opt/jdk/lib")
set(JAVA_AWT_LIBRARY ${JAVA_AWT_LIBRARY_DIRECTORIES})
set(JAVA_JVM_LIBRARY_DIRECTORIES ${JAVA_AWT_LIBRARY_DIRECTORIES})
set(JAVA_JVM_LIBRARY ${JAVA_AWT_LIBRARY_DIRECTORIES})
- Close and save the file then pray that the elder gods’ slumber was deep enough for them not to notice this transgression. :persecutioncomplex:
- Go to your source directory in cygwin and issue the cmake -DJavaModular=ON command again.
If all went well, you’ll be informed that JBlas is a required dependency. (The rabbit hole gets deeper.) Give the above a try and let me know where you end up. If you get to the same point that I did, try building JBlas. If that one gives you trouble, we’ll break out the bloody axes again and hack it till it works.
In all seriousness, you may have an easier time doing this on an actual Linux distro running in a virtual machine or off of a live cd/usb. There would be a lot less hacking of core files. Either way, I hope the above helps you around the current situation.
Hey
-- Found JNI: /opt/jdk/lib
CMake Error at CMakeLists.txt:1065 (MESSAGE):
JBlas could not be found!
How i build JBlas?
Sorry about the delay in this step. Had a pretty rough weekend, and I just now got the chance to post.
I’ve found that JBlas has a .jar distribution, so we can sidestep building it. You can download the jar file from here. Just grab the latest version (1.2.3).
So here are the steps to include it in the build:
- Copy the downloaded JBlas jar file to your /shogun-4.0.0 directory.
- Open the CMakeLists.txt file in your favorite text editor.
- Locate the line that looks like the following:
FIND_JAR(JBLAS NAMES jblas jblas-1.2.0
and update it to reflect the downloaded version of the jar (for example):
FIND_JAR(JBLAS NAMES jblas jblas-1.2.3
- Directly below that line will be a line that contains paths that will be searched for the jar file. Edit it to look like the following:
/usr/lib/java /opt/local/share/java ./
Basically were telling it to search the current build directory.
5. Save and exit the file. You are now ready to run the build procedure again.
Fair warning, I received a compile error somewhere in the 70% completion range. Since it was more code related than configuration related, I can’t say for certain where the fault lies. Google may be your best bet if you get the same issue. Either way, give it a shot, and let us know how it goes.
I can’t help but keep thinking: “free” software frequently means you place zero value on your time.
[ 73%] Building C object src/shogun/CMakeFiles/libshogun.dir/lib/external/dSFMT/ dSFMT.c.o
[ 73%] Building C object src/shogun/CMakeFiles/libshogun.dir/lib/external/PMurHa sh.c.o
[ 73%] Building C object src/shogun/CMakeFiles/libshogun.dir/lib/external/SFMT/S FMT.c.o
[ 73%] Built target libshogun
Scanning dependencies of target shogun
Linking CXX shared library cygshogun-17.dll
[ 73%] Built target shogun
Scanning dependencies of target java_modular_src
make[2]: Dependência circular src/interfaces/java_modular/swig_typemaps.i <- src /interfaces/java_modular/swig_typemaps.i abandonada.
[ 73%] copying SWIG files
[ 73%] Built target java_modular_src
make[2]: Dependência circular src/interfaces/java_modular/swig_typemaps.i <- src /interfaces/java_modular/swig_typemaps.i abandonada.
[ 73%] Swig source
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/Math.h:1401: Warning 314: 'byte' is a java keyword, renaming to '_byte'
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/linalg/ratapprox/opfunc/Rational Approximation.h:63: Warning 401: Nothing known about base class 'COperatorFuncti on< float64_t >'. Ignored.
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/linalg/ratapprox/opfunc/Rational Approximation.h:63: Warning 401: Maybe you forgot to instantiate 'COperatorFunct ion< float64_t >' using %template.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGSparseMatrix.h:94: Warning 503: Can't wrap 'operator *' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:116: Warning 503: Can't wrap 'operator *=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:123: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:130: Warning 503: Can't wrap 'operator -=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:116: Warning 503: Can't wrap 'operator *=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:123: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:130: Warning 503: Can't wrap 'operator -=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:116: Warning 503: Can't wrap 'operator *=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:123: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:130: Warning 503: Can't wrap 'operator -=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:116: Warning 503: Can't wrap 'operator *=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:123: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:130: Warning 503: Can't wrap 'operator -=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:116: Warning 503: Can't wrap 'operator *=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:123: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:130: Warning 503: Can't wrap 'operator -=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:116: Warning 503: Can't wrap 'operator *=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:123: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:130: Warning 503: Can't wrap 'operator -=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:116: Warning 503: Can't wrap 'operator *=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:123: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:130: Warning 503: Can't wrap 'operator -=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:116: Warning 503: Can't wrap 'operator *=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:123: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:130: Warning 503: Can't wrap 'operator -=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:116: Warning 503: Can't wrap 'operator *=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:123: Warning 503: Can't wrap 'operator +=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/SGNDArray.h:130: Warning 503: Can't wrap 'operator -=' unless renamed to a valid identifier.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< char >::element(int32_t,int32_t,int32_t) ignor ed,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< char >::element(int32_t,int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< char >::element(int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< char >::element(int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< char >::element(int32_t,int32_t,int32_t) const ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< char >::element(int32_t,int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< char >::element(int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< char >::element(int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< char >::element(int32_t,int32_t) const ignored ,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< char >::element(int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< uint8_t >::element(int32_t,int32_t,int32_t) ig nored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< uint8_t >::element(int32_t,int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< uint8_t >::element(int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< uint8_t >::element(int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< uint8_t >::element(int32_t,int32_t,int32_t) co nst ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< uint8_t >::element(int32_t,int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< uint8_t >::element(int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< uint8_t >::element(int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< uint8_t >::element(int32_t,int32_t) const igno red,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< uint8_t >::element(int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< uint16_t >::element(int32_t,int32_t,int32_t) i gnored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< uint16_t >::element(int32_t,int32_t,int32_t) const instead .
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< uint16_t >::element(int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< uint16_t >::element(int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< uint16_t >::element(int32_t,int32_t,int32_t) c onst ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< uint16_t >::element(int32_t,int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< uint16_t >::element(int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< uint16_t >::element(int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< uint16_t >::element(int32_t,int32_t) const ign ored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< uint16_t >::element(int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< int32_t >::element(int32_t,int32_t,int32_t) ig nored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< int32_t >::element(int32_t,int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< int32_t >::element(int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< int32_t >::element(int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< int32_t >::element(int32_t,int32_t,int32_t) co nst ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< int32_t >::element(int32_t,int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< int32_t >::element(int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< int32_t >::element(int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< int32_t >::element(int32_t,int32_t) const igno red,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< int32_t >::element(int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< int64_t >::element(int32_t,int32_t,int32_t) ig nored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< int64_t >::element(int32_t,int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< int64_t >::element(int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< int64_t >::element(int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< int64_t >::element(int32_t,int32_t,int32_t) co nst ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< int64_t >::element(int32_t,int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< int64_t >::element(int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< int64_t >::element(int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< int64_t >::element(int32_t,int32_t) const igno red,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< int64_t >::element(int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< uint64_t >::element(int32_t,int32_t,int32_t) i gnored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< uint64_t >::element(int32_t,int32_t,int32_t) const instead .
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< uint64_t >::element(int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< uint64_t >::element(int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< uint64_t >::element(int32_t,int32_t,int32_t) c onst ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< uint64_t >::element(int32_t,int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< uint64_t >::element(int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< uint64_t >::element(int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< uint64_t >::element(int32_t,int32_t) const ign ored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< uint64_t >::element(int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< float32_t >::element(int32_t,int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< float32_t >::element(int32_t,int32_t,int32_t) const instea d.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< float32_t >::element(int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< float32_t >::element(int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< float32_t >::element(int32_t,int32_t,int32_t) const ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< float32_t >::element(int32_t,int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< float32_t >::element(int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< float32_t >::element(int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< float32_t >::element(int32_t,int32_t) const ig nored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< float32_t >::element(int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< float64_t >::element(int32_t,int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< float64_t >::element(int32_t,int32_t,int32_t) const instea d.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< float64_t >::element(int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< float64_t >::element(int32_t,int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< float64_t >::element(int32_t,int32_t,int32_t) const ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< float64_t >::element(int32_t,int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: Overloa ded method shogun::CDynamicArray< float64_t >::element(int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: using s hogun::CDynamicArray< float64_t >::element(int32_t) const instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:227: Warning 516: Overloa ded method shogun::CDynamicArray< float64_t >::element(int32_t,int32_t) const ig nored,
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DynamicArray.h:239: Warning 516: using s hogun::CDynamicArray< float64_t >::element(int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/DelimiterTokenizer.h:82: Warning 822: Co variant return types not supported in Java. Proxy method will return shogun::CTo kenizer *.
/cygdrive/d/shogun-4.0.0/src/shogun/lib/NGramTokenizer.h:72: Warning 822: Covari ant return types not supported in Java. Proxy method will return shogun::CTokeni zer *.
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/Math.h:1050: Warning 516: Overlo aded method shogun::CMath::random(uint32_t,uint32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/Math.h:1030: Warning 516: using shogun::CMath::random(uint64_t,uint64_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/Math.h:1060: Warning 516: Overlo aded method shogun::CMath::random(int32_t,int32_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/Math.h:1040: Warning 516: using shogun::CMath::random(int64_t,int64_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/Math.h:1030: Warning 516: Overlo aded method shogun::CMath::random(uint64_t,uint64_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/Math.h:1050: Warning 516: using shogun::CMath::random(uint32_t,uint32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/Math.h:1040: Warning 516: Overlo aded method shogun::CMath::random(int64_t,int64_t) ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/mathematics/Math.h:1060: Warning 516: using shogun::CMath::random(int32_t,int32_t) instead.
/cygdrive/d/shogun-4.0.0/src/shogun/structure/FactorType.h:62: Warning 516: Over loaded method shogun::CFactorType::get_w() const ignored,
/cygdrive/d/shogun-4.0.0/src/shogun/structure/FactorType.h:59: Warning 516: usin g shogun::CFactorType::get_w() instead.
Scanning dependencies of target java_modular
make[2]: Dependência circular src/interfaces/java_modular/swig_typemaps.i <- src /interfaces/java_modular/swig_typemaps.i abandonada.
[ 73%] Building CXX object src/interfaces/java_modular/CMakeFiles/java_modular.d ir/modshogunJAVA_wrap.cxx.o
[ 73%] Building CXX object src/interfaces/java_modular/CMakeFiles/java_modular.d ir/sg_print_functions.cpp.o
Linking CXX shared module cygmodshogun.dll
Compiling Java files...
javac: directory not found: /cygdrive/d/shogun-4.0.0/src/interfaces/java_modular /shogun_jar
Usage: javac <options> <source files>
use -help for a list of possible options
src/interfaces/java_modular/CMakeFiles/java_modular.dir/build.make:358: recipe f or target 'src/interfaces/java_modular/cygmodshogun.dll' failed
make[2]: *** [src/interfaces/java_modular/cygmodshogun.dll] Error 2
CMakeFiles/Makefile2:80: recipe for target 'src/interfaces/java_modular/CMakeFil es/java_modular.dir/all' failed
make[1]: *** [src/interfaces/java_modular/CMakeFiles/java_modular.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
André V Lopes@MasterRevan /cygdrive/d/shogun-4.0.0
$