Code Monkey home page Code Monkey logo

Comments (11)

embeddedt avatar embeddedt commented on August 18, 2024

@epikao If you're on Windows, I would recommend using CodeBlocks instead. It's designed to link to a native Windows application instead of depending on Eclipse's MinGW/SDL.

from lv_port_pc_eclipse.

epikao avatar epikao commented on August 18, 2024

ok. thanks, but which CodeBlocks Version is required? see below?
And do I need to install something more? Unfortunately there is no note in the readme file:
https://github.com/littlevgl/pc_simulator_win_codeblocks

codeblocks-17.12-setup.exe

codeblocks-17.12-setup-nonadmin.exe

codeblocks-17.12-nosetup.zip

codeblocks-17.12mingw-setup.exe

codeblocks-17.12mingw-nosetup.zip

codeblocks-17.12mingw_fortran-setup.exe

from lv_port_pc_eclipse.

embeddedt avatar embeddedt commented on August 18, 2024

@epikao Sorry, I never added this to the README file. You need the mingw version. I made a note of this now.

from lv_port_pc_eclipse.

embeddedt avatar embeddedt commented on August 18, 2024

Did you download the sub modules?

from lv_port_pc_eclipse.

epikao avatar epikao commented on August 18, 2024

It works now with codeblocks, unfortunately after first run the demo works properly but after close the demo something crashs and I need to reboot the computer...
So I'm back now to eclipse... now it compiles everything without errors (only 5 warning) but I cannot run the demo (BTW I couldn't press the hammer button, I need to click on the context menu "build"):

Click to Run button, gives follow error:

Program file does not exist
Debug\pc_simulator not found
Debug\pc_simulator not found
Debug\pc_simulator not found

from lv_port_pc_eclipse.

embeddedt avatar embeddedt commented on August 18, 2024

The pc_simulator_sdl_eclipse project seems to be designed for Eclipse on Linux. I highly recommend sticking with CodeBlocks. If you really want to use Eclipse on Windows you'll probably need to create a new Run configuration and point it to Debug\pc_simulator.exe.

After first run the demo works properly but after close the demo something crashs and I need to reboot the computer

I doubt that LittlevGL is causing your whole computer to crash. Exactly what happens?

from lv_port_pc_eclipse.

epikao avatar epikao commented on August 18, 2024

I doubt that LittlevGL is causing your whole computer to crash. Exactly what happens?

  • open codeblocks
  • open programm file
  • build all
  • run, start demo
  • demo runs properly
  • close demo with x because want change something on the code
  • demo is closing, but it looks not properly because build button on codeblock is still not avaiable and the program can also not be deleted in the folder (because still someting in use).
  • new start of computer
  • now I can change code and build all, start demo without problem... but if want change again something is not possible even the demo was closed. So need again to restart computer..and so one...

from lv_port_pc_eclipse.

embeddedt avatar embeddedt commented on August 18, 2024

@epikao Try using the stop button inside CodeBlocks instead of the X on the title bar, or vice versa. There have been reports that only one of those works. I haven't found the root cause yet.

from lv_port_pc_eclipse.

embeddedt avatar embeddedt commented on August 18, 2024

@epikao And another option is to manually terminate LittlevGL.exe using Task Manager.

from lv_port_pc_eclipse.

embeddedt avatar embeddedt commented on August 18, 2024

@epikao Sorry, I tested it today and realized that it's the opposite of what I told you. The regular close button on the titlebar works fine. The "Stop" button inside CodeBlocks won't work.

from lv_port_pc_eclipse.

stale avatar stale commented on August 18, 2024

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from lv_port_pc_eclipse.

Related Issues (20)

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.