Forum Discussion
Altera_Forum
Honored Contributor
21 years agoManaged Libraries
I am running into a bit of a problem with the Managed Libraries. I have existing common code that I am trying to build into a library. But this code uses the types defined in alt_types.h. So, sinc...
Altera_Forum
Honored Contributor
21 years agoI think there is a little bug in the library makefiles that prevents the inclusion of alt_types.h . It is in one of the topics I sent recently on the forum.
go into components/altera_hal/build/lib.mk search the line <div class='quotetop'>QUOTE </div> --- Quote Start --- CPPFLAGS += -I.. -I$(GTF_GENERATED) $(foreach dir, $(HAL_INC_DIRS), -I$(dir))[/b] --- Quote End --- and change it in <div class='quotetop'>QUOTE </div> --- Quote Start --- CPPFLAGS += -I.. $(foreach dir, $(HAL_INC_DIRS), -I$(dir))[/b] --- Quote End --- ...and enjoy :-) ... in general, the standard libraries will allow you to include only the header files into altera_hal and altera_nios2. If you need more, you need some more hacking in the library makefiles :-) bye PJ