Altera_Forum
Honored Contributor
8 years agoaoc: unable to generate hardware for hello_world example
Hello,
I am trying to generate the aocx file for the hello_world design example from the altera website. I'm using aoc and quartus 17.0 in Linux and when i try to run the command "aoc -v device/hello_world.cl -o bin/hello_world.aocx", I get the following error: aoc: First stage compilation completed successfully. Error: Compiler Error, not able to generate hardware. I am trying to generate the hardware for the s5_ref board. The AOCL_BOARD_PACKAGE_ROOT points to the appropriate dircetory. Emulation mode compilation and execution occurs just fine. The quartus_sh_compile.log file lists the following: *** Fatal Error: Segment Violation at (nil) Module: quartus_syn Stack Trace: 0x60a43: google::protobuf::FileDescriptorTables::~FileDescriptorTables() + 0x33 (protobuf.so.8) 0x3c53a: __cxa_finalize + 0x9a (c.so.6) 0x21f4c: __libc_start_main + 0xfc (c.so.6) End-trace Error (114016): Out of memory in module quartus_syn (1695 megabytes used) There is enough and more memory in the system. Could somebody please help me rectify this error? Thank you.