I am sorry! I send a copy of the email to the list.
--- Begin Message ---
Hi Stefan:
My suggestion is:
1. Download the source package (meep -whatever- .tar.gz) and extract
the complete directory structure.
2. Generate a complete compilation configuration using configure program
3. Inside "test" directory use method 2) outlined down (g++ `pkg-config ...etc)
This worked for me.
Regards,
Rafael Gómez Alcalá
Asociated Professor
Universidad de Extremadura
Escuela Politécnica
E10003 Cáceres (SPAIN)
On 10:55 Mon 17 Jan , Stefan Kapser wrote:
> Hi,
> I hope you can help me with this problem:
> Currently I am just trying to compile the first test program from the Meep
> C++ Tutorial, but can't really manage to do so.
> I tryed the three ways given in se section Compiling:
>
> 1) make test.dac
>
> gave me:
>
> make: *** No rule to make target `test.dac'. Stop.
>
> 2) g++ `pkg-config --cflags meep` test.cpp -o test `pkg-config --libs meep`
>
> gave me:
>
> Package meep was not found in the pkg-config search path.
> Perhaps you should add the directory containing `meep.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'meep' found
> Package meep was not found in the pkg-config search path.
> Perhaps you should add the directory containing `meep.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'meep' found
> test.cpp:1:20: error: meep.hpp: No such file or directory
> test.cpp:2: error: ‘meep’ is not a namespace-name
> test.cpp:2: error: expected namespace-name before ‘;’ token
> test.cpp: In function ‘int main(int, char**)’:
> test.cpp:5: error: ‘initialize’ was not declared in this scope
> test.cpp:5: error: expected ‘;’ before ‘mpi’
> test.cpp:7: error: ‘grid_volume’ was not declared in this scope
> test.cpp:7: error: expected ‘;’ before ‘v’
> test.cpp:8: error: ‘structure’ was not declared in this scope
> test.cpp:8: error: expected ‘;’ before ‘s’
> test.cpp:9: error: ‘fields’ was not declared in this scope
> test.cpp:9: error: expected ‘;’ before ‘f’
> test.cpp:11: error: ‘f’ was not declared in this scope
> test.cpp:11: error: ‘Dielectric’ was not declared in this scope
> test.cpp:11: error: ‘v’ was not declared in this scope
> test.cpp:14: error: ‘gaussian_src_time’ was not declared in this scope
> test.cpp:14: error: expected ‘;’ before ‘src’
> test.cpp:15: error: ‘Ey’ was not declared in this scope
> test.cpp:15: error: ‘src’ was not declared in this scope
> test.cpp:15: error: ‘vec’ was not declared in this scope
> test.cpp:20: error: ‘Hz’ was not declared in this scope
> test.cpp: At global scope:
> test.cpp:25: error: ISO C++ forbids declaration of ‘vec’ with no type
> test.cpp:25: error: expected ‘,’ or ‘...’ before ‘&’ token
> test.cpp: In function ‘double eps(int)’:
> test.cpp:26: error: ‘p’ was not declared in this scope
>
>
> So I guess the meep stuff is not in the past where my compiler is looking
> for it. I installed Meep on Ubuntu via the Ubuntu Software Center and did
> not get to pick anything during the installation.
> I would be thankful for tipps how to make this work.
> Thanks a lot!
> Stefan
>
> _______________________________________________
> meep-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
--- End Message ---
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss