Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Microwin Error

Hi, any one have face this problem before and can share the solution of it? thanks!!!

/usr/local/src/nios2-linux/uClinux-dist/user/microwin/src/engine/font_fnt.c: In function `fnt_load_font':

/usr/local/src/nios2-linux/uClinux-dist/user/microwin/src/engine/font_fnt.c:253: error: `FNT_FONT_DIR' undeclared (first use in this function)

/usr/local/src/nios2-linux/uClinux-dist/user/microwin/src/engine/font_fnt.c:253: error: (Each undeclared identifier is reported only once

/usr/local/src/nios2-linux/uClinux-dist/user/microwin/src/engine/font_fnt.c:253: error: for each function it appears in.)

/usr/local/src/nios2-linux/uClinux-dist/user/microwin/src/engine/font_fnt.c:253: error: syntax error before string constant

make[5]: *** [/usr/local/src/nios2-linux/uClinux-dist/user/microwin/src/obj/engine/font_fnt.o] Error 1

make[5]: Leaving directory `/usr/local/src/nios2-linux/uClinux-dist/user/microwin/src/nanox'

make[4]: *** [subdir-/usr/local/src/nios2-linux/uClinux-dist/user/microwin/src/nanox] Error 2

make[4]: Leaving directory `/usr/local/src/nios2-linux/uClinux-dist/user/microwin/src'

make[3]: *** [all] Error 1

make[3]: Leaving directory `/usr/local/src/nios2-linux/uClinux-dist/user/microwin'

make[2]: *** [microwin] Error 2

make[2]: Leaving directory `/usr/local/src/nios2-linux/uClinux-dist/user'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/usr/local/src/nios2-linux/uClinux-dist/user'

make: *** [subdirs] Error 1

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The uclinux-dist I used is "nios2-linux-20100621.tar".

    AnyOne know what is happened on this error when build the zImage file? Izit need change any things on the font_fnt.c code to make the FNT_FONT_DIR be declared??

    Thanks for reply.

    Best Regard

    Pang
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I try and error many time to make the customization of microwin work, but no success, and can't find any related solution through online like google and baidu...seem like no one have ever success to display the image using the nxview in nano-X to Vga monitor ..Therefore I think can conclude that the microwin customization is won't work in uClinux of DE2 board.....since there are many error that not yet to fix so far ...

    If anyone are sucess to make it previous or future time, can share the experience and solution to me as well..Thanks!!