Skip to content

Instantly share code, notes, and snippets.

@allquixotic
Created July 5, 2018 11:42
Show Gist options
  • Save allquixotic/a335396d035a71f7ce4f7e5f67f21280 to your computer and use it in GitHub Desktop.
Save allquixotic/a335396d035a71f7ce4f7e5f67f21280 to your computer and use it in GitHub Desktop.
Wt FTBFS on Linux
#include <Wt/WApplication.h>
#include <Wt/WBreak.h>
#include <Wt/WContainerWidget.h>
#include <Wt/WLineEdit.h>
#include <Wt/WPushButton.h>
#include <Wt/WText.h>
class HelloApplication : public Wt::WApplication
{
public:
HelloApplication(const Wt::WEnvironment& env);
private:
Wt::WLineEdit *nameEdit_;
Wt::WText *greeting_;
};
HelloApplication::HelloApplication(const Wt::WEnvironment& env)
: Wt::WApplication(env)
{
setTitle("Hello world");
root()->addWidget(Wt::cpp14::make_unique<Wt::WText>("Your name, please? "));
nameEdit_ = root()->addWidget(Wt::cpp14::make_unique<Wt::WLineEdit>());
Wt::WPushButton *button = root()->addWidget(Wt::cpp14::make_unique<Wt::WPushButton>("Greet me."));
root()->addWidget(Wt::cpp14::make_unique<Wt::WBreak>());
greeting_ = root()->addWidget(Wt::cpp14::make_unique<Wt::WText>());
auto greet = [this]{
greeting_->setText("Hello there, " + nameEdit_->text());
};
button->clicked().connect(greet);
}
int main(int argc, char **argv)
{
return Wt::WRun(argc, argv, [](const Wt::WEnvironment& env) {
return Wt::cpp14::make_unique<HelloApplication>(env);
});
}
#!/bin/bash
rm -rf build && mkdir -p build && cd build
conan install --build --profile default ..
cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
cmake --build .
project(asdf)
cmake_minimum_required(VERSION 2.8.12)
set(CMAKE_VERBOSE_MAKEFILE TRUE)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
file(GLOB SOURCE_FILES *.cpp)
add_executable(${PROJECT_NAME} ${SOURCE_FILES})
target_link_libraries(${PROJECT_NAME} ${CONAN_LIBS})
function(add_option option)
if(${option})
target_compile_definitions(${CMAKE_PROJECT_NAME} PRIVATE "${option}")
endif()
endfunction()
add_option(WITH_DBO)
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=7
compiler.libcxx=libstdc++11
cppstd=11
build_type=Release
[options]
[build_requires]
[env]
[requires]
wt/4.0.3@bincrafters/stable
libpq/10.4@bincrafters/stable
OpenSSL/1.0.2o@conan/stable
[generators]
cmake
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Current conanbuildinfo.cmake directory: /home/user/server/build
-- Conan: Compiler GCC>=5, checking major version 7
-- Conan: Checking correct version: 7
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/server/build
/usr/bin/cmake -H/home/user/server -B/home/user/server/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/user/server/build/CMakeFiles /home/user/server/build/CMakeFiles/progress.marks
/usr/bin/make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/user/server/build'
/usr/bin/make -f CMakeFiles/asdf.dir/build.make CMakeFiles/asdf.dir/depend
make[2]: Entering directory '/home/user/server/build'
cd /home/user/server/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/user/server /home/user/server /home/user/server/build /home/user/server/build /home/user/server/build/CMakeFiles/asdf.dir/DependInfo.cmake --color=
Scanning dependencies of target asdf
make[2]: Leaving directory '/home/user/server/build'
/usr/bin/make -f CMakeFiles/asdf.dir/build.make CMakeFiles/asdf.dir/build
make[2]: Entering directory '/home/user/server/build'
[ 50%] Building CXX object CMakeFiles/asdf.dir/asdf.cpp.o
/usr/bin/c++ -I/home/user/.conan/data/wt/4.0.3/bincrafters/stable/package/d518dd6f466daa66d90cd7user2966b17152e635be/include -I/home/user/.conan/data/libpq/10.4/bincrafters/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/include -I/home/user/.conan/data/OpenSSL/1.0.2o/conan/stable/package/75b541b6f810787a4fcee8ceusercfdbf95959366f/include -I/home/user/.conan/data/boost_asio/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/asio/include -I/home/user/.conan/data/boost_assign/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/assign/include -I/home/user/.conan/data/boost_interprocess/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/interprocess/include -I/home/user/.conan/data/boost_multi_index/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/multi_index/include -I/home/user/.conan/data/boost_numeric_ublas/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/ublas/include -I/home/user/.conan/data/boost_program_options/1.66.0/bincrafters/stable/package/c2027dd75773beee8093ae7e1a0102050a9fb408/program_options/include -I/home/user/.conan/data/sqlite3/3.21.0/bincrafters/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/include -I/home/user/.conan/data/boost_coroutine/1.66.0/bincrafters/stable/package/4b057444349e6513c08fd17418952dd3e18387d9/coroutine/include -I/home/user/.conan/data/boost_ptr_container/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/ptr_container/include -I/home/user/.conan/data/boost_numeric_interval/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/interval/include -I/home/user/.conan/data/boost_any/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/any/include -I/home/user/.conan/data/boost_context/1.66.0/bincrafters/stable/package/4c38c4bb6027beea28a16718baf42d0e4dbd16dc/context/include -I/home/user/.conan/data/boost_circular_buffer/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/circular_buffer/include -I/home/user/.conan/data/boost_logic/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/logic/include -I/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/date_time/include -I/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/locale/include -I/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/pool/include -I/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/serialization/include -I/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/spirit/include -I/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/thread/include -I/home/user/.conan/data/boost_algorithm/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/algorithm/include -I/home/user/.conan/data/boost_filesystem/1.66.0/bincrafters/stable/package/ad6514b89856c280693c3b891655505f0bdaf8ec/filesystem/include -I/home/user/.conan/data/boost_phoenix/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/phoenix/include -I/home/user/.conan/data/boost_tokenizer/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/tokenizer/include -I/home/user/.conan/data/boost_variant/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/variant/include -I/home/user/.conan/data/boost_chrono/1.66.0/bincrafters/stable/package/3b8d19ef9ae877526ff8ce52a83a1e443329351a/chrono/include -I/home/user/.conan/data/boost_foreach/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/foreach/include -I/home/user/.conan/data/boost_endian/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/endian/include -I/home/user/.conan/data/boost_iostreams/1.66.0/bincrafters/stable/package/46823bb77823ff64978e7c8b7941eae24b564b00/iostreams/include -I/home/user/.conan/data/boost_tti/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/tti/include -I/home/user/.conan/data/zlib/1.2.11/conan/stable/package/6ae331b72e7e265ca2a3d1d8246faf73aa030238/include -I/home/user/.conan/data/boost_exception/1.66.0/bincrafters/stable/package/431f2ea037a6349548ab0b26ad39119cb9b4d845/exception/include -I/home/user/.conan/data/boost_unordered/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/unordered/include -I/home/user/.conan/data/boost_io/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/io/include -I/home/user/.conan/data/boost_proto/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/proto/include -I/home/user/.conan/data/boost_ratio/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/ratio/include -I/home/user/.conan/data/boost_random/1.66.0/bincrafters/stable/package/29c7f3b8453cd47287f251380cbe4097963a4d0e/random/include -I/home/user/.conan/data/bzip2/1.0.6/conan/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/include -I/home/user/.conan/data/lzma/5.2.3/bincrafters/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/include -I/home/user/.conan/data/boost_system/1.66.0/bincrafters/stable/package/5ddb809292be89c07a0923f36f240011de560ab8/system/include -I/home/user/.conan/data/boost_rational/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/rational/include -I/home/user/.conan/data/boost_winapi/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/winapi/include -I/home/user/.conan/data/boost_level8group/1.66.0/bincrafters/stable/package/42210b1ef7e2bb8646be9ff1651c1b974d166ea3/lexical_cast/include -I/home/user/.conan/data/boost_level8group/1.66.0/bincrafters/stable/package/42210b1ef7e2bb8646be9ff1651c1b974d166ea3/math/include -I/home/user/.conan/data/boost_range/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/range/include -I/home/user/.conan/data/boost_container/1.66.0/bincrafters/stable/package/5c227d06b7ee17bf2aaba5e4342540355565d1bf/container/include -I/home/user/.conan/data/boost_atomic/1.66.0/bincrafters/stable/package/94e6a9279d4a15304f3aeae81cff7a31c7b5997b/atomic/include -I/home/user/.conan/data/boost_lambda/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/lambda/include -I/home/user/.conan/data/boost_array/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/array/include -I/home/user/.conan/data/boost_tuple/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/tuple/include -I/home/user/.conan/data/boost_regex/1.66.0/bincrafters/stable/package/c58428d6e47128cb6a2f586c2e6edbe0deddcd48/regex/include -I/home/user/.conan/data/boost_intrusive/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/intrusive/include -I/home/user/.conan/data/boost_numeric_conversion/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/numeric_conversion/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/concept_check/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/conversion/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/detail/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/function/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/function_types/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/functional/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/fusion/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/iterator/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/mpl/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/optional/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/type_index/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/typeof/include -I/home/user/.conan/data/boost_level5group/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/utility/include -I/home/user/.conan/data/boost_bind/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/bind/include -I/home/user/.conan/data/boost_integer/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/integer/include -I/home/user/.conan/data/boost_smart_ptr/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/smart_ptr/include -I/home/user/.conan/data/boost_preprocessor/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/preprocessor/include -I/home/user/.conan/data/boost_throw_exception/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/throw_exception/include -I/home/user/.conan/data/boost_type_traits/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/type_traits/include -I/home/user/.conan/data/boost_move/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/move/include -I/home/user/.conan/data/boost_predef/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/predef/include -I/home/user/.conan/data/boost_core/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/core/include -I/home/user/.conan/data/boost_static_assert/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/static_assert/include -I/home/user/.conan/data/boost_assert/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/assert/include -I/home/user/.conan/data/boost_config/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/config/include -O3 -DNDEBUG -DLZMA_API_STATIC -DBOOST_ALL_NO_LIB=1 -std=gnu++11 -o CMakeFiles/asdf.dir/asdf.cpp.o -c /home/user/server/asdf.cpp
[100%] Linking CXX executable bin/asdf
/usr/bin/cmake -E cmake_link_script CMakeFiles/asdf.dir/link.txt --verbose=1
/usr/bin/c++ -O3 -DNDEBUG -rdynamic CMakeFiles/asdf.dir/asdf.cpp.o -o bin/asdf -L/home/user/.conan/data/wt/4.0.3/bincrafters/stable/package/d518dd6f466daa66d90cd7user2966b17152e635be/lib -L/home/user/.conan/data/libpq/10.4/bincrafters/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib -L/home/user/.conan/data/OpenSSL/1.0.2o/conan/stable/package/75b541b6f810787a4fcee8ceusercfdbf95959366f/lib -L/home/user/.conan/data/boost_asio/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/asio/lib -L/home/user/.conan/data/boost_assign/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/assign/lib -L/home/user/.conan/data/boost_interprocess/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/interprocess/lib -L/home/user/.conan/data/boost_multi_index/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/multi_index/lib -L/home/user/.conan/data/boost_numeric_ublas/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/ublas/lib -L/home/user/.conan/data/boost_program_options/1.66.0/bincrafters/stable/package/c2027dd75773beee8093ae7e1a0102050a9fb408/program_options/lib -L/home/user/.conan/data/sqlite3/3.21.0/bincrafters/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib -L/home/user/.conan/data/boost_coroutine/1.66.0/bincrafters/stable/package/4b057444349e6513c08fd17418952dd3e18387d9/coroutine/lib -L/home/user/.conan/data/boost_ptr_container/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/ptr_container/lib -L/home/user/.conan/data/boost_numeric_interval/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/interval/lib -L/home/user/.conan/data/boost_any/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/any/lib -L/home/user/.conan/data/boost_context/1.66.0/bincrafters/stable/package/4c38c4bb6027beea28a16718baf42d0e4dbd16dc/context/lib -L/home/user/.conan/data/boost_circular_buffer/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/circular_buffer/lib -L/home/user/.conan/data/boost_logic/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/logic/lib -L/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/date_time/lib -L/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/locale/lib -L/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/serialization/lib -L/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/thread/lib -L/home/user/.conan/data/boost_algorithm/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/algorithm/lib -L/home/user/.conan/data/boost_filesystem/1.66.0/bincrafters/stable/package/ad6514b89856c280693c3b891655505f0bdaf8ec/filesystem/lib -L/home/user/.conan/data/boost_phoenix/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/phoenix/lib -L/home/user/.conan/data/boost_tokenizer/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/tokenizer/lib -L/home/user/.conan/data/boost_variant/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/variant/lib -L/home/user/.conan/data/boost_chrono/1.66.0/bincrafters/stable/package/3b8d19ef9ae877526ff8ce52a83a1e443329351a/chrono/lib -L/home/user/.conan/data/boost_foreach/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/foreach/lib -L/home/user/.conan/data/boost_endian/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/endian/lib -L/home/user/.conan/data/boost_iostreams/1.66.0/bincrafters/stable/package/46823bb77823ff64978e7c8b7941eae24b564b00/iostreams/lib -L/home/user/.conan/data/boost_tti/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/tti/lib -L/home/user/.conan/data/zlib/1.2.11/conan/stable/package/6ae331b72e7e265ca2a3d1d8246faf73aa030238/lib -L/home/user/.conan/data/boost_exception/1.66.0/bincrafters/stable/package/431f2ea037a6349548ab0b26ad39119cb9b4d845/exception/lib -L/home/user/.conan/data/boost_unordered/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/unordered/lib -L/home/user/.conan/data/boost_io/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/io/lib -L/home/user/.conan/data/boost_proto/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/proto/lib -L/home/user/.conan/data/boost_ratio/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/ratio/lib -L/home/user/.conan/data/boost_random/1.66.0/bincrafters/stable/package/29c7f3b8453cd47287f251380cbe4097963a4d0e/random/lib -L/home/user/.conan/data/bzip2/1.0.6/conan/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib -L/home/user/.conan/data/lzma/5.2.3/bincrafters/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib -L/home/user/.conan/data/boost_system/1.66.0/bincrafters/stable/package/5ddb809292be89c07a0923f36f240011de560ab8/system/lib -L/home/user/.conan/data/boost_rational/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/rational/lib -L/home/user/.conan/data/boost_winapi/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/winapi/lib -L/home/user/.conan/data/boost_level8group/1.66.0/bincrafters/stable/package/42210b1ef7e2bb8646be9ff1651c1b974d166ea3/math/lib -L/home/user/.conan/data/boost_range/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/range/lib -L/home/user/.conan/data/boost_container/1.66.0/bincrafters/stable/package/5c227d06b7ee17bf2aaba5e4342540355565d1bf/container/lib -L/home/user/.conan/data/boost_atomic/1.66.0/bincrafters/stable/package/94e6a9279d4a15304f3aeae81cff7a31c7b5997b/atomic/lib -L/home/user/.conan/data/boost_lambda/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/lambda/lib -L/home/user/.conan/data/boost_array/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/array/lib -L/home/user/.conan/data/boost_tuple/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/tuple/lib -L/home/user/.conan/data/boost_regex/1.66.0/bincrafters/stable/package/c58428d6e47128cb6a2f586c2e6edbe0deddcd48/regex/lib -L/home/user/.conan/data/boost_intrusive/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/intrusive/lib -L/home/user/.conan/data/boost_numeric_conversion/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/numeric_conversion/lib -L/home/user/.conan/data/boost_bind/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/bind/lib -L/home/user/.conan/data/boost_integer/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/integer/lib -L/home/user/.conan/data/boost_smart_ptr/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/smart_ptr/lib -L/home/user/.conan/data/boost_preprocessor/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/preprocessor/lib -L/home/user/.conan/data/boost_throw_exception/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/throw_exception/lib -L/home/user/.conan/data/boost_type_traits/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/type_traits/lib -L/home/user/.conan/data/boost_move/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/move/lib -L/home/user/.conan/data/boost_predef/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/predef/lib -L/home/user/.conan/data/boost_core/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/core/lib -L/home/user/.conan/data/boost_static_assert/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/static_assert/lib -L/home/user/.conan/data/boost_assert/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/assert/lib -L/home/user/.conan/data/boost_config/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/config/lib -Wl,-rpath,/home/user/.conan/data/wt/4.0.3/bincrafters/stable/package/d518dd6f466daa66d90cd7user2966b17152e635be/lib:/home/user/.conan/data/libpq/10.4/bincrafters/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib:/home/user/.conan/data/OpenSSL/1.0.2o/conan/stable/package/75b541b6f810787a4fcee8ceusercfdbf95959366f/lib:/home/user/.conan/data/boost_asio/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/asio/lib:/home/user/.conan/data/boost_assign/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/assign/lib:/home/user/.conan/data/boost_interprocess/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/interprocess/lib:/home/user/.conan/data/boost_multi_index/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/multi_index/lib:/home/user/.conan/data/boost_numeric_ublas/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/ublas/lib:/home/user/.conan/data/boost_program_options/1.66.0/bincrafters/stable/package/c2027dd75773beee8093ae7e1a0102050a9fb408/program_options/lib:/home/user/.conan/data/sqlite3/3.21.0/bincrafters/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib:/home/user/.conan/data/boost_coroutine/1.66.0/bincrafters/stable/package/4b057444349e6513c08fd17418952dd3e18387d9/coroutine/lib:/home/user/.conan/data/boost_ptr_container/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/ptr_container/lib:/home/user/.conan/data/boost_numeric_interval/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/interval/lib:/home/user/.conan/data/boost_any/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/any/lib:/home/user/.conan/data/boost_context/1.66.0/bincrafters/stable/package/4c38c4bb6027beea28a16718baf42d0e4dbd16dc/context/lib:/home/user/.conan/data/boost_circular_buffer/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/circular_buffer/lib:/home/user/.conan/data/boost_logic/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/logic/lib:/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/date_time/lib:/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/locale/lib:/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/serialization/lib:/home/user/.conan/data/boost_level11group/1.66.0/bincrafters/stable/package/ffaf11ff0b71015deb4563b316872446d3c2e0a9/thread/lib:/home/user/.conan/data/boost_algorithm/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/algorithm/lib:/home/user/.conan/data/boost_filesystem/1.66.0/bincrafters/stable/package/ad6514b89856c280693c3b891655505f0bdaf8ec/filesystem/lib:/home/user/.conan/data/boost_phoenix/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/phoenix/lib:/home/user/.conan/data/boost_tokenizer/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/tokenizer/lib:/home/user/.conan/data/boost_variant/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/variant/lib:/home/user/.conan/data/boost_chrono/1.66.0/bincrafters/stable/package/3b8d19ef9ae877526ff8ce52a83a1e443329351a/chrono/lib:/home/user/.conan/data/boost_foreach/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/foreach/lib:/home/user/.conan/data/boost_endian/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/endian/lib:/home/user/.conan/data/boost_iostreams/1.66.0/bincrafters/stable/package/46823bb77823ff64978e7c8b7941eae24b564b00/iostreams/lib:/home/user/.conan/data/boost_tti/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/tti/lib:/home/user/.conan/data/zlib/1.2.11/conan/stable/package/6ae331b72e7e265ca2a3d1d8246faf73aa030238/lib:/home/user/.conan/data/boost_exception/1.66.0/bincrafters/stable/package/431f2ea037a6349548ab0b26ad39119cb9b4d845/exception/lib:/home/user/.conan/data/boost_unordered/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/unordered/lib:/home/user/.conan/data/boost_io/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/io/lib:/home/user/.conan/data/boost_proto/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/proto/lib:/home/user/.conan/data/boost_ratio/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/ratio/lib:/home/user/.conan/data/boost_random/1.66.0/bincrafters/stable/package/29c7f3b8453cd47287f251380cbe4097963a4d0e/random/lib:/home/user/.conan/data/bzip2/1.0.6/conan/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib:/home/user/.conan/data/lzma/5.2.3/bincrafters/stable/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib:/home/user/.conan/data/boost_system/1.66.0/bincrafters/stable/package/5ddb809292be89c07a0923f36f240011de560ab8/system/lib:/home/user/.conan/data/boost_rational/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/rational/lib:/home/user/.conan/data/boost_winapi/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/winapi/lib:/home/user/.conan/data/boost_level8group/1.66.0/bincrafters/stable/package/42210b1ef7e2bb8646be9ff1651c1b974d166ea3/math/lib:/home/user/.conan/data/boost_range/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/range/lib:/home/user/.conan/data/boost_container/1.66.0/bincrafters/stable/package/5c227d06b7ee17bf2aaba5e4342540355565d1bf/container/lib:/home/user/.conan/data/boost_atomic/1.66.0/bincrafters/stable/package/94e6a9279d4a15304f3aeae81cff7a31c7b5997b/atomic/lib:/home/user/.conan/data/boost_lambda/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/lambda/lib:/home/user/.conan/data/boost_array/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/array/lib:/home/user/.conan/data/boost_tuple/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/tuple/lib:/home/user/.conan/data/boost_regex/1.66.0/bincrafters/stable/package/c58428d6e47128cb6a2f586c2e6edbe0deddcd48/regex/lib:/home/user/.conan/data/boost_intrusive/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/intrusive/lib:/home/user/.conan/data/boost_numeric_conversion/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/numeric_conversion/lib:/home/user/.conan/data/boost_bind/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/bind/lib:/home/user/.conan/data/boost_integer/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/integer/lib:/home/user/.conan/data/boost_smart_ptr/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/smart_ptr/lib:/home/user/.conan/data/boost_preprocessor/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/preprocessor/lib:/home/user/.conan/data/boost_throw_exception/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/throw_exception/lib:/home/user/.conan/data/boost_type_traits/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/type_traits/lib:/home/user/.conan/data/boost_move/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/move/lib:/home/user/.conan/data/boost_predef/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/predef/lib:/home/user/.conan/data/boost_core/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/core/lib:/home/user/.conan/data/boost_static_assert/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/static_assert/lib:/home/user/.conan/data/boost_assert/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/assert/lib:/home/user/.conan/data/boost_config/1.66.0/bincrafters/stable/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351auser/config/lib -lwt -lwttest -lwtdbo -lwtdbosqlite3 -lwthttp -lpgcommon -lpq -lssl -lcrypto -lboost_program_options -lsqlite3 -ldl -lboost_coroutine -lboost_date_time -lboost_serialization -lboost_wserialization -lboost_context -lboost_thread -lrt -lpthread -lboost_filesystem -lboost_chrono -lboost_iostreams -lz -lboost_exception -lboost_random -lbz2 -llzma -lboost_math_tr1 -lboost_math_user9l -lboost_math_user9f -lboost_math_tr1f -lboost_math_tr1l -lboost_math_user9 -lboost_system -lboost_container -lboost_atomic -lboost_regex
/home/user/.conan/data/wt/4.0.3/bincrafters/stable/package/d518dd6f466daa66d90cd7user2966b17152e635be/lib/libwthttp.a(ProxyReply.C.o): In function `http::server::ProxyReply::appendSSLInfo(Wt::WSslInfo const*, std::ostream&)':
ProxyReply.C:(.text+0x3c85): undefined reference to `Wt::Json::serialize[abi:cxx11](Wt::Json::Object const&, int)'
/home/user/.conan/data/wt/4.0.3/bincrafters/stable/package/d518dd6f466daa66d90cd7user2966b17152e635be/lib/libwthttp.a(HTTPRequest.C.o): In function `http::server::HTTPRequest::headers() const':
HTTPRequest.C:(.text+0x14fb): undefined reference to `Wt::Http::Message::Header::Header(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
HTTPRequest.C:(.text+0x1516): undefined reference to `Wt::Http::Message::Header::Header(Wt::Http::Message::Header const&)'
/home/user/.conan/data/wt/4.0.3/bincrafters/stable/package/d518dd6f466daa66d90cd7user2966b17152e635be/lib/libwthttp.a(HTTPRequest.C.o): In function `void std::vector<Wt::Http::Message::Header, std::allocator<Wt::Http::Message::Header> >::_M_realloc_insert<Wt::Http::Message::Header>(__gnu_cxx::__normal_iterator<Wt::Http::Message::Header*, std::vector<Wt::Http::Message::Header, std::allocator<Wt::Http::Message::Header> > >, Wt::Http::Message::Header&&)':
HTTPRequest.C:(.text._ZNSt6vectorIN2Wt4Http7Message6HeaderESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_[_ZNSt6vectorIN2Wt4Http7Message6HeaderESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_]+0x6d): undefined reference to `Wt::Http::Message::Header::Header(Wt::Http::Message::Header const&)'
HTTPRequest.C:(.text._ZNSt6vectorIN2Wt4Http7Message6HeaderESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_[_ZNSt6vectorIN2Wt4Http7Message6HeaderESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_]+0x97): undefined reference to `Wt::Http::Message::Header::Header(Wt::Http::Message::Header const&)'
HTTPRequest.C:(.text._ZNSt6vectorIN2Wt4Http7Message6HeaderESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_[_ZNSt6vectorIN2Wt4Http7Message6HeaderESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_]+0xcc): undefined reference to `Wt::Http::Message::Header::Header(Wt::Http::Message::Header const&)'
collect2: error: ld returned 1 exit status
CMakeFiles/asdf.dir/build.make:97: recipe for target 'bin/asdf' failed
make[2]: *** [bin/asdf] Error 1
make[2]: Leaving directory '/home/user/server/build'
CMakeFiles/Makefile2:70: recipe for target 'CMakeFiles/asdf.dir/all' failed
make[1]: *** [CMakeFiles/asdf.dir/all] Error 2
make[1]: Leaving directory '/home/user/server/build'
Makefile:86: recipe for target 'all' failed
make: *** [all] Error 2
#!/bin/sh
conan remote add ocean-conan https://api.bintray.com/conan/marcokoch/ocean-conan
conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan"
user@server:~/server$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"
user@server:~/server$ gcc --version
gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment