goToMain / libosdp

Implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol); provides a C library with support for C++, Rust and Python3
https://libosdp.sidcha.dev
Apache License 2.0
138 stars 71 forks source link

executable name same as directory name #3

Closed z8a closed 4 years ago

z8a commented 4 years ago

Compiling on Linux there is a linker error: /usr/bin/ld: cannot open output file osdpctl: Is a directory.

sidcha commented 4 years ago

@z8a, I think you did a cmake . on the root of the repo. This will cause an issue as osdpctl is a directory and it is the name of the binary. Instead, please try:

mkdir build && cd build
cmake ..
make
z8a commented 4 years ago

You are right, it's written in README.md! Thank you.