VS2010 compilation Poco

Source: Internet
Author: User
Tags win32

Cumulus Server needs Poco, otherwise


2>j:\livestreaming\rtmpstore\cumulus\cumuluslib\include\cumulus.h: Fatal error C1083:cannot open include file : ' Poco/foundation.h ': No such file or directory
2> LUAGroups.cpp
2>j:\livestreaming\rtmpstore\cumulus\cumuluslib\include\cumulus.h: Fatal error C1083:cannot open include file : ' Poco/foundation.h ': No such file or directory
2> LUAGroup.cpp
2>j:\livestreaming\rtmpstore\cumulus\cumuluslib\include\cumulus.h: Fatal error C1083:cannot open include file : ' Poco/foundation.h ': No such file or directory
2> LUAFlowWriter.cpp
2>j:\livestreaming\rtmpstore\cumulus\cumuluslib\include\cumulus.h: Fatal error C1083:cannot open include file : ' Poco/foundation.h ': No such file or directory
2> LUAClients.cpp
2>j:\livestreaming\rtmpstore\cumulus\cumuluslib\include\cumulus.h: Fatal error C1083:cannot open include file : ' Poco/foundation.h ': No such file or directory
2> LUAClient.cpp
2>j:\livestreaming\rtmpstore\cumulus\cumuluslib\include\cumulus.h: Fatal error C1083:cannot open include file : ' Poco/foundation.h ': No such file or directory
2> LUAByteWriter.cpp
2>j:\livestreaming\rtmpstore\cumulus\cumuluslib\include\cumulus.h: Fatal error C1083:cannot open include file : ' Poco/foundation.h ': No such file or directory
2> LUAByteReader.cpp
2>j:\livestreaming\rtmpstore\cumulus\cumuluslib\include\cumulus.h: Fatal error C1083:cannot open include file : ' Poco/foundation.h ': No such file or directory
2> LUABroadcaster.cpp
2>j:\livestreaming\rtmpstore\cumulus\cumuluslib\include\cumulus.h: Fatal error C1083:cannot open include file : ' Poco/foundation.h ': No such file or directory
2> FileWatcher.cpp
2>j:\livestreaming\rtmpstore\cumulus\cumulusserver\sources\filewatcher.h (a): Fatal error C1083:cannot Open Include file: ' poco/file.h ': No such file or directory
2> Generating Code ...
2>
2>build FAILED.
2>
2>time Elapsed 00:00:06.79
========== build:0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

said is not to find the end of the file AH.


So, Http://poco.svn.sourceforge.net/viewvc/poco/poco/branches/poco-1.4.1/README

Https://groups.google.com/forum/#!forum/openrtmfp-cumulus

Compiling Poco


I'm going to do this first.



And then open this.



this is vs2010.



1>------Build Started:Project:CppUnit, configuration:debug_shared Win32------1>build started 2013/10/25 17:24: 47.
1>prepareforbuild:
1> Creating directory ". \bin\ ".
1>initializebuildstatus:
1> creating "Obj\debug_shared\cppunit.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>clcompile:
1> CppUnitException.cpp
1> TestCase.cpp
1> TestDecorator.cpp
1> TestFailure.cpp
1> TestResult.cpp
1> TestRunner.cpp
1> TestSuite.cpp
1> TextTestResult.cpp
1> Generating Code ...
1>makedirsforlink:
1> Creating directory "J:\livestreaming\rtmpStore\poco-1.4.6p1\poco-1.4.6p1\lib\".
1>link:
1> Creating library. \lib\cppunitd.lib and object. \lib\cppunitd.exp
1>linkembedmanifest:
1> Creating library. \lib\cppunitd.lib and object. \lib\cppunitd.exp
1> cppunit_vs100.vcxproj-> J:\livestreaming\rtmpStore\poco-1.4.6p1\poco-1.4.6p1\CppUnit\. \bin\cppunitd.dll
1>finalizebuildstatus:
1> deleting file "Obj\debug_shared\cppunit.unsuccessfulbuild".
1> touching "obj\debug_shared\cppunit.lastbuildstate".
1>
1>build succeeded.
1>
1>time Elapsed 00:00:14.17
2>------Build Started:Project:WinTestRunner, configuration:debug_shared Win32------
2>build started 2013/10/25 17:25:01.
2>initializebuildstatus:
2> creating "Obj\debug_shared\wintestrunner.unsuccessfulbuild" because "AlwaysCreate" was specified.
2>clcompile:
2> ActiveTest.cpp
2> DLLMain.cpp
2> GUITestResult.cpp
2> ProgressBar.cpp
2> TestRunnerDlg.cpp
2> WinTestRunner.cpp
2> Generating Code ...
2>link:
2> Creating library. \.. \lib\wintestrunnerd.lib and object. \.. \lib\wintestrunnerd.exp
2>linkembedmanifest:
2>Creating library. \.. \lib\wintestrunnerd.lib and object. \.. \lib\wintestrunnerd.exp
2> wintestrunner_vs100.vcxproj-> J:\livestreaming\rtmpStore\poco-1.4.6p1\poco-1.4.6p1\CppUnit\ Wintestrunner\.. \.. \bin\wintestrunnerd.dll
2>finalizebuildstatus:
2> deleting file "Obj\debug_shared\wintestrunner.unsuccessfulbuild".
2> touching "obj\debug_shared\wintestrunner.lastbuildstate".
2>
2>build succeeded.
2>
2>time Elapsed 00:00:19.12

========== Build:2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========





However, how to use it.


On the cumuluslib right, and not on the solution right, you can see the specific settings lib needs:


In C + + general, join:





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.