I decide to run PC simulator on windows but it took me a lot of time and it was failure due to different error . the error came from fbdev.c and some more if you want i will explain it here
so I installed a virtual ubuntu on vmware and i did compile project without error although it is showing a compelete black LCD
I followed a guideline posted in get started page and used a pre configured version that are recommended by site.
I did not change any thing in this zip file . in this file a demo create function is running in main file it can’t even run that black tft and program terminated just after it runs so i commented this line and ran “switch example” and “line example” instead but there is just a black tft screen
my C compiler is
i instaled build-essentials
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
my os is ubuntu 14.04 lts
my IDE is eclipse 12-2018
libsdl2-2.0-0
void lv_ex_line_1(void)
{
/Create an array for the points of the line/
static lv_point_t line_points = { {0, 0}, {240, 0}, {320, 10}, {180, 60}, {240, 10} };
/*Create new style (thick dark blue)*/
static lv_style_t style_line;
lv_style_copy(&style_line, &lv_style_plain);
style_line.line.color = LV_COLOR_MAKE(0x00, 0x3b, 0x75);
style_line.line.width = 3;
style_line.line.rounded = 1;
/*Copy the previous line and apply the new style*/
lv_obj_t * line1;
line1 = lv_line_create(lv_scr_act(), NULL);
lv_line_set_points(line1, line_points, 5); /*Set the points*/
lv_line_set_style(line1, LV_LINE_STYLE_MAIN, &style_line);
lv_obj_align(line1, NULL, LV_ALIGN_CENTER, 0, 0);
}
I need this simulator to deisign my gui faster and to find out if some error in my actual hardware is either by low ram or not?
I edited this post to follow template . I could not find lvgl version in zip file