• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Could someone help me with this code...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Could someone help me with this code...


  • Subject: Could someone help me with this code...
  • From: John Draper <email@hidden>
  • Date: Tue, 16 Aug 2005 18:46:31 -0700

Hi,

In ONE of my modules I have....

----- Sipbridge.h -----
#import <Cocoa/Cocoa.h>
#include "resiprocate/os/Log.hxx"

using namespace resip;
using namespace std;

@interface SipBridge : NSObject {
   // SipClient *client;
}
// Init
- (id)init;        // Right now, it initializes Logging.

// Init with name, host, PW
- (id)initWithName:myName
         withHost:hostName
         password:password;
@end
------

This compiles just fine...

Then, I have this other file,  which is a C++ header file...

------ SipClient.h ------

// 100% C++ file.
#include <Carbon/Carbon.h>
#include "resiprocate/dum/DialogUsageManager.hxx" <--- No such file or directory... WTF?


namespace resip
{
// class ClientRegistrationHandler; <---- tried commenting the offending #include, and uncommenting this.
class SipClient : public ClientRegistrationHandler
{
public:
SipClient();
~SipClient();
bool done;
bool removing; };


}   // end of namespace
------

------ SipClient.cpp --------

#include "SipClient.h"

using namespace resip;
using namespace std;

SipClient::SipClient()
{

}

SipClient::~SipClient()
{

}

-------- end of .cpp file --------




note that both of these are including from the same "resiprcate" directory
and both of these files exist... and yet the SipBridge.mm and .h compile correctly.


and yet....

/Users/jd/Documents/SIP/Open_source/resiprocate-0.9.0-5019/SIPPhone/SipClient.h:12:50: resiprocate/dum/DialogUsageManager.hxx: No such file or directory

the file IS there... so why isn't it finding it?

$ pwd    <--- to confirm the directory exists
/Users/jd/Documents/SIP/Open_source/resiprocate-0.9.0-5019/resiprocate/dum

$ ls DialogUsageManager.hxx
DialogUsageManager.hxx      <--- See - it's there...  so WTF?

Can someone please help me out with this?

John



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Could someone help me with this code...
      • From: Phillip Mills <email@hidden>
  • Prev by Date: Re: NSTokenField = NSBrokenField? ;-)
  • Next by Date: Re: Core Data: slow saves to persistent store
  • Previous by thread: Re: [NEWBIE] Boolean Class?
  • Next by thread: Re: Could someone help me with this code...
  • Index(es):
    • Date
    • Thread