I made an app in which there is some Objective C++
files with extensions .mm
and some Objective C
files with extension .m
.
My app runs fine until I need to add Philips HUE SDK.
When I downloaded the project I got two things: 1. HUE SDK 2. Lumberjack Folder
When I add Lumberjack folder in my app and build my project then I get errors in each and every .m
files of Lumberjack.
Error I am getting:
Assigning to 'void *' from incompatible type 'const char[1]'
I tried to change the compiler as ObjectiveC
and According to file type
.
But still I got Error.
I also tried to add -fno-objc-arc
in Lumberjack files but it also doesn't work.
Is their any way by which I can add HUE SDK in my project. I am searching for solution from long time.
EDIT
when i remove lumberjack folder i am getting this error in HUE SDK FILES