Forum Discussion
Altera_Forum
Honored Contributor
19 years agoA shot in the dark here....
If the "main" function is in a "C" file then you'll need to do a "C"-style function in the CPP file in order to to link it e.g. in CPP extern "C" void CreateForm (void) { Form *frm = new Form(); } then in main.c extern void CreateForm (void); int main () { CreateForm () }