|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] Some doubts in using gr_modtool |
Date: | Sun, 08 Sep 2013 16:00:53 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 |
Hi Manu,ldpc.h goes to /include/ldpc. You have to realize what your build system does: it takes your .cc files and turns them to compilation units (which manifest itselves as .o each), and link them together to your library (something like libgr-projectname.so). Your .h's are only there for your compiler so it can find your declarations, so they should be available for the compiler to find when you do something like #include "ldpc/ldpc.h" and should therefore be in a directory that the compiler will look into when searching for includes. On the other hand, they don't implement any functionality by themselves, and will not compile into anything useful, so they don't belong into your Makefile. Hope that helped explaining why what belongs where, greetings, Marcus |
[Prev in Thread] | Current Thread | [Next in Thread] |