On Mon, 7 May 2007, Joe Geddes wrote:
> meep_wrap.cxx:591: error: 'SCM_STRING_LENGTH' was not declared in this scope
> meep_wrap.cxx:595: error: 'SCM_STRING_CHARS' was not declared in this scope
> meep_wrap.cxx: At global scope:
> meep_wrap.cxx:603: error: 'scm_t_bits' does not name a type
> meep_wrap.cxx:604: error: 'scm_t_bits' does not name a type
Perhaps you need a newer version of Guile, or perhaps you have installed
multiple conflicting versions of Guile?
On my machine, with Guile 1.8.1, SCM_STRING_LENGTH etc. are defined in
/usr/include/libguile/strings.h
and scm_t_bits is defined in
/usr/include/libguile/tags.h
(In your case, substitue /usr/include with where ever you installed
Guile.)
> I'm not sure why the variables in "meep_wrap.cxx" are not being recognized.
> Following are the commands I used in the configuration.
>
> export LDFLAGS="-L/usr/local/lib -L/sw/lib -L/sw/include"
> export CPPFLAGS="-I/usr/local/include -I/sw/include"
>
> ./configure LIBS="-L/sw/lib -L/sw/include" FLIBS="-L/sw/lib -L/sw/include"
> make
You shouldn't add -L/sw/include to LDFLAGS, since /sw/include is not a
library directory. Also, it should be sufficient to set LDFLAGS and
CPPFLAGS; you shouldn't need to set LIBS and FLIBS. Note that it is
preferable to set LDFLAGS and CPPFLAGS on the configure command line, as
in
./configure LDFLAGS="-L/usr/local/lib -L/sw/lib"
CPPFLAGS="-I/usr/local/include -I/sw/include"
Howver, none of these should cause the problem you mentioned.
Steven
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss