Re: [Cocoapsql-developer] commit; Libpq.a and libpq-fe.h; referencing files and using search path
Status: Alpha
Brought to you by:
alkirkus
From: Ted P. <te...@sy...> - 2002-05-30 11:06:29
|
I must always 'clean' the PB project after changing any of the paths. So that has been my MO. Get the CVS, open the project, check the paths, 'clean all'. Usually this fixes any problems Ted -----Original Message----- From: Olaf van Oudenallen <ol...@ad...> To: coc...@li... Date: Wed, 29 May 2002 19:34:42 +0200 Subject: [Cocoapsql-developer] commit; Libpq.a and libpq-fe.h; referencing files and using search path > 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. > |