-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error, VS 2019 and libpqxx-7.2.0 #6
Comments
Hi @mklein9 , I may have to do a bit of research, and need little time to get caught up. I may not have tested the latest release yet and will need to do that. Also I have not tested with the older PostgreSQL release, but your error does not seem to be of the type that would involve that--could be changes in the latest string traits implementation. In the mean time you could look at the notes on that latest release. |
@mklein9 , could you list more of the details of the compiler errors, specifically if they all are in the same file or different files, etc.? Also what version of the VS compiler you are using? I suspect this has nothing to do with the batch files that organize the compile, and everything to do with some incompatibility in the latest release relating to compiling with the VS compiler (which was not present with the other compilers tested by PQXX folks). (Especially since it all works depending entirely on the PQXX release version.) Can you post this error at the LIBPQXX issues list, with the added information I requested. I don't know if you know how to reference this thread there, that would be useful. I will test as soon as I can get to that, so we will have two different instances to check against. I have the most up to date VS 2019, and I think my (unpaid) 2017 has expired so may be difficult for me to check against that. Then I will comment in the libpqxx thread as well as to what I find, they need to know about these problems there. -- Also very happy to see PostgreSQL 9.6 checked out, could you post here the changes you did to my batch file that worked? I'm going to keep this issue open regarding the 9.6 version until I get that integrated and tested, even if we resolve the compile issue over at libpqxx. Thanks |
I downloaded Easy-PQXX 0.0.6 and libpqxx-7.1.2 and have followed the instructions (although using PostgreSQL 9.6, adding that to the batch file), and the result is that the libpqxx library builds and installs as expected (have not tested it yet in my application). However, libpqxx-7.2.0, which would be preferable due to a few specific updates, results in several compilation errors such as this:
C:\Users<path>\libpqxx-7.2.0\src\strconv.cxx(275,1): error C2446:
'<': no conversion from 'std::_String_view_iterator<_Traits>' to 'const char *' [C:\Users<path>\build_7.2.0_x64\src\pqxx.vcxproj]
The text was updated successfully, but these errors were encountered: