Forum Discussion
Altera_Forum
Honored Contributor
20 years agocant use functions, classes of managed library
Hi all, Currently I am working on Managed library. I have made a manage library in C++. This library includes some global functions, global variables and different classes. Now I have made on...
Altera_Forum
Honored Contributor
20 years ago<div class='quotetop'>QUOTE </div>
--- Quote Start --- This is my class in Managed Library. # include "iostream.h" class Form { public: Form(); }; Form::Form() { printf("Hello NIOS"); } I want to use this managed library in my C/C++ application. # include<iostream.h> int main() { Form *frm = new Form(); return 0; } This is the code of application file even though it gives me error.[/b] --- Quote End --- It seems that you forget to include the header file of Form class. You can find the detail information about managed library project in NiosII IDE. Following the steps below: 1. Open NiosII IDE 2. Click Help->Help Content 3. search keyword : "managed library" then you'll get what you want... Hope it will help.