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++
Powered by - B2 Build | boost quickbook | I2Pd
====
cppfxjjm5bgqx2cepvisfcy4zz4ystzxxh36mtuvqm2jp5g6rb7a.b32.i2p