Hi. It is my first time to use c++ interface. When I use c++ control file which I copied and pasted from the tutorial, I can not get the result.
I use a command: g++ `pkg-config --cflags meep` ce.cpp -o foo `pkg-config --libs meep` I get the messgaes like: ce.cpp: In function `int main(int, char**)': ce.cpp:8: `eps' undeclared (first use this function) ce.cpp:8: (Each undeclared identifier is reported only once for each function it appears in.) ce.cpp: In function `double eps(const meep::vec&)': ce.cpp:25: `double eps(const meep::vec&)' used prior to declaration How can i do it? _________________________________________________________________ 用 Live Search 搜尽天下资讯! http://www.live.com/?searchOnly=true _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

