Altera_Forum
Honored Contributor
19 years agoHow to use manage system library project?
Hi All,
Few days back i wrote one thread about software code protection.After studying some more depth in NIOS IDE i am getting 1) managed system library 2) system library project. Now the first project just build the library.It will never ask for the *.ptf file.Means it is totaly independent from target hardware. I created that one. Now the issue is that i developed a code and that i want to protect from out side.Now this code also contain some use of NIOS HAL.ok. To build this library i assign the path of that NIOS HAL and get successfully build of my library. Now,my library contain *c and *.h file and it also use some NIOS HAL,that i already mentioned above. Now i made simple C/C++ application in another workspace and give the path in linker option for created library. Now when i build the programe NIOS IDE auto generate alt_sys_init.c file and that contain INSTANCE and INIT function of our device HAL driver.OK.Now i get the entry of my HAL driver in that.So it means thats perfectly work.But now waht happen the function inside my library(HAL driver function) will not call from this c/c++ application project.and give the error that the functions are undefined. If any one having any idea about that then help me ASAP. Best Regards, slsnios.....