Thank you @embeddedt, that makes sense. Do you know how I can compile the LVGL source files as C source files inside Eclipse while still being able to compile C++ source files outside of LVGL? When I tried using a g++ compiler, it gave me the errors seen above. When I use a GCC compiler, all C++ files are ignored (no object files are created for these files). I want to test out if I can create a cross-compiled project with both C and C++ by seeing if I can import an add(2,3) function from a CPP file into a main.c file that would return 5. Do you know if there is any way I can do so or any way I can perform this cross-compilation inside Eclipse? Thanks!