OK. Here is the step to get it compile:
1) Download the file:
- I use this command to get the file from svn, and it base on Trunk R671:
- then cd to the lisp directory once it finish downloading:
You can checkout the README file included in lisp directory for detail on how to install.. or continue with my description...
2) Setup make/compile environment variable:
- In the terminal. Type in this in the terminal, make sure you are in csh (type csh in terminal to make it c-shell).
setenv MACHINE x86_64
setenv EUSDIR $PWD
setenv XLIB /usr/X11R6/lib
setenv PUBBINDIR /usr/local/bincd lisp
3) Edit the makefile and compile file for MacOSX:
- First link the Makefile.Darwin to Makefile:
ln -s Makefile.Darwin Makefile
- update X11 library path to Mac path, I use vi to replace path:
- Inside VI run this command to replace the X11 path, original file point to /opt/X11 but in Mac, it in /usr/X11R6:
:wq
- Next fix the wrong compile flag in comp/comp.l, it should be -falign-functions but instead it set to -malign-functions :
vi comp/comp.l
- Inside VI run this command to replace the error flag:
:%s/-malign-functions/-falign-functions/g
:wq
make all
Now you can try the build by running this command:
$EUSDIR/Darwin/bin/eusgl
JSK EusLisp have better demo, and the step to fix the build problem is the same. Include is the JSK EusLisp demo:
Particle Demo |
IRT Viewer Demo
Hand Grasp IK Demo |
No comments:
Post a Comment