You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just tried to compile proton-mail-export from git source. Using standard mkdir build, cd build, cmake .., make command line instructions. (There is a dependency in cmake on clang-tidy which I believe should be removed, as that has IMO little to do in this context, but this is besides the point of this bug report.)
I get a build failure, which is tied to an #include <memory> statement:
mini-me@virtucon ~/h/c/p/build (master)> make-- GLOB mismatch!-- Running vcpkg installDetecting compiler hash for triplet x64-linux...All requested packages are currently installed.Total install time: 645 nscatch2 provides CMake targets: # this is heuristically generated, and may not be correct find_package(Catch2 CONFIG REQUIRED) target_link_libraries(main PRIVATE Catch2::Catch2 Catch2::Catch2WithMain)cxxopts provides CMake targets: # this is heuristically generated, and may not be correct find_package(cxxopts CONFIG REQUIRED) target_link_libraries(main PRIVATE cxxopts::cxxopts)The package fmt provides CMake targets: find_package(fmt CONFIG REQUIRED) target_link_libraries(main PRIVATE fmt::fmt) # Or use the header-only version find_package(fmt CONFIG REQUIRED) target_link_libraries(main PRIVATE fmt::fmt-header-only)-- Running vcpkg install - done-- Configuring done (2.6s)-- Generating done (0.0s)-- Build files have been written to: /home/mini-me/home/cellar/proton-mail-export/build[ 5%] Generating proton-mail-export.so[ 5%] Built target etcore-go-lib-build[ 10%] Building CXX object lib/CMakeFiles/etcpp.dir/lib/etsession.cpp.o/home/mini-me/home/cellar/proton-mail-export/lib/include/etsession.hpp:20:10: error: 'memory' file not found [clang-diagnostic-error]#include <memory> ^~~~~~~~1 error generated.Error while processing /home/mini-me/home/cellar/proton-mail-export/lib/lib/etsession.cpp.Found compiler error(s).make[2]: *** [lib/CMakeFiles/etcpp.dir/build.make:76: lib/CMakeFiles/etcpp.dir/lib/etsession.cpp.o] Error 1make[1]: *** [CMakeFiles/Makefile2:312: lib/CMakeFiles/etcpp.dir/all] Error 2make: *** [Makefile:146: all] Error 2mini-me@virtucon ~/h/c/p/build (master) [2]>
I had to install libstdc++-13-dev for the code to compile.
I am not closing this issue as it may be fixed for me but, in the end, I believe this should be handled in the cmake step and not fail in the make step.
Hi.
I've just tried to compile
proton-mail-export
from git source. Using standardmkdir build
,cd build
,cmake ..
,make
command line instructions. (There is a dependency in cmake on clang-tidy which I believe should be removed, as that has IMO little to do in this context, but this is besides the point of this bug report.)I get a build failure, which is tied to an
#include <memory>
statement:Some info:
The text was updated successfully, but these errors were encountered: