Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > Linking framewo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3704 of 3840
Post > Topic >>

Linking framework problem

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

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]
  (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
tan12V112 Mon Sep 8 3:23:49 CDT 2008.