I am getting the following error in my .h file due to which the compiler doesnt recognize the function in the .cpp file:
In file included from Plc.cpp:1:
Plc.h:27: error: expected unqualified-id before string constant
Plc.cpp:12: error: no ‘jint Plc::Java_Plcio_open(JNIEnv*, __jobject*, __jstring*)’ member function declared in class ‘Plc’