Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
42 Views

windows 编译错误

windows 10, vs2017 professional, 

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

即出现编译错误:

TIM图片20190114181708.png

 

TIM图片20190114182038.png

有朋友能帮忙看看吗?

 

谢谢。

Tags (2)
0 Kudos
3 Replies
Highlighted
New Contributor I
42 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;
  }

0 Kudos
Highlighted
42 Views

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

0 Kudos
Highlighted
New Contributor I
42 Views

Jincheng S. (Intel) wrote:

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

 

只添加了这个头文件

0 Kudos