Log in or register to post comments

VuforiaRenderDelegate.mm: Conflicting parameter types warning on

October 14, 2015 - 1:30am #1

Hi,

I am using Vuforia Unity 5.05 package with Unity Pro 4.6.8

 

I am getting this warning on XCode:

 

.../VuforiaRenderDelegate.mm:14:58: Conflicting parameter types in implementation of 'mainDisplayInited:': 'struct UnityDisplaySurfaceBase *' vs 'struct UnityRenderingSurface *'

 

Here is the line in the code from VuforiaRenderDelegatge.mm which is triggering the warning:

/*============================================================================
Copyright (c) 2014 Qualcomm Connected Experiences, Inc.
All Rights Reserved.
============================================================================*/
 

#import "VuforiaRenderDelegate.h"

// Exported methods for setting surface recreated flag
extern "C" void setSurfaceRecreated();

@implementation VuforiaRenderDelegate

// FOLLOWING LINE THROWS ****WARNING***
- (void)mainDisplayInited:(struct UnityRenderingSurface*)surface
{
}

- (void)onAfterMainDisplaySurfaceRecreate
{
	setSurfaceRecreated();
}
@end

 

Although the code compiles without error and the app runs flawlessly on iPhone 4s.

 

Any ideas to get rid of the warning?

 

Thanks

VuforiaRenderDelegate.mm: Conflicting parameter types warning on

March 18, 2016 - 10:03pm #4

I am having the same issue.

Unity ver 5.1.3

XCode 6.2

Vuforia 5.5.9

VuforiaRenderDelegate.mm: Conflicting parameter types warning on

February 6, 2016 - 11:05am #3

I have the same this problem

VuforiaRenderDelegate.mm: Conflicting parameter types warning on

November 9, 2015 - 7:26pm #2

  • Is this happening with an upgraded Vuforia project?
  • Does this error show up in a new project using ImageTargets 5.0.5?

 

Log in or register to post comments