Giter Club home page Giter Club logo

libcimpp's Introduction

libcimpp

libcimpp is a deserialiser library for C++ objects from XML/RDF documents based on the Common Information Model (CIM) standards (i.e. IEC61970/61968/62325) for the energy sector. It is part of the CIM++ project. More on CIM++ can be found here.

CIM C++ Codebases adaptiert durch CIM++ Originale CIM Versionen

IEC61970 16v29a

ICGMES_2.4.15_27JAN2020

IEC61970_16v29a_IEC61968_12v08

IEC61970_17v07

General information

limcimpp uses arabica as cross platform wrapper around one of the XML parsers listed int the dependencies (see below). It is recommended to use libcimpp as cmake module.

Dependencies

You need following software packages for libcimpp:

  • One of the following XML parsers:
    • libxml2 (usually chosen under Linux and often can be installed as a package of the used distribution)
    • expat
    • Xerces
    • Microsoft XML Parser (this one is used per default when building with MS Visual Studio)
  • Build system:

Get the Git repository

git clone https://github.com/RWTH-ACS/libcimpp.git
cd libcimpp
git submodule update --init --recursive

Build instructions

The UNIX / Linux / MacOS way

After getting the Git repository, create a build subdirectory and change into it:

mkdir build
cd build

For building libcimpp with the default CIM version, type:

cmake ..
make -j 4

For building libcimpp with a certain CIM version (e.g. IEC61970_16v29a), type:

cmake .. -DUSE_CIM_VERSION=IEC61970_16v29a
make -j 4

All available CIM versions can be determined in the CMakeLists.txt

The Windows way with MS Visual Studio

  1. After getting the Git repository, create a build subdirectory.
  2. Run the Windows CMake (GUI)
  3. Set the
  • source code directory, e.g.: C:/git/libcimpp
  • build directory, e.g.: C:/git/libcimpp/build
  1. Click on Configure and choose the Visual Studio project version, e.g.: Visual Studio 15 2017
  2. Click on Finish and wait while CMake is configuring the project.
  3. Click on Generate to generate the Visual Studio project files.
  4. Click on Open Project to open the project in Visual Studio.
  5. In Visual Studio's main menu choose Build -> Build Solution. This will build the libcimpp library.

Build instructions for using libcimpp as a cmake module

To be continued...

Usage of the libcimpp library

For information how to use the library please see the cmake based example. Building of the example can be performed analogous to bulding the library itself (as described in the Build instructions above).
The pure make example is currently not supported due to the lack of an install target for arabica.

libcimpp's People

Contributors

dknibbe avatar maxkissgen avatar lukasrazik avatar richardmarston avatar stv0g avatar m-mirz avatar achim-voelker avatar pdressen avatar guelfey avatar mohkoh19 avatar taojunli avatar simongrimmacs avatar dinkelbachjan 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.