How to include, link c++ library on haiku. Dig Haiku
Haiku OS - Haiku OS
c++ compiler - Gcc
Your favorite c++ Library, for example, your_lib, the shared library: libyour_lib.so
Editor - Kakoune
// hello.cpp
#include <iostream> #include <your/lib/include/path.hpp> int main() { std::cout << "Hello, c++!" << std::endl; use::your::lib::please; }
g++ hello.cpp \ -std=c++23 \ -I ./dream/sand/include/ \ -L./path/to/your/lib -lyour_lib \ -Wl,-rpath,./dream/sand/lib \ -o hello
Haiku Home - Haiku OS
Back Index - Dig Haiku OS c++
+
Github:
https://github.com/cppfx/cpphtgt
+
Powered by:
B2 Build
| boost quickbook
+
+