public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] microwindows Can not open graphics error
@ 2008-02-11 13:36 Hakan Çakiroglu
  2008-02-19  5:39 ` Hakan Çakiroglu
  0 siblings, 1 reply; 2+ messages in thread
From: Hakan Çakiroglu @ 2008-02-11 13:36 UTC (permalink / raw)
  To: ecos-discuss



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [ECOS] microwindows Can not open graphics error
  2008-02-11 13:36 [ECOS] microwindows Can not open graphics error Hakan Çakiroglu
@ 2008-02-19  5:39 ` Hakan Çakiroglu
  0 siblings, 0 replies; 2+ messages in thread
From: Hakan Çakiroglu @ 2008-02-19  5:39 UTC (permalink / raw)
  To: ecos-discuss


And now I got the following error. What should be the reason?

.
.
.
.

data index = 4
Creating system threads
Creating Nano-X server thread
Creating Nano-tetris demo thread
Creating World demo thread
Starting threads
Starting Nano-X server
Starting Nano-tetris demo
Starting World demo
SYSTEM THREADS STARTED!
User assertion failed: "c < psd->ncolors", at /ecos-c/ecos/packages/services/gfx
/mw/current/src/drivers/fblin32.c:35

I am using Net packages with microwindows package included...
_________________________________________________________________
Live.com'u deneyin: çevrimiçi dünyanýzý bir araya getirin; haberler, spor, hava durumu ve çok daha fazlasý.
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-19  5:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-11 13:36 [ECOS] microwindows Can not open graphics error Hakan Çakiroglu
2008-02-19  5:39 ` Hakan Çakiroglu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).