Giter VIP home page Giter VIP logo

ldmicro's Introduction

LDmicro

LDmicro is a program for creating, developing and editing ladder diagrams, simulation of a ladder diagram work and the compilation of ladder diagrams into the native hexadecimal firmware code of the Atmel AVR and Microchip PIC controllers.

Official LDmicro Ladder Logic for PIC and AVR Home Page
Official LDmicro Forum
Actual manual.txt

Download executable binaries buildXXXX.zip from the Latest release
You probably need to install the Microsoft Visual C ++ Redistributable Package if Visual C ++ is not installed in your operating system. See MSVCP100.dll is missing error

Read Ldmicro Wiki and HOW TO:

Building LDmicro

Building with make

LDmicro is built using the Microsoft Visual C++ compiler. If that is installed correctly, then you should be able to just run

make.bat

and see everything build.

Various source and header files are generated automatically. The perl scripts to do this are included with this distribution, but it's necessary to have a perl.exe in your path somewhere.

The makefile accepts an argument, D=LANG_XX, where XX is the language code. make.bat supplies that argument automatically, as LANG_EN (English).

Building with Cmake

For building LDmicro with Cmake you need Cmake itself, Perl interpreter and C++11 compiler.

You should use out-of-source-tree builds, so create e.g. a directory build in the main ldmicro directory. (If you choose to build in other directory, replace the .. in the following instructions with path pointing to the root/ldmicro directory.)

To build with MSYS + mingw-w64 + Make:

$ mkdir build
$ cd build
$ cmake -G "MSYS Makefiles" ..
$ make

To build with MSYS + mingw-w64 + Ninja:

$ mkdir build
$ cd build
$ cmake -G "Ninja" ..
$ ninja

To build within MSYS2, make sure you have these MSYS2 packages installed:

  • make
  • mingw-w64-i686-gcc, mingw-w64-i686-cmake

Build with Microsoft Visual Studio 2017

Visual Studio 2017 supports CMake build system, so you may just follow these instructions.

  1. Start Visual Studio 2017.
  2. In menu File, choose submenu Open and Folder.
  3. In the open dialog, navigate to LDmicro/ldmicro folder and open it.
  4. In menu CMake, choose to Build all.

Build with Older Version of Microsoft Visual Studio

To build with older Microsoft Visual Studio 2013 or 2015, you have to generate project files manually:

$ mkdir build
$ cd build
$ cmake -G "Visual Studio 12 2013" ..           # MSVC 2013, 32-bit build
$ cmake -G "Visual Studio 12 2013 Win64" ..     # MSVC 2013, 64-bit build
$ cmake -G "Visual Studio 14 2015" ..           # MSVC 2015, 32-bit build
$ cmake -G "Visual Studio 14 2015 Win64" ..     # MSVC 2015, 64-bit build

Then open the generated solution file build/ldmicro.sln in Visual Studio and build the target ALL_BUILD.

You can also choose LDmicro language. For that, you should set LDLANG variable for Cmake. LDLANG can be one of those values: EN, DE, ES, FR, IT, PT, TR, RU, JA or ALL.

cmake -G "Ninja" -DLDLANG=DE ..

ldmicro's People

Contributors

ldmicrogithub avatar slyshyko avatar ihornehrutsa avatar joegil95 avatar f1oat avatar

Watchers

James Cloos 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.