Am 08. Oct 2013, 16:30 schrieb Gennadiy Rishkin <
gennadiy...@gmail.com>:
> Thanks Matthias. I'm using the "autopilot" style CMakeLists.txt from
> the examples. When I do:
>
> SET(TARGET_SRC
> step-4.cc
> make_grid.o
> )
>
> I get the error:
>
> CMakeFiles/main.dir/main.cc.o: In function `Step4<3>::run()':
> main.cc:(.text._ZN7Step4ILi3EE3runEv[Step4<3>::run()]+0x80):
> undefined reference to `Step4<3>::make_grid()'
Does make_grid have the same function signature in both files and do you
instantiate make_grid in make_grid.o?
And, why do you use such a setup in the first place?
Best,
Matthias