[CMake] CMake and swig problem

Ian.Appru at ubs.com Ian.Appru at ubs.com
Thu Feb 23 12:54:37 EST 2006


I have retried my swig build with a version of cmake downloaded
yesterday
>cmake --version
>cmake version 2.3-20060222

Problem still exists - the solaris lib is generated as MyJNI.so rather
than libMyJNI.so.

On a side-note the bootstrap script fails due to ./Tests/CMakeTests dir
not existing
Root CMakeLists.txt has
SUBDIRS(Source Modules Templates Utilities Tests/CMakeTests)

Removing - Tests/CMakeTests got the build working

Regards
Ian

-----Original Message-----
From: William A. Hoffman [mailto:billlist at nycap.rr.com] 
Sent: 22 February 2006 15:09
To: Appru, Ian; cmake at cmake.org
Subject: Re: [CMake] CMake and swig problem

At 09:45 AM 2/22/2006, Ian.Appru at ubs.com wrote:
>Content-class: urn:content-classes:message
>Content-Type: multipart/alternative;
>        boundary="----_=_NextPart_001_01C637BE.AF16F774"
>
>Hi,
>
>I am using the UseSWIG module on solaris to configure swig to generate 
>a java interface.
>However the C++ jni library generated has file name MyJNI.so rather 
>than libMyJNI.so
>
>On this limited info - any initial ideas on what might be the problem?

I assume this is CVS CMake, you could try an update and see if it fixes
the problem, there has been some work in this area recently.  Please
post the version of cmake used when posting problems.  Use cmake
--version to get the version.

-Bill 


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.



More information about the CMake mailing list