Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » PostgreSQL under Windows (PostgreSQL Windows Skylark) 
	
		
		
			| PostgreSQL under Windows [message #50410] | 
			Mon, 22 October 2018 10:24   | 
		 
		
			| 
				
	 | 
 
	
		Hello 
 
i try to use PostgreSQL under Windows in a Skylark application. 
 
I added include postgreSQL directory and lib PostgreSQL directory containing libpq.lib file in Build method. 
 
I have changed "library(WIN32 !NOPOSTGRESQL GCC) pq;" to "library(WIN32 !NOPOSTGRESQL GCC) libpq;" in PostgreSQL.upp because i had the error "cannot find -lpq" 
 
I'm using PostgreSQL 9.6.10 and TheIDE version 11873 
 
Now i have error "undefined reference to 'PQerrorMessage'" and other error message for PQconnectdb, PQstatus... 
 
Can you help me ? 
 
Thank you !  
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 17:08:02 CET 2025 
 Total time taken to generate the page: 0.09257 seconds 
 |