This Question is Possibly Answered

1 "correct" answer available (5 pts) 2 "helpful" answers available (1 pts)
6 Replies Last post: Nov 19, 2009 8:42 PM by oliverkazaam41  
Click to view ujar's profile   8 posts since
Apr 28, 2009

Sep 21, 2009 2:35 PM

Which version of MS VC++ compiler required for ATLSIP to compile?


Hello,

I have setup ATLSIP and opensipstack on a windows machine and now want to compile ATLSIP. I did try MS VC++ 2005 express edition but as it compiled it finally gave an error saying atlbase.h could not be found. The ATL stuff apprently does not come with express edition of 2005. Can some one suggest which version of C++ compiler I should use or which compiler would compile the ATLSIP packagage?

Thanks,

ujar

Click to view joegen's profile   519 posts since
Apr 28, 2007
1. Sep 22, 2009 8:38 PM in response to: ujar
Re: Which version of MS VC++ compiler required for ATLSIP to compile?
ATLSIP has been successfully built using both 2003 and 2005 version of MSVC but not the Express edition. Express editions do not have support for ATL.
Click to view oliverkazaam41's profile   84 posts since
Jan 31, 2009
2. Nov 18, 2009 10:38 PM in response to: joegen
Re: Which version of MS VC++ compiler required for ATLSIP to compile?

Hi Joegen,

I am interested on playing with ATLSIP. I have Visual Studio 2005 installed. How do I compile it. Is ATLSIP a SIP UA? Can I change the GUI of it?


Thanks,

oLiver

Click to view joegen's profile   519 posts since
Apr 28, 2007
3. Nov 18, 2009 11:37 PM in response to: oliverkazaam41
Re: Which version of MS VC++ compiler required for ATLSIP to compile?
ATLSIP.sln is the solution you need to open for MSVC 2005. Make sure this is not the express edition or you will be out of luck. ATL is not supported in the express edition. Of course you can change the GUI. You have the source don't you now? :-)
Click to view oliverkazaam41's profile   84 posts since
Jan 31, 2009
4. Nov 19, 2009 12:14 AM in response to: joegen
Re: Which version of MS VC++ compiler required for ATLSIP to compile?

Hi Joegen,

Sorry for my ignorance. I succesfully opened the .sln file in Visual Studio 2005. I tried to build it but I get the following errors. Do I lack any dependencies?

2>Number of files successfully Signed: 0
2>Number of warnings: 0
2>Number of errors: 1
2>SignTool Error: File not found: d:\regalphone\atlsip\atlsipcert.pfx
2>Project : error PRJ0019: A tool returned an error code from "Performing registration"
2>Build log was saved at "file://d:\regalphone\atlsip\Release\BuildLog.htm"
2>ATLSIP - 1 error(s), 1 warning(s)


Oliver

Click to view joegen's profile   519 posts since
Apr 28, 2007
5. Nov 19, 2009 12:56 AM in response to: oliverkazaam41
Re: Which version of MS VC++ compiler required for ATLSIP to compile?

You may ignore that error. It's actually a post build event that automatically signs the DLL with a digital certificate. If it's really annoying you, simply right click on the ATLSIP project in your solutions and go to the following the the context menu: Properties/Configuration Properties/Build-Events/Post-Build-Event . You can simply delete the content of the command line text box which says:


rem signtool sign /f "$(ProjectDir)atlsipcert.pfx" /p 12345 /v "$(TargetPath)"
regsvr32 /s /c "$(TargetPath)"
rem CABARC -s 6144 n "$(TargetDir)atlsip.cab" "$(TargetPath)" "$(ProjectDir)atlsip.inf" "$(ProjectDir)depends\dnsapi.dll" "$(ProjectDir)depends\mpr.dll" "$(ProjectDir)depends\setupapi.dll" "$(ProjectDir)depends\snmpapi.dll" "$(ProjectDir)depends\msvcp80.dll" "$(ProjectDir)depends\msvcr80.dll"
rem CABARC -s 6144 n "$(TargetDir)atlsip.cab" "$(TargetPath)" "$(ProjectDir)atlsip.inf"
rem signtool sign /f "$(ProjectDir)atlsipcert.pfx" /p 12345 /v "$(TargetDir)atlsip.cab"

Click to view oliverkazaam41's profile   84 posts since
Jan 31, 2009
6. Nov 19, 2009 8:42 PM in response to: joegen
Re: Which version of MS VC++ compiler required for ATLSIP to compile?

Hi Joegen,

I build the source with errors. But I can't run it. It is asking "Executable For Debug Session". What executable file should I use?

Thanks,


Oliver