Hi again,
I am still struggling with embedding ECL in Rhino3D.
Today I got the following error:
fatal error C1189: #error : Rhino 4 and Rhino 4 plug-ins MUST
dyanamically link MFC.
...so linking ECL statically will not work.
(I am using Rhino 5, but the error message seems to not have been updated.)
On Wed, May 29, 2013 at 6:10 AM, Juan Jose Garcia-Ripoll <
juanjose.garciarip...@gmail.com> wrote:
> I just cooked a trivial example
> https://sourceforge.net/p/ecls/ecl/ci/master/tree/examples/embed/
>
> The example shows how to build a trivial Common Lisp package, compile it
> into a statically linked library using ECL and invoke it from a C program
> with which it is linked.
>
> It should be trivial to generalize it to using shared libraries and
> dlopen().
>
If I wanted to use a shared library rather than a static one, how would I
have to change the example?
Using :shared-library at the place of :static-library in the asdf:make-build
command seems not to be enough - at least not under Windows.
Thanks for your help,
Dietrich
On Wed, May 29, 2013 at 6:10 AM, Juan Jose Garcia-Ripoll <
juanjose.garciarip...@gmail.com> wrote:
> I just cooked a trivial example
> https://sourceforge.net/p/ecls/ecl/ci/master/tree/examples/embed/
>
> The example shows how to build a trivial Common Lisp package, compile it
> into a statically linked library using ECL and invoke it from a C program
> with which it is linked.
>
> It should be trivial to generalize it to using shared libraries and
> dlopen().
>
> Best,
>
> Juanjo
>
> --
> Instituto de FĂsica Fundamental, CSIC
> c/ Serrano, 113b, Madrid 28006 (Spain)
> http://juanjose.garciaripoll.googlepages.com
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list