jtv / libpqxx

The official C++ client API for PostgreSQL.
http://pqxx.org/pqxx/
BSD 3-Clause "New" or "Revised" License
963 stars 228 forks source link

Error building a project with the library #803

Closed Arterium36 closed 1 month ago

Arterium36 commented 3 months ago

I built a library for Windows. When trying to use it, it returns errors in the zview.xxx file - the identifier text, str, len are not defined. Also in conversions.hxx - "a link to the "Args" parameter package is present, but the package is not disclosed." I made the assembly according to this guide - http://en.wiki.imlint.org/Pqxx_tutorial

tt4g commented 3 months ago

The information provided is too fragmentary to determine the cause of the error.

Please provide all compile error messages. And do you have libpqxx installed on your machine? How did you install it?

Arterium36 commented 3 months ago

I am writing specifically about the libpqxx library. The installation process is prescribed by the link

tt4g commented 3 months ago

If you have libpqxx installed, then it is a problem with your project, not libpqxx. Your project's source code is not maintained in this repository, so no one here can solve the problem unless you provide accurate information.

Arterium36 commented 3 months ago

Please reread this question. The errors are not in my project, but in the files that belong to libpqxx.

tt4g commented 3 months ago

C++ errors often have a different cause than the reported file. The following items may be examples of problems with your project

In any case, without providing compiler error messages we cannot even guess at the cause.

jtv commented 3 months ago

And really the first question: what are the actual error messages?

jtv commented 3 months ago

@Arterium36 do you have the error messages for us? Those will probably help.

jtv commented 1 month ago

Closing this one for lack of a usable problem description. :-(