Hi there,
Thanks for this spooky2 control software on linux. I'm experiencing a problem while trying to get it installed. As can be seen below, an error popped up after the make command while in the s2 directory. It says: error strlen was not declared in this scope. I'm new to linux, so I'm not savvy enough to find a solution myself.
So thanks in advance for any possible help!
Have a nice weekend,
Greetings, Jeroen
~/s2$ make
Scanning dependencies of target s2core
[ 4%] Building CXX object CMakeFiles/s2core.dir/src/Control.cpp.o
[ 9%] Building CXX object CMakeFiles/s2core.dir/src/Database.cpp.o
[ 13%] Building CXX object CMakeFiles/s2core.dir/src/Devices.cpp.o
[ 18%] Building CXX object CMakeFiles/s2core.dir/src/FindCommand.cpp.o
/home/jeroen/s2/src/FindCommand.cpp: In member function ‘virtual void FindOptions::Name(const char*)’:
/home/jeroen/s2/src/FindCommand.cpp:50:33: error: ‘strlen’ was not declared in this scope
50 | const char * nameEnd = name + strlen(name);
| ^~~~~~
/home/jeroen/s2/src/FindCommand.cpp:5:1: note: ‘strlen’ is defined in header ‘’; did you forget to ‘#include ’?
4 | #include
+++ |+#include
5 |
make[2]: *** [CMakeFiles/s2core.dir/build.make:102: CMakeFiles/s2core.dir/src/FindCommand.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:134: CMakeFiles/s2core.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Hi there,
Thanks for this spooky2 control software on linux. I'm experiencing a problem while trying to get it installed. As can be seen below, an error popped up after the make command while in the s2 directory. It says: error strlen was not declared in this scope. I'm new to linux, so I'm not savvy enough to find a solution myself.
So thanks in advance for any possible help!
Have a nice weekend,
Greetings, Jeroen
~/s2$ make
Scanning dependencies of target s2core
[ 4%] Building CXX object CMakeFiles/s2core.dir/src/Control.cpp.o
[ 9%] Building CXX object CMakeFiles/s2core.dir/src/Database.cpp.o
[ 13%] Building CXX object CMakeFiles/s2core.dir/src/Devices.cpp.o
[ 18%] Building CXX object CMakeFiles/s2core.dir/src/FindCommand.cpp.o
/home/jeroen/s2/src/FindCommand.cpp: In member function ‘virtual void FindOptions::Name(const char*)’:
/home/jeroen/s2/src/FindCommand.cpp:50:33: error: ‘strlen’ was not declared in this scope
50 | const char * nameEnd = name + strlen(name);
| ^~~~~~
/home/jeroen/s2/src/FindCommand.cpp:5:1: note: ‘strlen’ is defined in header ‘’; did you forget to ‘#include ’?
4 | #include
+++ |+#include
5 |
make[2]: *** [CMakeFiles/s2core.dir/build.make:102: CMakeFiles/s2core.dir/src/FindCommand.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:134: CMakeFiles/s2core.dir/all] Error 2
make: *** [Makefile:130: all] Error 2