Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

windows 编译错误

Hr__Z
New Contributor I
177 Views

windows 10, vs2017 professional, 

在自己的工程中加入ICS的一个头文件:#include <Ics/conference/conferenceclient.h>

即出现编译错误:

TIM图片20190114181708.png

 

TIM图片20190114182038.png

有朋友能帮忙看看吗?

 

谢谢。

0 Kudos
3 Replies
Hr__Z
New Contributor I
177 Views

将RemoteStream类中的函数

  /// Get the subscription capabilities on the stream.
  SubscriptionCapabilities Capabilities() { return subscription_capabilities_; }
  /// Get the publication settings of the stream.
  PublicationSettings Settings() { return publication_settings_; }
  /// Stop the remote stream.
  /** @cond */
  /// Setter for subscription capabilities
  void Capabilities(
      ics::base::SubscriptionCapabilities subscription_capabilities) {
    subscription_capabilities_ = subscription_capabilities;
  }
  /// Setter for publication settings
  void Settings(PublicationSettings publication_settings) {
    publication_settings_ = publication_settings;
  }

修改为

  /// Get the subscription capabilities on the stream.
  SubscriptionCapabilities getCapabilities() { return subscription_capabilities_; }
  /// Get the publication settings of the stream.
  PublicationSettings getSettings() { return publication_settings_; }
  /// Stop the remote stream.
  /** @cond */
  /// Setter for subscription capabilities
  void setCapabilities(
      ics::base::SubscriptionCapabilities subscription_capabilities) {
    subscription_capabilities_ = subscription_capabilities;
  }
  /// Setter for publication settings
  void setSettings(PublicationSettings publication_settings) {
    publication_settings_ = publication_settings;
  }

Jincheng_S_Intel
Employee
177 Views

请问你是只加了#include "ics/base/conferenceclient.h"这句么,有没有添加其他代码?

Hr__Z
New Contributor I
177 Views

Jincheng S. (Intel) wrote:

请问你是只加了#include "ics/base/conferenceclient.h"这句么,有没有添加其他代码?

 

只添加了这个头文件

Reply