grantHarris / raspberrypi-e131-led

Accepts multiple E1.31 universes for mapping on to a single LED string connected to a raspberry pi
MIT License
2 stars 2 forks source link

Compilation error: runtime_error exception #6

Open Hilicot opened 1 year ago

Hilicot commented 1 year ago

Hello, when running make during compilation, I got the error

/home/pi/MyScripts/raspberrypi-e131-led/src/Util.cpp: In function ‘std::string Util::exec(const char*)’:    
/home/pi/MyScripts/raspberrypi-e131-led/src/Util.cpp:10:24: error: ‘runtime_error’ is not a member of ‘std’    
            10 |             throw std::runtime_error("popen() failed!");                                                      
               |                        ^~~~~~~~~~~~~                                                                            
make[2]: *** [CMakeFiles/e131bridge.dir/build.make:104: CMakeFiles/e131bridge.dir/src/Util.cpp.o] Error 1               
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/e131bridge.dir/all] Error 2                                           
make: *** [Makefile:91: all] Error 2