ymoona wrote: > Hi Jaro, > > your precompiled dll works very good, it is much more stable than the > current sipxtapi branche. I also downloaded the source > sipxtapi-src-experimental-26 , but I'm having some difficulties to compile > it. >
Experimental r26 is really an experimental version, it could have new bugs as I only tested making 1 call with it. I already have r33 with revamped event system, but call and media events arent finished yet and don't work. Once call and media events work I will make it public, because it has some minor API changes (right now the way you convert some events to strings is changed, you get const char* back and dont need to supply any buffer, which is more convenient I think). This revision again fixes many existing problems that are in r26. Also note that the experimental version will not be fully finished until the beginning of July. My goal is also to make running 2 instances of sipxtapi possible (right now it doesn't work). The goal is also stability and correctness. Then I expect the changes will be gradually merged back into sipxtapi branch. > I think I'm missing some files: > ------ Build started: Project: sipXportLib-msvc8, Configuration: Debug > Win32 ------ > Compiling... > OsTLSServerSocket.cpp > d:\temp\sipxtapi-src-experimental-r26\sipxtapi\sipxportlib\src\os\ostlsserversocket.cpp(35) > : fatal error C1083: Cannot open include file: ' nspr.h': No such file > or directory > OsTLSServerConnectionSocket.cpp > d:\temp\sipxtapi-src-experimental-r26\sipxtapi\sipxportlib\src\os\ostlsserverconnectionsocket.cpp(32) > : fatal error C1083: Cannot open include file: ' seccomon.h': No such > file or directory > OsTLSConnectionSocket.cpp > d:\temp\sipxtapi-src-experimental-r26\sipxtapi\sipxportlib\src\os\ostlsconnectionsocket.cpp(33) > : fatal error C1083: Cannot open include file: ' seccomon.h': No such > file or directory > OsTLSClientConnectionSocket.cpp > d:\temp\sipxtapi-src-experimental-r26\sipxtapi\sipxportlib\src\os\ostlsclientconnectionsocket.cpp(32) > : fatal error C1083: Cannot open include file: ' seccomon.h': No such > file or directory > OsTLS.cpp > d:\temp\sipxtapi-src-experimental-r26\sipxtapi\sipxportlib\include\os\ostls.h(24) > : fatal error C1083: Cannot open include file: 'nspr.h': No such file or > directory > That is because of a bug in VS2005, project targets are messed up. The Debug build needs nspr and nss libraries, while Debug-TLS doesn't. Download nspr-4.6.4 and nss-3.9.1 and compile it with TLS (Classic debug target). > Do I need to install some packages or what? > > The reason I want to compile it myself is because your release build > will not run on computer which have not installed Visual Studio. This > can be solved, > [project properties]->[configuration properties]->[c/c++]->[code > generation] this field should be set (only on release builds) to > Multi-Threaded. > This should be done for all projects that contribute to the final DLL. > I haven't checked it but the prebuilt versions should use release version of CRT. > This is what I see when I run the release build in Visual Studio > 'Myapp.exe': Loaded > 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcr80.dll', > No symbols loaded. > 'Myapp.exe': Loaded > 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcp80.dll', > No symbols loaded. > > These DLLs are not installed on a clean windows XP installation. These DLLs will be installed if you install wxCommunicator. Because I have Visual Studio 2005 with service pack 1, it uses newer version of CRT. It needs 8.0.50727.762 which is normally not available on computers. Jaro _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
