[Cocoapsql-developer] commit; Libpq.a and libpq-fe.h; referencing files and using search path
Status: Alpha
Brought to you by:
alkirkus
From: Olaf v. O. <ol...@ad...> - 2002-05-29 19:39:28
|
Libpq.a and libpq-fe.h; referencing files and using search path As I have postgresql installed in (subdirectiries of) /usr/local/pgsql/ The current targets settings for HEADER Search Path do not work for me. So I have added the Search Path: to HEADER: /usr/local/pgsql/include/ Hard coding an included library is another problem (for me): build-error: MasterObjectFile.Combine /Developer/TVOproducts/Cocoa Psql.build/Cocoa Psql.build/Objects-normal/ProjectBuilderMasterObjectFile.o ...skipped Cocoa Psql.app/Contents/MacOS/Cocoa Psql for lack of /sw/lib/libpq.a... Therefore I wonder if files to be included can be added without a path. Any way I used to get away with adding some folders (/sw/lib/) and an alias to have the libpq.a being included in the project. Now I had to make a copy of the file and place it in the folder /sw/lib/ As this is not the right solution, we stick with the (default) reference to /usr/local/pgsql/lib/libpq.a I keep wondering though why the LIBRAY_SEARCH_PATH doesn't find the lib. |