This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

microwindows Can not open graphics error



I am trying to run microwindows applicaton.
But I got the following error for the following source.
What sould be the reason???

thank you!





 #define MWINCLUDECOLORS


 #include


 #include


 #include "microwin/nano-X.h"


 int main(int ac,char **av)


 {


 init_all_network_interfaces();


 GR_WINDOW_ID w;


 GR_EVENT event;


 if (GrOpen() < 0) {


 printf("Can't open graphics\n");


 exit(1);


 }


 w = GrNewWindow(GR_ROOT_WINDOW_ID, 20, 20, 100, 60,


 4, WHITE, BLUE);


 GrMapWindow(w);


 for (;;) {


 GrGetNextEvent(&event);


}


 GrClose();


 return 0;


}




 ASSERT FAIL: thread.inl[489]static CYG_ADDRWORD Cyg_Thread::get_data() Per th
 read data index out of bounds
 ASSERT FAIL: thread.inl [ 489] static CYG_ADDRWORD Cyg_Thread::get_d
 ata() Per thread data
 index out of bounds





_________________________________________________________________
Kendinizi ifade edin: giriş sayfanızı Live.com ile istediğiniz biçimde tasarlayın.
http://www.live.com/getstarted

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]