Hi
I've just installed ewl in my system compiled and installed in /usr/lib
ewl_test work correctly but:
I made this sample code:

#include <stdio.h>
#include <Ewl.h>

void destroy_cb(Ewl_widget *w, void *event, void *data)
{
  ewl_widget_destroy(w);
  ewl_main_quit();
}

int main(int argc, char ** argv)
{
  Ewl_widget *win = NULL;
  if (!ewl_init(&argc, argv))
  {
    printf("Unable to find init ewl\n");
    return 1;
  }

  win = ewl_window_new();
  ewl_window_title_set(EWL_WINDOW(win), "Finestra EWL");
  ewl_callback_append(win, EWL_CALLBACK_DELETE_WINDOW, destroy_cb, NULL);
  ewl_widget_show(win);

  ewl_main();
  return 0;
}

compiling with:
gcc my_widget.c 'ewl-config --cflags --libs'

And the compiler doesn't find Ewl.h, there is something I still missing?

Regards.

-- 
__Matteo__

http://www.youtube.com/watch?v=UqkKurZ22KM
http://maps.google.com/maps?f=q&hl=en&geocode=&q=Strada+dei+Campi,+34072+Gorizia,+Friuli-Venezia+Giulia,+Italia&sll=37.0625,-95.677068&sspn=28.611123,82.265625&ie=UTF8&ll=45.910682,13.507696&spn=0.00153,0.005021&t=h&z=18

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to