Re: trouble installing CGAL ipelets

Otfried Cheong <[email protected]> Tue, 20 Oct 2015 10:16:35 +0900
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <[email protected]>
In Ipe 7.1.7, the file extension for dynamic library has changed from
.so to .dylib on Mac OS X, to satisfy Apple's desire to be different.

The instructions https://3d.bk.tudelft.nl/hledoux/blog/ipe-cgal-ipelets/
seem to be for Ipe 7.1.6 or earlier, as they copy *.so files.

So probably all you need to do is to rename the .so files in
/Users/lenka/.ipe/ipelets to .dylib.

(And CGAL should update their build script.)

Cheers,
 Otfried

On Tue, Oct 20, 2015, at 07:34, Elena wrote:
> Hello, 
> 
> I'm trying to install CGAL ipelets on my Mac (Mac OS 10.10.5)
> My CGAL version is 4.6.1, Ipe version is  7.1.8
> 
> I basically followed the instructions from 
> https://3d.bk.tudelft.nl/hledoux/blog/ipe-cgal-ipelets/
> 
> and the ipelets appear in the menu, but trying to launch them gives an
> error: 
> 
> Lua error
> 
> Data may have been corrupted.
> Save your file!
> 
> /Users/lenka/.ipe/ipelets/libCGAL_minkowski.lua:15: Error loading Ipelet: 
> dlopen(/Users/lenka/.ipe/ipelets/libCGAL_minkowski.dylib, 2): image not
> found
> stack traceback:
> [C]: in function 'assert'
> /Users/lenka/.ipe/ipelets/libCGAL_minkowski.lua:15: in function 'run'
> /usr/local/share/ipe/7.1.8/lua/actions.lua:599: in function
> 'action_ipelet'
> /usr/local/share/ipe/7.1.8/lua/actions.lua:83: in function 'paction'
> /usr/local/share/ipe/7.1.8/lua/actions.lua:37: in function 
> </usr/local/share/ipe/7.1.8/lua/actions.lua:37>
> [C]: in function 'xpcall'
> /usr/local/share/ipe/7.1.8/lua/actions.lua:37: in function 
> </usr/local/share/ipe/7.1.8/lua/actions.lua:36>
> [C]: in function 'mainloop'
> /usr/local/share/ipe/7.1.8/lua/main.lua:451: in main chunk
> [C]: in function 'require'
>  [string "require "main""]:1: in main chunk
> 
> Somehow there is no .dylib file in /Users/lenka/.ipe/ipelets/, nor
> elsewhere. 
> Could you please suggest what should I do? 
> Is it true that I need to use Ipe 6?
> 
> Thanks, 
> Elena
> 
> _______________________________________________
> Ipe-discuss mailing list
> Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
> http://lists.science.uu.nl/mailman/listinfo/ipe-discuss