Newbie: Compiling multi filed programs
Still trying to get a grip on Boost with some toy problems. I have a very simple program that multiplies two vectors. It worked as a single file program, but doesn't work as a multi file program. I'm finding it difficult to deal with impressive looking templates in the compiler error messages. This is on Linux, g++, Debian testing.
09-prob.h:
=======
#pragma once
#include
AMDG Pete wrote:
Still trying to get a grip on Boost with some toy problems. I have a very simple program that multiplies two vectors. It worked as a single file program, but doesn't work as a multi file program. I'm finding it difficult to deal with impressive looking templates in the compiler error messages. This is on Linux, g++, Debian testing.
<snip>
Since 09-driver.o and 09-prob.o are being linked together, I'm guessing there's something wrong with the function signature?
Can some kind soul give me a few hints on how to make this work?
Here's the problem:
In 09-driver.cpp the compiler knows that it needs
mult_vector_vector
::result_type mult_vector_vector
( vec_t bra, vec_t ket );
In Christ, Steven Watanabe
participants (2)
-
Pete
-
Steven Watanabe