Hi everybody,
I use CMake to wrap a c++ library in Java with swig. When I use linux OS
it works very well, but when I use windows OS there is a problem.
Indeed, the compilation works fine but the dll has not the correct
method/fonction inside. After several researches on the web I find I
must use
Are you sure you don't just need an:
extern C {
}
block around a function implemented in a C++ file...?
On Thu, Aug 4, 2011 at 7:30 AM, Benjamin Ruard ru...@artenum.com wrote:
Hi everybody,
I use CMake to wrap a c++ library in Java with swig. When I use linux OS
it works very well, but when
Thanks for your answer, but
The block:
extern C {
...
}
already exists.
Regards.
Benjamin JEANTY-RUARD
Le jeudi 04 août 2011 à 08:40 -0400, David Cole a écrit :
Are you sure you don't just need an:
extern C {
}
block around a function implemented in a C++ file...?
On Thu, Aug 4,
Anybody want to take a stab at this? Maybe point me to the e-mail
address of somebody who could help. I've read what documentation
exists and poked around the source code to no avail. Google gives no
helpful answers.
Thanks,
--Chris
On Sun, Mar 21, 2010 at 11:20 PM, Chris Hamons
Hello everyone,
I'm having trouble mixing cmake and swig to make a
java JNI module. It looks roughly:
IF(DEFINED SWIG_JAVA)
FIND_PACKAGE(JNI REQUIRED)
include_directories(${JNI_INCLUDE_DIRS})
SET(CMAKE_SWIG_OUTDIR
Dear all,
Anybody has a template file (CMakeLists.txt) to use swig create R wrapper and
compile a c++ library for R package?
(The c++ library includes several subdirecotories).
Thank you,
Shenghua Li
___
Powered by www.kitware.com
Hi Mathieu,
I have been off the line for a while because of the network security
policy of my new client and my new internet provider who needs almost
a month to activate a line :/
Anyway I don't have much time to allocate to maintain the swig module
anymore. Some issues are still pending, I am
Hi,
I'd like to become the new maintainer of the swig module in cmake. I
have not heard back from Tristan Carel.
I have updated my name on : http://www.cmake.org/Wiki/CMake:Module_Maintainers
Thank you,
--
Mathieu
___
Powered by www.kitware.com
Bill Spotz wrote:
So I was able to solve my problem of duplicate python target names
generated from SWIG interface files:
PyTrilinos/NOX/___init__.so
PyTrilinos/NOX/Epetra/___init__.so
by overhauling UseSWIG.cmake to take advantage of the OUTPUT_NAME
property of the
Hello,
I am the developer of PyTrilinos, the python interface to Trilinos and
I have hit upon some unexpected behavior.
I am trying to wrap the interface to NOX, which utilizes nested
namespaces. I shadow this structure in python by utilizing nested
modules. For example, a subset of
Hallo everybody,
may I have two more simple questions about CMake and SWIG module?
The first is connected to the setting of SWIG parameters - when I create
wrapper for Java, I need to set -package name to SWIG.
It is impossible to set is as:
SET_SOURCE_FILES_PROPERTIES( ErisJava.i
Great, this is a good idea, thank you very much!
I have tried to create wrap/python/ModulePy.i including the original
wrap/Module.i only, and when it was called as
.../python $ swig -c++ -python -I../ Module.py
everything seemed to be OK (well, I did not try to compile it, I just
I am sorry - the previous mail was wrong. The directives:
SET_SOURCE_FILES_PROPERTIES( ErisPython.i PROPERTIES CPLUSPLUS
ON )
SET_SOURCE_FILES_PROPERTIES( ErisPython.i PROPERTIES SWIG_FLAGS -I../)
seems to work fine. The -I../ flag is set in the SWIG call. I had to miss
13 matches
Mail list logo