Skip to content

Build errors.. #309

Description

@cyboy22

Hi,

I have just downloaded the code and tried to build it using the instructions. However, I get:

CMake Error at /usr/local/Cellar/cmake/3.26.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY
PostgreSQL_INCLUDE_DIR PostgreSQL_TYPE_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.26.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindPostgreSQL.cmake:225 (find_package_handle_standard_args)
CMakeLists.txt:11 (find_package)

I work on Mac and did the following:

export PostgreSQL_LIBRARY=/Library/PostgreSQL/13/lib/libpq.dylib
export PostgreSQL_INCLUDE_DIR=/Library/PostgreSQL/13/include
export PostgreSQL_TYPE_INCLUDE_DIR=/Library/PostgreSQL/13/include

but got the same message.
Could you suggest where I am going wrong?

Finallly, I attempted to include <ozo/connection_pool.h> but get the following message needing another include which I cannot find on my system:

Screenshot 2023-06-02 at 00 02 01

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions