"Jesper Hansen Ph.D.Student (jc 1/2002)" wrote: > > I get the following error: > > No such file or directory in > pcompile('/usr/local/eclipse/lib/kernel.pl', 2, sepia_kernel) > > I have made a C++ program calling ECLiPSe. It is however not installed > in /usr/local/eclipse, but in /appl/eclipse/5.5_46. > > The executable was compiled in the following way: > > g++ -I$ECLIPSEDIR/include/sparc_sunos5 -o pack test3dbpp.c > -L$ECLIPSEDIR/lib/sparc_sunos5 -leclipse > > where ECLIPSEDIR=/appl/eclipse/5.5_46 Two possibilities: Either set the ECLIPSEDIR environment variable when running, e.g. % ECLIPSEDIR="/appl/eclipse/5.5_46" pack or put the path name into your code by calling ec_set_option_ptr(EC_OPTION_ECLIPSEDIR, (char*) "/appl/eclipse/5.5_46"); before calling ec_init() -- Joachim Schimpf / phone: +44 20 7594 8187 IC-Parc / mailto:J.Schimpf@ic.ac.uk Imperial College London / http://www.icparc.ic.ac.uk/eclipseReceived on Mon Jan 27 11:38:24 2003
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:21 PM GMT GMT