Hello to all, i need access the external header file from third party in Visual Studio.

I have settings the additional include directory but the files still cannot be found.

I sure that file located at the directory pj and the types.h is exist in the directory.

C:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjsip\
C:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjlib\include\pj\compat
C:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjlib\include\pj
Any hints ?
C:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjsip\include
C:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjsip\include\pjsua-lib

The types.h locates at thisC:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjlib\include\pj

I often encounter this kind of error when using third party source library.

Any hints

Please help.

Thanks.

You probably have to tell your compiler where pjsip\include is located. How to do that will depend on the compiler.

I follow your advise add this

C:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjsip\include\

C:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjsip\
to the Additional Include Directory but Visual Studio 2005

Thanks for your help.

The problem now become worse than before.
This library is VOIP PJLib.
Error:
Code:

Error 1 error C3861: 'strlen': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjlib\include\pj\string.h 93
Error 2 error C3861: 'strlen': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjlib\include\pj\string.h 125
Error 3 error C3861: 'memchr': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjlib\include\pj\string.h 472
Error 4 error C3861: 'memset': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjlib\include\pj\string.h 604
Error 5 error C3861: 'memset': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjlib\include\pj\string.h 620
Error 6 error C3861: 'memcpy': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjlib\include\pj\string.h 634
Error 7 error C3861: 'memmove': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjlib\include\pj\string.h 648
Error 8 error C3861: 'memcmp': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjlib\include\pj\string.h 662
Error 9 error C3861: 'memchr': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjlib\include\pj\string.h 677
Warning 10 warning C4244: '=' : conversion from '__w64 unsigned int' to 'unsigned int', possible loss of data c:\program files\voip\pjproject-1.4\pjproject-1.4\pjmedia\include\pjmedia\types.h 515
Warning 11 warning C4244: '=' : conversion from '__w64 int' to 'unsigned int', possible loss of data c:\program files\voip\pjproject-1.4\pjproject-1.4\pjmedia\include\pjmedia\circbuf.h 218
Warning 12 warning C4244: '=' : conversion from '__w64 int' to 'unsigned int', possible loss of data c:\program files\voip\pjproject-1.4\pjproject-1.4\pjmedia\include\pjmedia\circbuf.h 254
Warning 13 warning C4244: '=' : conversion from '__w64 int' to 'unsigned int', possible loss of data c:\program files\voip\pjproject-1.4\pjproject-1.4\pjmedia\include\pjmedia\circbuf.h 256
Error 14 error C3861: 'assert': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjmedia\include\pjmedia\stereo.h 82
Error 15 error C3861: 'assert': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjmedia\include\pjmedia\stereo.h 131
Error 16 error C3861: 'assert': identifier not found c:\program files\voip\pjproject-1.4\pjproject-1.4\pjmedia\include\pjmedia\stereo.h 132
Error 17 fatal error C1083: Cannot open include file: 'pjnath/ice_strans.h': No such file or directory c:\program files\voip\pjproject-1.4\pjproject-1.4\pjmedia\include\pjmedia\transport_ice.h 30

Please help.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.