microwindows setup &nano-x exemple Compiler

Dear,

After unziping sysapps in /develop derctory.

1-I want to setup microwindows on computer, when I type the make commande I have error.

2-This installation I need to write a programs using nano-x, than which compiler I need for my programs
I use the arm-linux-3.4.2-gcc-3.4.2 but is not work .

Thank's.

microwindows setup &nano-x exemple Compiler

whan I do make in /microwindows-0.91b/sr, I have this error

deb:/develop/microwindows-0.91b/src# make
Compiling drivers/obsolete.c ...
Creating library libmwdrivers.a ...
ar: creating /develop/microwindows-0.91b/src/lib/libmwdrivers.a
Building convbmp tool ...
Converting mwin/bmp/car8.bmp ...
Compiling mwin/bmp/car8.c ...
Converting mwin/bmp/min4.bmp ...
Compiling mwin/bmp/min4.c ...
Converting mwin/bmp/max4.bmp ...
Compiling mwin/bmp/max4.c ...
Converting mwin/bmp/close4.bmp ...
Compiling mwin/bmp/close4.c ...
Converting mwin/bmp/under4.bmp ...
Compiling mwin/bmp/under4.c ...
Converting mwin/bmp/zion208.bmp ...
Compiling mwin/bmp/zion208.c ...
Converting mwin/bmp/cs1.bmp ...
Compiling mwin/bmp/cs1.c ...
Converting mwin/bmp/rle8.bmp ...
Compiling mwin/bmp/rle8.c ...
Converting mwin/bmp/microwin.bmp ...
Compiling mwin/bmp/microwin.c ...
Converting mwin/bmp/penguin.bmp ...
Compiling mwin/bmp/penguin.c ...
Creating library libmwimages.a ...
ar: creating /develop/microwindows-0.91b/src/lib/libmwimages.a
Building makebmp tool ...
/develop/microwindows-0.91b/src/mwin/bmp/makebmp.c: In function ‘main’:
/develop/microwindows-0.91b/src/mwin/bmp/makebmp.c:55: warning: incompatible implicit declaration of built-in function ‘exit’
/develop/microwindows-0.91b/src/mwin/bmp/makebmp.c:60: warning: incompatible implicit declaration of built-in function ‘exit’
/develop/microwindows-0.91b/src/mwin/bmp/makebmp.c:65: warning: incompatible implicit declaration of built-in function ‘exit’
/develop/microwindows-0.91b/src/mwin/bmp/makebmp.c:71: warning: incompatible implicit declaration of built-in function ‘exit’
/develop/microwindows-0.91b/src/mwin/bmp/makebmp.c: In function ‘MakeBMP’:
/develop/microwindows-0.91b/src/mwin/bmp/makebmp.c:94: warning: incompatible implicit declaration of built-in function ‘memset’
Compiling mwin/winlib/obsolete.c ...
Creating library libmwinlib.a ...
ar: creating /develop/microwindows-0.91b/src/lib/libmwinlib.a
Compiling engine/devopen.c ...
Compiling engine/devdraw.c ...
Compiling engine/devfont.c ...
Compiling engine/devmouse.c ...
Compiling engine/devkbd.c ...
Compiling engine/devclip.c ...
Compiling engine/devrgn.c ...
/develop/microwindows-0.91b/src/engine/devrgn.c: In function ‘GdAllocBitmapRegion’:
/develop/microwindows-0.91b/src/engine/devrgn.c:1512: warning: ‘rect.left’ may be used uninitialized in this function
Compiling engine/devpal1.c ...
Compiling engine/devpal2.c ...
Compiling engine/devimage.c ...
Compiling engine/devimage_stretch.c ...
Compiling engine/image_bmp.c ...
Compiling engine/image_gif.c ...
Compiling engine/image_jpeg.c ...
/develop/microwindows-0.91b/src/engine/image_jpeg.c:49:21: error: jpeglib.h: Aucun fichier ou répertoire de ce type
/develop/microwindows-0.91b/src/engine/image_jpeg.c:54: error: expected ‘)’ before ‘cinfo’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:61: error: expected ‘)’ before ‘cinfo’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:67: error: expected ‘)’ before ‘cinfo’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resync_to_restart’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:82: error: expected ‘)’ before ‘cinfo’
/develop/microwindows-0.91b/src/engine/image_jpeg.c: In function ‘GdDecodeJPEG’:
/develop/microwindows-0.91b/src/engine/image_jpeg.c:93: error: storage size of ‘smgr’ isn’t known
/develop/microwindows-0.91b/src/engine/image_jpeg.c:94: error: storage size of ‘cinfo’ isn’t known
/develop/microwindows-0.91b/src/engine/image_jpeg.c:95: error: storage size of ‘jerr’ isn’t known
/develop/microwindows-0.91b/src/engine/image_jpeg.c:109: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:109: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:109: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:109: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:109: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:109: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:109: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:109: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:110: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:110: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:110: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:110: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:110: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:110: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:110: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:110: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
/develop/microwindows-0.91b/src/engine/image_jpeg.c:119: warning: implicit declaration of function ‘jpeg_std_error’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:122: warning: implicit declaration of function ‘jpeg_create_decompress’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:125: error: ‘init_source’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:125: error: (Each undeclared identifier is reported only once
/develop/microwindows-0.91b/src/engine/image_jpeg.c:125: error: for each function it appears in.)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:126: error: ‘fill_input_buffer’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:127: error: ‘skip_input_data’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:128: error: ‘resync_to_restart’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:129: error: ‘term_source’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:137: warning: implicit declaration of function ‘jpeg_read_header’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:139: error: ‘JCS_GRAYSCALE’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:139: error: ‘JCS_RGB’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:159: error: ‘j_common_ptr’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:159: error: ‘JPOOL_IMAGE’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:160: error: ‘JDIMENSION’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:160: error: expected ‘)’ before ‘cinfo’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:182: warning: implicit declaration of function ‘jpeg_calc_output_dimensions’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:223: warning: implicit declaration of function ‘jpeg_start_decompress’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:227: error: ‘JSAMPROW’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:227: error: expected ‘;’ before ‘rowptr’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:228: error: ‘rowptr’ undeclared (first use in this function)
/develop/microwindows-0.91b/src/engine/image_jpeg.c:230: warning: implicit declaration of function ‘jpeg_read_scanlines’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:236: warning: implicit declaration of function ‘jpeg_finish_decompress’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:239: warning: implicit declaration of function ‘jpeg_destroy_decompress’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:95: warning: unused variable ‘jerr’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:94: warning: unused variable ‘cinfo’
/develop/microwindows-0.91b/src/engine/image_jpeg.c:93: warning: unused variable ‘smgr’
make[1]: *** [/develop/microwindows-0.91b/src/obj/engine/image_jpeg.o] Erreur 1
make: *** [subdir-/develop/microwindows-0.91b/src/mwin] Erreur 2
deb:/develop/microwindows-0.91b/src#

Re: microwindows setup &nano-x exemple Compiler

As said in one of my earlier posts, please use the microwindows version, which is downloadable here on this website:
http://www.armbedded.eu/downloads
If the Cross-Compiler is installed correctly it will crosscompile without errors and all the demos by just typing make in the src directory.
Have a look at the demos on how to create your own nano-X application.

Syndicate content