Comments (4)
I reported this issue to Gabor.
I ran into this issue while following the instructions on https://github.com/lvgl/lv_port_pc_eclipse on my Linux desktop running Mint 20.3.
This is what I did (leaving out most of the command output):
$ git clone --recursive https://github.com/littlevgl/pc_simulator_sdl_eclipse.git
...
$ sudo apt install libsdl2-dev
...
$ cmake .. -DLV_USE_DRAW_SDL=ON -DLV_USE_LIBPNG=ON -DLV_USE_LIBJPEG_TURBO=ON
...
Could NOT find SDL2_image (missing: SDL2_IMAGE_LIBRARIES)
...
$ sudo apt install libsdl2-image-dev
...
$ cmake .. -DLV_USE_DRAW_SDL=ON -DLV_USE_LIBPNG=ON -DLV_USE_LIBJPEG_TURBO=ON
...
Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
...
$ sudo apt install libjpeg-dev
...
$ cmake .. -DLV_USE_DRAW_SDL=ON -DLV_USE_LIBPNG=ON -DLV_USE_LIBJPEG_TURBO=ON
...
(normal termination - cmake worked)
The point I wanted to make is that you may want to add the extra required installs libsdl2-image-dev
and libjpeg-dev
in the instructions.
from lv_port_pc_eclipse.
Hi Gabor,
When -DLV_USE_DRAW_SDL=ON
and -DLV_USE_LIBJPEG_TURBO=ON
are enabled, it means to link against libsdl2_image
and libjpeg_turbo
.
I have included the packages need to install in CMakeLists.txt.
lv_port_pc_eclipse/CMakeLists.txt
Lines 29 to 37 in 2190f28
lv_port_pc_eclipse/CMakeLists.txt
Lines 45 to 52 in 2190f28
from lv_port_pc_eclipse.
Thank you for the quick reply. I asked m fried to join the discussion in order to better understand the issue.
from lv_port_pc_eclipse.
from lv_port_pc_eclipse.
Related Issues (20)
- Problem running this repository in windows HOT 2
- -lpng not found HOT 3
- table memory overflow HOT 2
- It works HOT 2
- build in windows using cygwin but no gui display HOT 7
- options missing in lv_conf.h HOT 2
- zip download does not include the drivers HOT 1
- MOUSE is not work on submodule lv_drivers v8.3.0 HOT 3
- Importing project to STMCubeIDE HOT 2
- Building the project in Ubuntu HOT 1
- ld: library not found for -lSDL2main HOT 4
- needs update to be able to run on new lvgl master HOT 6
- Recommends to update CMakeLists.txt file at top folder HOT 4
- unknown SDL_PixelFormatEnum HOT 5
- Release branches supported? HOT 2
- problemn building pc_simulator HOT 6
- Demo in `master` gets frozen
- lv_port_pc_eclipse V9 build failure[windows] HOT 10
- lvgl master 2024.3.4 lvgl::thorvg compile error HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lv_port_pc_eclipse.