Hi,
Thanks for the answer, I followed the steps and now all files were found by the compiler.
Problem is now I'm getting some compilation errors which I'm showing in the snippet. The complete list of errors is too big, so I'll leave just the beginning.
I'm currently on Ubuntu 18.04 trying to cross compile using the command i686-w64-mingw32-gcc with the -L and -I flags set to the Platform Packages directories as instructed by the previous answer.
Am I forgetting to do something?
Core.c:168:1: warning: ‘naked’ attribute directive ignored [-Wattributes]
{
^
Core.c: In function ‘CoreView__initLayoutContext’:
Core.c:174:3: error: expected ‘(’ before ‘{’ token
{
^
Core.c:176:5: error: unknown type name ‘mov’
mov eax, DWORD PTR [ esp + 4 ]
^~~
Core.c:176:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PTR’
mov eax, DWORD PTR [ esp + 4 ]
^~~
Core.c:235:1: warning: ‘naked’ attribute directive ignored [-Wattributes]
{
^
Core.c: In function ‘CoreView__GetRoot’:
Core.c:239:3: error: expected ‘(’ before ‘{’ token
{
^
Core.c:241:5: error: unknown type name ‘mov’
mov eax, DWORD PTR [ esp + 4 ]
^~~
Core.c:241:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PTR’
mov eax, DWORD PTR [ esp + 4 ]
^~~
...