Coder Social home page Coder Social logo

avensun / lv_sim_visual_studio_sdl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lvgl/lv_port_pc_visual_studio

0.0 1.0 0.0 2.93 MB

LittlevGL ported to Visual Studio 2017 using SDL

License: MIT License

C 96.55% C++ 1.86% CMake 1.06% Objective-C 0.53%

lv_sim_visual_studio_sdl's Introduction

LittlevGL - PC Simulator using Visual Studio 2017

This is a pre-configured Visual Studio project to try LittlevGL on a Windows PC. The project uses the SDL library which is copied and linked to the project, so you can compile it without any extra dependencies. The 64 bit libraries are used so it will work out-of-the-box on 64-bit systems.

Instructions for cloning, building and running the application are found below.

How to Clone

This repos contains other, necessary LittleVGL software repositories as git sub-modules. Those sub-modules are not pulled in with the basic git clone command and they will be needed. There are a couple of ways to pull in those submodules.

Everything at Once

This command will clone this top level repo and all submodules in a single step.

git clone --recurse-submodules https://github.com/littlevgl/lv_sim_visual_studio_sdl.git

Main Repo First, Sub-modules Second

If you've already cloned the main repo you can pull in the sub-modules with a second command. Both commands are shown below.

git clone https://github.com/littlevgl/lv_sim_visual_studio_sdl.git
cd lv_sim_visual_studio_sdl
git submodule update --init --recursive

How To Build & Run

Open the lv_sim_visual_studio_sdl solution file in Visual Studio. Click on the Local windows Debugger button in the top toolbar. The included project will be built and run, launching from a cmd window.

Trying Things Out

There are a list of possible test applications in the main.c file. Each test or demo is launched via a single function call. By default the demo_create function is the one that runs, but you can comment that one out and choose any of the others to compile and run.

Use these examples to start building your own application testing code inside this simulator.

A Note About Versions

This repository usually has its sub-module references updated shortly after the release of new, major releases of LittlevGL's core lvgl project. If you need to pull in bug fixes in those sub-modules in between major releases you will have to update the references on your own. Be aware that if source files are added or removed in those sub-modules then the visual studio project will most likely need adjusting. See the commit log for this repo for examples of the changes needed when sub-module references are updated.

lv_sim_visual_studio_sdl's People

Contributors

kisvegabor avatar mcf avatar name12 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.