Best language/API to interface with FPGA/Front Panel?

Hello everybody,
I’m quite new to FPGA programming and now I need to integrate some FPGA/ControlPanel command in my application. I tried using C API for Front Panel but I get a lot of compiling errors and so I’m thinking to switching language in Python. I would like to ask if you have suggestions and even if you can link me tutorials/manuals or other useful things.

Thanks in advance,
Francesco

C++ will be the best for performance. As far as we know, all of our samples compile without warnings or errors on all supported platforms.