Hi, Chris, it seems to me you are missing the MEEP header files. In my opinion, the best way would be to compile your simulations against the newest version of MEEP available. Its straightforward compilation procedure (for Debian/Ubuntu) is documented in the blue box at http://fzu.cz/~dominecf/misc/meep/index.html . Hope this helps, Filip
2013/5/18, Christoph Wolf <[email protected]>: > Dear MEEP users, > > > > I am trying to move from Scheme to C as I am at least a little bit familiar > with the latter. Unfortunately I cannot compile even the simplest of > examples given in the C++ tutorial (using method 2 or 3), as I get > (installed on Ubuntu using the software center): > > > > g++ `pkg-config --cflags meep` foo.cpp -o foo `pkg-config --libs meep` > > /tmp/ccsnL66Y.o: In function `main': > > foo.cpp:(.text+0xed): undefined reference to `meep::pml(double, double, > double)' > > foo.cpp:(.text+0x198): undefined reference to > `meep::fields::fields(meep::structure*, double, double, bool)' > > collect2: ld returned 1 exit status > > > > Has anyone encountered this problem before? > > > > Kind regards, > > Chris > > > > _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

