On Mon, 10 Sep 2012 11:27:01 +0530 Amit S <[email protected]> wrote: > Hi, > > I have been struggling to get the Elementary APIs to work. > > I did the following steps: > > * Downloaded all the EFL source code > http://www.enlightenment.org/p.php?p=download > * Compiled & Installed all the EFL libraries in my Linux box > * Created a simple program to test the library *(attached code along > with mail)*
Nothing was attached to your email, so we can only guess. > The test program is compiled & build properly. Only during execution > I am getting this error. > Is there any setting I have to change? > > Google search was also unsuccessful. I read many people reporting this > issue. But for varied reasons. > Any help or directions will be very useful. > > > I am getting this error: > > *CRI<15613>:elementary elm_win.c:2366 elm_win_add() Software X11 > engine creation failed. Trying default. > [ecore_fb:init] can't open /dev/tty0 > ERR<15613>:elementary elm_win.c:2551 elm_win_add() Cannot create > window. This seems to be saying you are trying X and frame buffer? Two different things that you can't mix, perhaps there's a problem in your code? Are you trying to run this as an X window or on a frame buffer? Did you specifically request one in your code, but then actually run it as the other? Usually you would not bother to request one or the other, but just let EFL figure out what it's running on. This might be why it's failing to create the window. > ERR<15613>: elm_bg.c:144 elm_bg_add() safety check failed: > parent == NULL ERR<15613>: elm_box.c:446 elm_box_add() safety check > failed: parent == NULL ERR<15613>: elm_label.c:394 elm_label_add() > safety check failed: parent == NULL > ERR<15613>: elm_main.c:947 elm_object_part_text_set() safety check > failed: obj == NULL > * The rest are likely failing because the window creation failed and it can't go any further. Are you testing the result of your attempts to open an X window or the frame buffer before trying to perform operations on it? -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
