- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all~
I have CycloneIII dev kit + NiosII embedded evaluation kit(NEEK). I do downloaded VGA Picture Viewer at http://nioswiki.jot.com/wikihome/vgaapplicationselectorupdater. 1. In Nios2 IDE, File > New > NiosII C/C++ Application 2. Select Blank Project, Name : Picture Viewer, Select cycloneIII_embedded_evaluation_kit_standard_sopc.ptf 3. Copy from neek_vga_picture_viewer\sofeware_examples\app\picture_viewer\*.* to Picture Viewer 4. Build Project I meet follow error message **** Build of configuration Debug for project picture_viewer **** make -s all includes Compiling alt_touchscreen.c... Compiling alt_tpo_lcd.c... Compiling alt_video_display.c... Compiling bmplib.c... Compiling elca_wrapper.c... Compiling simple_graphics.c... Compiling cdjpeg.c... Compiling jcomapi.c... Compiling jdapimin.c... Compiling jdapistd.c... Compiling jdatasrc.c... Compiling jdcoefct.c... Compiling jdcolor.c... Compiling jddctmgr.c... Compiling jdhuff.c... Compiling jdinput.c... Compiling jdmainct.c... Compiling jdmarker.c... Compiling jdmaster.c... Compiling jdmerge.c... Compiling jdphuff.c... Compiling jdpostct.c... Compiling jdsample.c... Compiling jerror.c... Compiling jfdctflt.c... Compiling jfdctfst.c... Compiling jfdctint.c... Compiling jidctflt.c... Compiling jidctfst.c... Compiling jidctint.c... Compiling jidctred.c... Compiling jmemmgr.c... Compiling jmemnobs.c... Compiling jquant1.c... Compiling jquant2.c... Compiling jutils.c... Compiling rdcolmap.c... Compiling pic_viewer.c... Linking picture_viewer.elf... obj/elca_fat/elca_wrapper.o(.text+0x64): In function `my_sd_fstat': ../elca_fat/elca_wrapper.c:16: undefined reference to `elca_filelength' obj/elca_fat/elca_wrapper.o(.text+0xa4): In function `my_sd_close': ../elca_fat/elca_wrapper.c:26: undefined reference to `elca_fclose' obj/elca_fat/elca_wrapper.o(.text+0x1ac): In function `my_sd_open': ../elca_fat/elca_wrapper.c:56: undefined reference to `elca_fopen' obj/elca_fat/elca_wrapper.o(.text+0x1c0):../elca_fat/elca_wrapper.c:58: undefined reference to `elca_fopen' obj/elca_fat/elca_wrapper.o(.text+0x250): In function `my_sd_write': ../elca_fat/elca_wrapper.c:74: undefined reference to `elca_fwrite' obj/elca_fat/elca_wrapper.o(.text+0x2bc): In function `my_sd_read': ../elca_fat/elca_wrapper.c:91: undefined reference to `elca_fread' obj/pic_viewer.o(.text+0x34c): In function `filetask': ../pic_viewer.c:313: undefined reference to `elca_findfirst' obj/pic_viewer.o(.text+0x38c):../pic_viewer.c:326: undefined reference to `ffblk' obj/pic_viewer.o(.text+0x390):../pic_viewer.c:326: undefined reference to `ffblk' obj/pic_viewer.o(.text+0x3f8):../pic_viewer.c:330: undefined reference to `ffblk' obj/pic_viewer.o(.text+0x3fc):../pic_viewer.c:330: undefined reference to `ffblk' obj/pic_viewer.o(.text+0x444):../pic_viewer.c:338: undefined reference to `elca_chdir' obj/pic_viewer.o(.text+0x464):../pic_viewer.c:341: undefined reference to `elca_findfirst' obj/pic_viewer.o(.text+0x488):../pic_viewer.c:347: undefined reference to `ffblk' obj/pic_viewer.o(.text+0x48c):../pic_viewer.c:347: undefined reference to `ffblk' obj/pic_viewer.o(.text+0x6f4):../pic_viewer.c:402: undefined reference to `elca_findnext' obj/pic_viewer.o(.text+0x718):../pic_viewer.c:404: undefined reference to `elca_chdir' obj/pic_viewer.o(.text+0x734):../pic_viewer.c:407: undefined reference to `elca_findfirst' obj/pic_viewer.o(.text+0x768):../pic_viewer.c:413: undefined reference to `elca_findnext' obj/pic_viewer.o(.text+0x778):../pic_viewer.c:414: undefined reference to `elca_findfirst' obj/pic_viewer.o(.text+0x7bc):../pic_viewer.c:428: undefined reference to `elca_findfirst' obj/pic_viewer.o(.text+0x2324): In function `initialize_io_devices': ../pic_viewer.c:1114: undefined reference to `elca_fat_mount' obj/pic_viewer.o(.text+0x2384):../pic_viewer.c:1127: undefined reference to `elca_chdir' obj/pic_viewer.o(.text+0x23a8):../pic_viewer.c:1131: undefined reference to `elca_chdir' collect2: ld returned 1 exit status make: *** [picture_viewer.elf] Error 1 Build completed in 18.844 seconds Please help me!!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i also have the same problem, help me!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
picture_viewer (project) is meant to be built in NiosII command shell (software build tools flow).
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page