compile on Fedora 41
Non-linear video editor targeted for home video editing.
Brought to you by:
epra
I ran ccmake .. in build subdir, entered "/usr/bin/wx-config" as wxWidgets_CONFIG_EXECUTABLE, pressed C, then ran cmake .., after that I was able to run make, but it failed:
$ make
[ 1%] Generating Precompiled.h.gch
[ 1%] Built target Precompiled_gch
[ 3%] Building CXX object CMakeFiles/vidiot.dir/unity/unity_application.cpp.o
[ 5%] Building CXX object CMakeFiles/vidiot.dir/unity/unity_config.cpp.o
In file included from /a/M/Vidiot/vidiot-code/pch/include/Precompiled.h:203:
/a/M/Vidiot/vidiot-code/util/include/UtilLog.h: In instantiation of ‘LogVar& LogVar::logVar(type&&, const char*) [with type = std::map<std::pair<int, int>, config::KeyAction>&]’:
/a/M/Vidiot/vidiot-code/config/src/ConfigKeys.cpp:456:5: required from here
283 | #define LOGVAR_OP(x, next) LOGVAR_A.logVar(x, #x).LOGVAR_ ## next
| ^
/a/M/Vidiot/vidiot-code/util/include/UtilLog.h:268:41: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::map<std::pair<int, int>, config::KeyAction>’)
268 | osVars << "[" << varName << "=" << varValue << "]";
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/c++/14/istream:41,
from /usr/include/c++/14/fstream:40,
from /a/M/Vidiot/vidiot-code/pch/include/Precompiled.h:51:
/usr/include/c++/14/ostream:116:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ostream_type& (*)(__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>]’
116 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ^~~~~~~~
/usr/include/c++/14/ostream:116:36: note: no known conversion for argument 1 from ‘std::map<std::pair<int, int>, config::KeyAction>’ to ‘std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&)’ {aka ‘std::basic_ostream<char>& (*)(std::basic_ostream<char>&)’}
116 | operator<<(__ostream_type& (*__pf)(__ostream_type&))
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/ostream:125:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; __ostream_type = std::basic_ostream<char>; __ios_type = std::basic_ios<char>]’
Im afraid I don't have the time to investigate compile errors on all platforms.