edgexfoundry / device-bacnet-c

Owner: Device WG
Apache License 2.0
12 stars 15 forks source link

Build Error: CMake Error at CMakeLists.txt #93

Closed M0hanrajp closed 1 month ago

M0hanrajp commented 1 month ago

🐞 Bug Report

Affected Services [REQUIRED]

Issue was found during build process of https://github.com/edgexfoundry/device-bacnet-c

Is this a regression?

Not sure, not tried the previous versions of the build.

Description and Minimal Reproduction [REQUIRED]

More info will be found in discussion: Not able to build device-bacnet-c, CMake Error at CMakeLists.txt #302

πŸ”₯ Exception or Error

🌍 Your Environment

Deployment Environment:Ubuntu 22.04

EdgeX Version [REQUIRED]:3.1.1-Napa

Anything else relevant?

Yes, by following the below process the build was successful but I'm not sure if the build succeeds.

M0hanrajp commented 1 month ago

But when executing make build and scripts/build.sh both, the following error is observed while running bacnet ip & mstp device service:

~/edgex-foundry/edgex-device-sdk-c/device-bacnet-c-3.1.0/build/release/device-bacnet-ip$ ./device-bacnet-c
level=ERROR ts=2024-08-14T14:54:31Z app=device-bacnet-ip msg="devsdk_service_new: no version specified"
Error: 7: No Device version was specified

Please help on this !

M0hanrajp commented 1 month ago

If the make build and scripts/build.sh process seem to build correctly should we change the execution process ?

M0hanrajp commented 1 month ago

Fixed using solution at discussion 302