In C++ you need to specify path to header files via -I option too
(Build|C++ Compiler|Include Directories property in NetBeans C++ projects).
11.11.2018 1:27, Emilian Bold пишет:
I'm not a C++ guy but I don't believe the linker is supposed to look
at header files? I think the problem is with `-
I'm not a C++ guy but I don't believe the linker is supposed to look
at header files? I think the problem is with `-lnana`, ie. are you
sure the library is in your LD_PATH or something like that?
--emi
On Sat, Nov 10, 2018 at 11:58 PM mr rupplin wrote:
>
> Can we force Netbeans to include .hpp fi
Can we force Netbeans to include .hpp files (containing structs and full
classes in some cases) such that the resulting library lib.a contains the
.hpp files?
Otherwise I'm unsure how I tell the linker (ld) to requires the header files at
the time of linking. I get linking
errors like: