Hi Manu, >Embedding and interfacing manual example not compiling in codeblocks Cygwin and throws multiple errors during build process. It would be helpful if you included some details about your problem: which exact program(s) you tried to compile, how you invoked gcc. amd at least some of the errors you are getting. However, I would guess your problem is likely related to changes in the ECLiPSe C interface in version 7, which was outlined in the 'foreign language interfaces' section of the 7.9 release notes: http://eclipseclp.org/relnotes/index.html >In the C interface, many of the original ec_xxx(...) functions have been replaced by ecl_xxx(ec_eng_t*, ...) functions that take an additional argument which specifies the engine to which the operation applies. Old (engine-unaware) C code can be compiled by defining the macro >USES_NO_ENGINE_HANDLE before the corresponding include file, i.e. > #define USES_NO_ENGINE_HANDLE > #include "eclipse.h" The embedding and interface manual has not been updated to describing the new interface, and some, but not all, programs have the #define line added. If you were trying to compile one of the program without the added #define, you will get errors - if this is your problem, then add the line and recompile. If this is not your problem, then give more details about your problem. >Also unable to work with lib file You need to give more details about what you are trying to do. Fpr cp,[o;omg using the C interface on WIndows, you should only need the eclipse.dll file. One last point: your posting included what seems to be an unrelated posting from Taku Koyahata. Did you have any rwason to include his post? Cheers, Kish On Fri, Jun 18, 2021 at 2:03 PM Manu goswami <manugoswami_at_...32...> wrote: > > Hi Developers, > > Please inform how to compile using eclipse c interface. Codeblocks + cygwin + gcc > > Embedding and interfacing manual example not compiling in codeblocks Cygwin and throws multiple errors during build process. > > Also unable to work with lib file > > > Warm regards, > > Manu > Get Outlook for iOS > ________________________________ > From: koyahata <koyahata_at_...432...> > Sent: Wednesday, June 16, 2021 11:44:38 PM > To: eclipse-clp-users_at_...105... <eclipse-clp-users@...105...> > Subject: [eclipse-clp-users] How to build tkexdr.so and tkeclipse.so > > Dear ECLiPSe developers, > > Hi, I'm trying to install ECLiPSe into debian 10.9 from source code. > > I succeeded to build, then I did ./RUNME and added proper path into > $PATH, but tkeclipse cannot be started. > I found the reason: there are no "tkeclipse.so" and "tkexdr.so" in the > directory $ECLIPSEDIR/lib/$ECLIPSEARCH . > > These files are not build with procedure below: > 1. export ECLIPSEARCH=x86_64_linux > 2. ./configure > 3. make -f Makefile.$ECLIPSEARCH > > Are there any special procedure for building > "tkeclipse.so" and "tkexdr.so"? > > Regards, > Taku Koyahata > > > _______________________________________________ > ECLiPSe-CLP-Users mailing list > ECLiPSe-CLP-Users_at_lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users > _______________________________________________ > ECLiPSe-CLP-Users mailing list > ECLiPSe-CLP-Users_at_lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/eclipse-clp-usersReceived on Mon Jun 21 2021 - 20:23:11 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:21 CEST