<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt">Always thanks, Dan</DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt"> </DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt">You're right.</DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt">It works well as you said.</DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt">I didn't understand what the line <EM>(pushnew (pathname (concatenate 'string (directory-namestring *load-truename*) "cffi/")) asdf:*central-registry*) </EM>is meaining</DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt">but, now understand it partially.</DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt"> </DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt">Thanks :-)</DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt"> best regards,</DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt">-changhyun</DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt"> </DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt"> </DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt"><BR>-----¿øº» ¸Þ½ÃÁö-----<BR><B>From:</B> "db30@andrew.cmu.edu" <A href="mailto:db30@andrew.cmu.ed" target=_blank>db30@andrew.cmu.ed</A></DIV>
<DIV style="FONT-FAMILY: ±¼¸²; FONT-SIZE: 10pt">
<DIV><B>From Date:</B> 2010-09-29 ¿ÀÈÄ 10:13:11<BR><B>To:</B> ¹ÚâÇö <y3rr0r@etri.re.kr><BR><B>Cc:</B> <BR><B>Subject:</B> Re: [ACT-R-users] Using act-cv....<BR><BR></DIV>
<DIV><!-- Converted from text/plain format --><BR><BR><BR>
<P><FONT size=2>--On Wednesday, September 29, 2010 6:04 PM +0900<BR>"=?ks_c_5601-1987?B?udrDosf2?=" <y3rr0r@etri.re.kr> wrote:<BR><BR>><BR>><BR>> In this question, a point is<BR>> "Why does the same code produce different result with different file?"<BR>> So, I'm wondering whether the cffi is dependent on a specific file<BR>> 'act-cv-demo.lisp'. [Image: External_ReadCheck.aspx]<BR><BR><BR>I don't know about ACT-CV or cffi, but it looks to me like the error you're<BR>getting is because there isn't a cffi directory in the same directory as<BR>the<BR>file that you're loading.  *load-truename* is a Lisp variable that gets<BR>bound to the physical path of the file being loaded.  So this call is<BR>setting<BR>things up to load the cffi components from that same directory:<BR><BR>(pushnew (pathname (concatenate 'string (directory-namestring<BR>*load-truename*) "cffi/")) asdf:*central-registry*)<BR><BR>If you put your file in the same directory as the act-cv-demo.lisp<BR>with the provided cffi directory then it should load correctly.<BR>Alternatively, you could put the specific path to the cffi<BR>components in that call instead of having it be built dynamically.<BR><BR><BR>Dan<BR></FONT></P></DIV></DIV><img style="display:none" width=0 height=0 src="http://umail.etri.re.kr/External_ReadCheck.aspx?email=act-r-users@act-r.psy.cmu.edu&name=act-r+mailinglist&fromemail=y3rr0r@etri.re.kr&messageid=%3C8d6e25e6-1a66-43b7-8fdd-4d0e7aded31f@etri.re.kr%3E">