[reSIProcate] Could someone help me with this code...

John Draper lists at webcrunchers.com
Tue Aug 16 20:46:31 CDT 2005


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






More information about the resiprocate-devel mailing list