Talk About Network

Google





Mac > Mac Programmer Help > Re: Linking fra...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3704 of 3889
Post > Topic >>

Re: Linking framework problem

by Lothar Behrens <lothar.behrens@[EMAIL PROTECTED] > Apr 14, 2008 at 11:32 PM

Hi,

reading the do***entation would help :-)

I have put the framework into my users Library/Frameworks directory. I
have to update my installation routine for that.

Lothar

Lothar Behrens schrieb:
> Hi,
>
> I have reinstalled my Mac (OS X 10.3.9) and propably forgotten, what I
> have done to get this running:
>
> c++ -c -g  -I .  dbTest.cpp -o dbTest.o
>
> c++ -o Test dbTest.o  -F/Users/lotharbehrens/lib -framework lbHook -
> bind_at_load -lc
>
> The -F parameter tells me that the linker should look in my $(HOME)/
> lib directory, but when I start my console app, I get this:
>
> dyld: Test can't open library: @[EMAIL PROTECTED]
> lbHook.framework/Versions/A/lbHook  (No such file or directory, errno
> = 2)
> Trace/BPT trap
>
> I know, that the above path is good for application bundles, but this
> is only a console application.
>
> Any ideas, what I do wrong ?
>
> Thanks Lothar
 




 2 Posts in Topic:
Linking framework problem
Lothar Behrens <lothar  2008-04-14 11:46:42 
Re: Linking framework problem
Lothar Behrens <lothar  2008-04-14 23:32:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 19:32:29 PST 2009.