Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling fails in Manjaro #5

Closed
Snayler opened this issue Mar 7, 2021 · 3 comments
Closed

Compiling fails in Manjaro #5

Snayler opened this issue Mar 7, 2021 · 3 comments
Assignees

Comments

@Snayler
Copy link

Snayler commented Mar 7, 2021

I'm trying to compile Plug 1.4.1 in Manjaro, but I'm getting the following error after running make:

Scanning dependencies of target plug-updater
[ 36%] Building CXX object src/com/CMakeFiles/plug-updater.dir/plug-updater_autogen/mocs_compilation.cpp.o
[ 38%] Building CXX object src/com/CMakeFiles/plug-updater.dir/MustangUpdater.cpp.o
In file included from /home/snayler/Downloads/plug-1.4.1/src/com/MustangUpdater.cpp:25:
/home/snayler/Downloads/plug-1.4.1/include/com/Packet.h: In member function ‘plug::com::Type plug::com::Header::getType() const’:
/home/snayler/Downloads/plug-1.4.1/include/com/Packet.h:140:32: error: ‘domain_error’ is not a member of ‘std’
140 | throw std::domain_error("Invalid Type: " + std::to_string(bytes[1]));
| ^~~~~~~~~~~~
/home/snayler/Downloads/plug-1.4.1/include/com/Packet.h: In member function ‘plug::com::DSP plug::com::Header::getDSP() const’:
/home/snayler/Downloads/plug-1.4.1/include/com/Packet.h:200:32: error: ‘domain_error’ is not a member of ‘std’
200 | throw std::domain_error("Invalid DSP: " + std::to_string(bytes[2]));
| ^~~~~~~~~~~~
make[2]: *** [src/com/CMakeFiles/plug-updater.dir/build.make:95: src/com/CMakeFiles/plug-updater.dir/MustangUpdater.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:305: src/com/CMakeFiles/plug-updater.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

From the error, I can't find anything obvious, so I'd like to see if anyone would have a clue of what's wrong.

@offa offa self-assigned this Mar 8, 2021
@offa
Copy link
Owner

offa commented Mar 8, 2021

Thanks for reporting, the issue should be fixed on master already. Can you verify this on your system?

@Snayler
Copy link
Author

Snayler commented Mar 8, 2021

Thanks, it worked!

@Snayler Snayler closed this as completed Mar 8, 2021
@offa
Copy link
Owner

offa commented Mar 8, 2021

I've released v1.4.2, which includes the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants