mirror of
https://github.com/emqx/neuron.git
synced 2026-10-18 21:50:42 +08:00
25bbff646e91267c72d92f520c8558df080c7cff
neuron
NEURON IIoT System for Industry 4.0
Build Requirements
-
# Ubuntu $ apt-get install libssl-dev # CentOS $ yum install openssl-devel # MacOS $ brew install openssl -
$ git clone -b v1.5.1 git@github.com:nanomsg/nng.git $ cd nng $ mkdir build $ cd build $ cmake -G Ninja -DBUILD_SHARED_LIBS=1 .. $ ninja $ ninja test $ ninja install -
$ git clone git@github.com:akheron/jansson.git $ cd jansson $ mkdir build $ cd build $ cmake -G Ninja -DJANSSON_BUILD_DOCS=OFF .. $ ninja $ ninja install -
$ git clone git@github.com:benmcollins/libjwt.git $ cd libjwt $ mkdir build $ cd build $ cmake -G Ninja -DBUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR={YOUR_OPENSSL_ROOT_DIR} .. $ ninja $ ninja install -
$ git clone -b v1.3.9 git@github.com:eclipse/paho.mqtt.c.git $ cd paho.mqtt.c $ mkdir build $ cd build $ cmake -G Ninja -DPAHO_BUILD_SAMPLES=FALSE -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_SHARED=FALSE -DPAHO_BUILD_STATIC=TRUE -DOPENSSL_ROOT_DIR={YOUR_OPENSSL_ROOT_DIR} -DPAHO_HIGH_PERFORMANCE=TRUE -DCMAKE_BUILD_TYPE=Release .. $ ninja $ ninja install -
$ git clone https://github.com/yaml/libyaml.git $ cd libyaml $ mkdir build && cd build && cmake DBUILD_SHARED_LIBS=1 .. && make $ make install -
# Download lastest neuron-dashboard release from https://github.com/neugates/neuron-dashboard-src/releases # Unzip and move to "build" $ unzip neuron-dashboard.zip -d build -
$ git clone -b v1.2.2 https://github.com/open62541/open62541.git $ cd open62541 $ mkdir build $ cd build $ cmake -G Ninja -DBUILD_SHARED_LIBS=OFF -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_ENCRYPTION=ON -DUA_ENABLE_ENCRYPTION_OPENSSL=ON .. $ ninja && ninja install
Description
Languages
C
83.9%
Python
12.5%
C++
2.3%
CMake
0.9%
Shell
0.3%