Re: Unresolved external symbol errors when linking example native c++ code that uses jcc

2010-10-27 Thread Imre András
Andi Vajda írta: > Using JCC in your project is a two-step process. First get JCC to generate > the C++ wraper code for the Java code you want access to. This is, > hopefully, well documented on the JCC site [1]. Then take that generated > code tree and the necessary JCC runtime source files [2]

Re: Unresolved external symbol errors when linking example native c++ code that uses jcc

2010-10-24 Thread Imre András
Hi Andi, Sorry, I do not get your point. There was no error for jcc generating the code that wraps Native2Java.class. The problem occurs during linking some client code which uses this generated wrapper. Do I miss something here? Any tips where these symbols may emerge from? I really could not

Re: Unresolved external symbol errors when linking example native c++ code that uses jcc

2010-10-22 Thread Imre András
Hi, Ok, thanks. After resolving this I got the following error: jcc.cpp(294) : error C2039: 'fromJString' : is not a member of 'JCCEnv' As I see this method is present in JCCEnv.h, but an #ifdef PYTHON directive prevents to make it available for the tier code I intended to write which would hav

Re: Unresolved external symbol errors when linking example native c++ code that uses jcc

2010-10-21 Thread Andi Vajda
On Oct 21, 2010, at 4:39, Imre András wrote: Hi list, I intend to use jcc to ease calling Java code from native code. I managed to build and install it. Now I try to build my first test code from within MS VS 2010 Win32 console app project. Despite setting up the libs and includes I sti

Re: Unresolved external symbol errors when linking example native c++ code that uses jcc

2010-10-21 Thread Christian Heimes
Am 21.10.2010 13:39, schrieb Imre András: > Hi list, > > I intend to use jcc to ease calling Java code from native code. I managed to > build and install it. Now I try to build my first test code from within MS VS > 2010 Win32 console app project. Despite setting up the libs and includes I > st

Unresolved external symbol errors when linking example native c++ code that uses jcc

2010-10-21 Thread Imre András
Hi list, I intend to use jcc to ease calling Java code from native code. I managed to build and install it. Now I try to build my first test code from within MS VS 2010 Win32 console app project. Despite setting up the libs and includes I still get linker errors: --