You only need cppunit if you are compiling and running the unit tests.

Just don't build the project files that end in 'Test'. Though, configuration for most compilers is there for getting cppunit compiled. Are you sure you have all the prereqs?

On Feb 7, 2008, at 7:28, Ali Jawad <[EMAIL PROTECTED]> wrote:

Hi All



I have followed

http://sipx-wiki.calivia.com/index.php/SipXtapi_and_sipXezPhone_Build_Environment_for_Windows#Installing_Microsoft_Visual_Studio



Step by step, when I compiled I got some errors about cppunit that I had not installed so I got it and tried to compile it but I get



1> Message: 'This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'

1>.\MsDevCallerListCtrl.cpp(107) : error C2664: 'AfxTrace' : cannot convert parameter 1 from 'const char [12]' to 'LPCTSTR'

1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast

1>Creating browse information file...

1>Microsoft Browse Information Maintenance Utility Version 8.00.50727

1>Copyright (C) Microsoft Corporation. All rights reserved.

1>Build log was saved at "file://c:\Documents and Settings\ali.jawad \My Documents\sipxtapi2\CPPunit\src\msvc6\testrunner\DebugUnicode \BuildLog.htm"

1>TestRunner - 1 error(s), 4 warning(s)

2>------ Build started: Project: TestPlugInRunner, Configuration: Debug Win32 ------

2>Updating c:\documents and settings\ali.jawad\my documents\sipxtapi2 \cppunit\lib\cppunitd_dll.dll

2>The system cannot find the file specified.

2>Project : error PRJ0019: A tool returned an error code from "Updating c:\documents and settings\ali.jawad\my documents\sipxtapi2 \cppunit\lib\cppunitd_dll.dll"





Any clues ?



Note: I did not include CPPUNIT at first because there was an optional note beside it, how can I compile without CPPUNIT in case I can not get around this.



Thx



_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to