Log in or register to post comments

Conflicting type with Xcode 6.1

November 24, 2014 - 5:22am #1

Hello, 

I have downloaded the version 3.0.9 of the IOS SDK, i have also downloaded and installed the sample. 

I'm using Xcode 6.1.

My project structure is : 

  • QCAR
  • VuforiaSamples
  • Frameworks
  • Products

In have modify the header search path to "../build/include" , i have added the libVuforia.a in the build phases.

 

But i have some error when i compile the project :

Conflicting types for 'glCreateShader'

Conflicting types for 'glShaderSource'

Conflicting type for 'glCompileShader'

Conflicting type for 'glGetShaderiv'

etc ...

it seems a conflict bewteen the SampleApplicationShaderUtils.m and the SampleApplicationUtils.cpp

I don't know how to resolve the problem.

 

Conflicting type with Xcode 6.1

January 20, 2015 - 9:43am #7

I resolved by importing the following

#import <OpenGLES/ES2/glext.h>
inside the SampleApplicationShaderUtils.h

 

Correct. And that's also mentioned here:

 https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility

 

Conflicting type with Xcode 6.1

January 20, 2015 - 7:43am #6

I had the same problems with conflicting types.

I resolved by importing the following

#import <OpenGLES/ES2/glext.h>
inside the SampleApplicationShaderUtils.h
 
 
Hope it helps ;)

Conflicting type with Xcode 6.1

January 8, 2015 - 1:57am #5

Vuforia SDK Installation :

1 - Download and extract SDK

2 - Download sample and extract in SDK like : sdk/sample/a_folder/VuforiaSample.xcodeproj (or change framework path in XCode build setting "Library Search Paths”)

3 - do this : https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility

Good Luck

Conflicting type with Xcode 6.1

January 8, 2015 - 1:55am #4

Vuforia SDK Installation :

1 - Download and extract SDK

2 - Download sample and extract in SDK like : sdk/sample/a_folder/VuforiaSample.xcodeproj (or change framework path in XCode build setting "Library Search Paths”)

3 - do this : https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility

Good Luck

Conflicting type with Xcode 6.1

November 25, 2014 - 10:58pm #3

The same thing is explained here (together with other known issues about Xcode 6 and / or iOS 8):

https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility

 

Conflicting type with Xcode 6.1

November 25, 2014 - 6:48pm #2

I was able to get through this by adding 

#import <OpenGLES/ES2/gl.h>

#import <OpenGLES/ES2/glext.h>

 
to the top of SampleApplicationShaderUtils.h
 
-Randy
Log in or register to post comments