Re: [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-30 17:11:49
|
Hi Ted, Thanks for your reply on this issue. Her is what I did: Place a copy of the libpq.a in the Cocoapsql folder Change the path to the existing libpq.a file to ./Cocoapsql Clean the target Remove the libpq.a file form the ./Cocoapsql folder >> now the linker should find the libpq.a file through the LIBRARY_SEARCH_PATH path(es) Build: error... can find libpq.a Headers are found with the help of the HEADER_SEARCH_PATH path. I wonder why the lib is not found. I added a copy of the libpq.a in another (different) folder with the Search Path reference option. The Search Path was added to the LIBRARY_SEARCH_PATH but the file ("info") still had an absolute path. So that didn't help either. I would appreciate your contribution. Thanks, Olaf On donderdag, mei 30, 2002, at 01:04 , Ted Petrosky wrote: > > 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. >> > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Cocoapsql-developer mailing list > Coc...@li... > https://lists.sourceforge.net/lists/listinfo/cocoapsql-developer |