EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: How to build jca.dll manually rather than to use the ANT build tool?
From: "Zhichu Chen" <[email protected]>
To: [email protected]
Date: Thu, 21 Feb 2008 09:59:08 +0800
Hi,

I just know JCA and I think it's great. I want to give it a try so I follow
the installation manual of JCA 2.1.2. And I got some problems:

1, I took a look at the download page of JCA and found that the oldest
release is 2.1.3, and I can't find the ancient version the manual mentioned
over Google. Finally, I choose to download the current release 2.3.1.
I looked at the change page on
http://jca.cosylab.com/changes-report.html
and I suppose it didn't changed so much. Am I right? And is there a
newer version of the installation tutorial?

2, Since I didn't download the 2.1.2 version as the manual said, I couldn't
get the jca.dll mentioned there. I downloaded it from
http://joimint.desy.de/download/dlls/
. Would that be OK? Or we just don't need that link library any more so
it's not included in the package?

3, I do have tried to compile from source but failed at:

=============================================================
C:\epics\java\jca-2.3.1-src\jca-2.3.1>ant
Buildfile: build.xml

build.core.java:
     [echo] Building core classes
     [echo] Copying ressources
     [echo] Done

-init:

build.core.jni.dirs:

build.core.jni.depend:
     [echo] Building native header files
     [echo] Done

build.core.jni.objs:
     [echo] Building native object files
  [applyex] C:\Program Files\Microsoft Visual Studio\VC98\bin\cl -nologo -c -GX
-GR -D__STDC__=0 -Ox -W3 -MD -IC:\Program Files\Java\jdk1.6.0_04\jre/../include
-IC:\Program Files\Java\jdk1.6.0_04\jre/../include/WIN32 -IC:\epics\base-3.14.8.
2/include -IC:\epics\base-3.14.8.2/include/os/WIN32 -IC:/Program Files/Microsoft
 Visual Studio/VC98/include -IO.win32-x86 -FoC:\epics\java\jca-2.3.1-src\jca-2.3
.1\O.win32-x86\JNI.obj C:\epics\java\jca-2.3.1-src\jca-2.3.1\src\core\gov\aps\jc
a\jni\JNI.cpp

BUILD FAILED
C:\epics\java\jca-2.3.1-src\jca-2.3.1\build.xml:199: applyex returned: -10737415
15

Total time: 0 seconds
=============================================================

and my system environment is set by:

=============================================================
set HOST_ARCH=win32-x86
set EPICS_HOST_ARCH=win32-x86
set EPICS_BASE_RELEASE=C:\epics\base-3.14.8.2
set EPICS_EXTENSIONS=C:\epics\extension
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_04
set PATH=%PATH%;C:\epics\java\ant\bin
=============================================================

is there anything wrong or what did I forget?

By the way, I hope there could be an option to choose MinGW compiler. I don't like
the price of MS VC++ and it fails to compile the CVS epics base. So can any of you
could tell me how this jca.dll would be compiled and I'll just write a makefile to compile
it.

Any inputs would be appreciated.

--
Best Regards
Chen
----------------------------------------------------------------

Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
| www.sinap.ac.cn
----------------------------------------------------------------
Replies:
Re: How to build jca.dll manually rather than to use the ANT build tool? Zhichu Chen

Navigate by Date:
Prev: Initialize multi-element field Dehong Zhang
Next: Re: genSub subroutine compilation and ioc access Matthieu Bec
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Initialize multi-element field Maren Purves
Next: Re: How to build jca.dll manually rather than to use the ANT build tool? Zhichu Chen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·