Menu

#42 Compilation error

3.0
open
nobody
2023-05-24
2023-05-24
No

I downloaded and unzipped the library on my PC (Manjaro Linux).
At the first strike, make gives an error due to the C++ version; following the wiki and a bit of googling I solved by modifying line 85 of the common.mk file in
CXXFLAGS += "-std=c++03"

Then I launched again make, but I got many errors, all of the same type. Once for all is

mkdir -p ./lib
flags = -L/usr/lib -shared
make -C src
make[1]: ingresso nella directory «/home/marco/Scaricati/seabreeze-3.0.11/SeaBreeze/src»
make[2]: ingresso nella directory «/home/marco/Scaricati/seabreeze-3.0.11/SeaBreeze/src/api»
caching DeviceFactory.d
DeviceFactory.cpp:33:10: fatal error: common/globals.h: File o directory non esistente
33 | #include "common/globals.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.

The claimed file global.h is in the directory ~seabreeze-3.0.11/SeaBreeze/include/common

How can I solve it?

Best regards, Marco Montecchi

Discussion


Log in to post a comment.