(original) (raw)

I still need answer to my question about how to make sure that libcxx and libcxxabi are also built after enabling them, but I have another problem right now. I want to know how to link third-party libraries into my code using the lld linker. I have this code: https://github.com/DragonOsman/currency\_converter
Google Maps + Currency Converter Web Application. Application for Computer Science course. This is a currency converter web application with the frontend and a backend.
github.com
and I'm trying to compile it using clang++ with the following command:
"
clang++ -std=c++17 -fuse-ld=lld -Wall -pedantic -m64 -D\_SILENCE\_CXX17\_ADAPTOR\_TYPEDEFS\_DEPRECATION\_WARNING -Dvariant\_CONFIG\_SELECT\_VARIANT=variant\_VARIANT\_NONSTD -D\_SILENCE\_CXX17\_ALLOCATOR\_VOID\_DEPRECATION\_WARNING -D\_CRT\_SECURE\_NO\_WARNINGS -D\_WINSOCK\_DEPRECATED\_NO\_WARNINGS \-D\_WIN32 -D\_WIN32\_WINDOWS -D\_NDEBUG -D\_MBCS -IC:/boost\_1\_68\_0 -IC:/Jinja2Cpp/install\_x64/include -IC:/json/single\_include -LC:/boost\_1\_68\_0/stage/lib/libboost\_system-vc141-mt-x64-1\_68.lib -LC:/Jinja2Cpp/install\_x64/lib/static/jinja2cpp.lib currency\_converter.cpp \-o currency\_converter.exe
"

But I have still have linker errors from Jinja2Cpp and Boost.System. Jinja2Cpp's source code and documentation is on GitHub here: https://github.com/flexferrum/Jinja2Cpp/ .
Join GitHub today. GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
github.com