std_container.i for Java?
Kustaa Nyholm <[email protected]>
| Newsgroups | gmane.comp.programming.swig |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to use the very nice OpenCascade SWIG interface files from pythonOCC with Java.
However it never gets anywhere because (I guess) missing std_container.i for Java.
pythonOCC uses CMake and when I modified it to produce Java like this:
swig_add_module(${OCE_MODULE} python ${FILE})
=>
swig_add_module(${OCE_MODULE} java ${FILE})
the 'cmake' configuration runs to completion and produces a Makefile but when I make it I get:
[ 0%] Swig compile src/SWIG_files/wrapper/IGESCAFControl.i for java
/usr/local/Cellar/swig/4.0.2/share/swig/4.0.2/std/std_list.i:5: Error: Unable to find 'std_container.i'
make[2]: *** [CMakeFiles/IGESCAFControl.dir/IGESCAFControlJAVA.stamp] Error 1
make[2]: *** Deleting file `CMakeFiles/IGESCAFControl.dir/IGESCAFControlJAVA.stamp'
make[1]: *** [CMakeFiles/IGESCAFControl_swig_compilation.dir/all] Error 2
make: *** [all] Error 2
Looking for it:
ls /usr/local/Cellar/swig/4.0.2/share/swig/4.0.2/java/
arrays_java.i enumsimple.swg javakw.swg std_except.i std_shared_ptr.i std_wstring.i
boost_intrusive_ptr.i enumtypesafe.swg std_array.i std_list.i std_string.i stl.i
boost_shared_ptr.i enumtypeunsafe.swg std_auto_ptr.i std_map.i std_unordered_map.i swiginterface.i
director.swg java.swg std_common.i std_pair.i std_unordered_set.i typemaps.i
enums.swg javahead.swg std_deque.i std_set.i std_vector.i various.i
I see it is not there although some other std_ stuff exists.
Is there a special reason for the omission or is it just that no-one has created it?
Is it a mammoth task for mortals to create it by myself?
Are there alternative approaches?
wbr Kusti