Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

c2h error at bitmap header declaration

Altera_Forum
Honored Contributor II
822 Views

[h=2][/h]  

Hi, I am trying to accelerate a function func_acc(). However i am getting an error during the c2h compilation. What puzzles me is that the error is triggered at the main() function, not even at the function where i am accelerating.The error is: 

../mand_sw.c:112: PARSE ERROR, ../mand_sw.c line 112 column 20 

 

ERROR: 

C2H:0: C2H ERROR: "d:/altera/90/nios2eds/components/altera_avalon_c_hardware_accelerator/lex_and_yacc/c2h_cparse.exe" "P:/work/altera_c2h/sw/mandelbrot_sw/Debug/obj/mand_sw.c2h_pre" 

And the code at line 112 is: 

BITMAPFILEHEADER header; /* Bitmap header */ 

 

The error message is hardly helpful. Anybody who knows what is wrong here? 

 

One more thing; the code compiles nicely in the software only implementation. 

 

Thanks!  

[/INDENT]
0 Kudos
0 Replies
Reply