Skip to content
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

Error #4 launching Easy-PQXX.bat #9

Open
francescoBLT opened this issue Aug 12, 2021 · 0 comments
Open

Error #4 launching Easy-PQXX.bat #9

francescoBLT opened this issue Aug 12, 2021 · 0 comments

Comments

@francescoBLT
Copy link

Hi
I'm attempting to compile the library but I have reported error. I've installed:
Cmake 3.12.2
PostgresSQL version 12
Visual studio 15, VS1717 and VS 2019 in the same machine

launching the batchup file (with administrator rights) result is :

Start Generator: [NONE], char MultiByte build, cores: 8
Start build: 9:57:50,49
Failed with error #4, at 9:57:50,61 ***

windows reports are:

c:\Projects\TestCodeVS\VS2017\Easy-PQXX-Build-for-Windows-Visual-Studio>REM Version 0.0.6
PROGRAMFILES_32_BIT="C:\Program Files (x86)"
PROGRAMFILES_64_BIT="C:\Program Files"
"PostgreSQL files located at: C:\Program Files\PostgreSQL\12"


  • STEP 0: Flag processing, adjusts or configures variables *

Build flags: BUILD_DEBUG=1, BUILD_RELEASE=1


  • STEP 0.5: Batch file control switching. *


  • STEP 1: Creation of Visual Studio solution and build files. *

Re-run cmake no build system arguments
CMake Error: The source directory "C:/Projects/TestCodeVS/VS2017/Easy-PQXX-Build-for-Windows-Visual-Studio/build_master_x64" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.


  • STEP 2: Build of Visual Studio solution build files. *

Error: C:/Projects/TestCodeVS/VS2017/Easy-PQXX-Build-for-Windows-Visual-Studio/build_master_x64 is not a directory


Build property page with Library and DLLs, located at:
install/libpqxx\master_x64\libpqxx_ALL.props
The system cannot find the path specified.


Build property page with Library and No DLLs, located at:
install/libpqxx\master_x64\libpqxx.props
The system cannot find the path specified.


Build property page with No library and DLLs, located at:
install/libpqxx\master_x64\libpqxx_DLL.props
The system cannot find the path specified.


  •      STEP 5: Copy to final install library files.              *
    
  •      Note this is what you link applications against.          *
    

"Final install directory exists: C:\Program Files"
"C:\Program Files"
did erase command of .__writable


  •          Final Install Copy Step                               *
    

File not found - master_x64
0 File(s) copied
The xcopy error: 4


  •                      Error Occurred                            *
    

Failed with error #4.

If I create the directory build_master_x64 result is

CMake Error: The source directory "C:/Projects/TestCodeVS/VS2017/Easy-PQXX-Build-for-Windows-Visual-Studio/build_master_x64" does not appear to contain CMakeLists.txt.

I'm not skilled with cmake... can you help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant