I know it sounds stupid but I really need your help with this annoying error. I caught the error "#endif without #if" while I already had #ifndef before #endif. I am checking the code again now but still have no idea what the problem is. Please help me. Thank you very much!