Hi Everyone,

This is sort of a silly question, but how feasible is it to compile and 
link a dealii project without cmake? I'm pretty new to using C++ so I'm 
trying to get a handle on the most basic way to do things.

I wrote a little file `dealii_function_test.cpp` to test out the Function, 
Point, Vector, and Full_Matrix classes, as well as a simple accompanying 
Makefile. The former just creates objects of those types and then prints 
the contents. The latter searches through `src` and `include` directories 
in my own project directory. I can post the text to these files if it would 
be helpful.

When I try to compile I get a lot of "undefined reference to" errors 
pointing towards dealii functions. I can post a file with the error output 
if that would be helpful. Do I just need to include a reference to the 
relevant dealii object files? And if so, what do those look like/where 
might they be? In my `/usr/local/lib` directory I have some dealii 
libraries (named some combination of libdeal_II, so, g, and 9.2.0). Do I 
need to explicitly reference those? And if so, why does make not know to 
look there?

For reference I'm running WSL2 on Windows 10 with a Debian distro. 

Thanks so much,
Lucas

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/ef2b9939-78fa-4308-8873-06de4a6d1d8bn%40googlegroups.com.

Reply via email to