Registry / utility / apr
library1.7.6vcpkgunverified

Apache Portable Runtime providing a system portability layer for cross-platform development.

vcpkg install apr
INSTALL
IMPORT
SIG · APR
A
apr
utilitycppv1.7.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

apr.h
#include <apr.h>

Initializes APR and creates a memory pool.

#include <apr.h> #include <apr_pools.h> #include <stdio.h> int main() { apr_pool_t *pool; apr_initialize(); apr_pool_create(&pool, NULL); printf("APR initialized\n"); apr_pool_destroy(pool); apr_terminate(); return 0; }
Debug
Known issues
gotchaAPR is a C library; C++ code must wrap C headers with extern "C".
fix
Include APR headers inside extern "C" {} or use the C++-compatible apr.h.
affects: all
Upgrade
Version history
1.7.6latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
16
OpenAI (training)
2
Meta
1
Amazon
1
Resources

No resource links recorded.

apr — pip install apr · libregistry