Symbols not resolved properly | Cannot resolve symbol 'printf'

Hello everyone ! 

 

I'm having issues using CLion on my mac (ARM chipset) with remote compiling profiles. Once I switch to my profile to compile inside of my vm, no symbols are resolved anymore.

 

!! The program is compiled without any error. !!

cmake --version
cmake version 3.30.2

CMakeLists.txt : 

cmake_minimum_required(VERSION 3.30.2)
project(remotetest2 C)

set( CMAKE_CXX_STANDARD 11 )
set( CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++ )
set( CMAKE_CXX_FLAGS    ${COMPILE_FLAGS} )

set( CMAKE_C_STANDARD   11 )
set( CMAKE_C_COMPILER   x86_64-w64-mingw32-gcc )
set( CMAKE_C_FLAGS      ${COMPILE_FLAGS} )

add_executable(remotetest2 main.c)

 

 

0

Please sign in to leave a comment.