본문 바로가기

트렌드 한눈에 보기/산업 트렌드

undefined reference to 에러 (STM)

STM32CubeIDE not including library files correctly - Page 2 - STMicroelectronics Community

 

STM32CubeIDE not including library files correctly

I am very new to STM32CubeIDE as I am switching from Keil to Cube. I included a library for an lcd and added the path of the library. The IDE does not recognize any functions defined in the library as I get the error "undefined reference to " function. No

community.st.com

 

다양한 원인들이 있을 수 있지만, 

기본적으로 프로젝트를 만들 때 c로 만들지 c++로 만들지 선택을 잘 해야 한다. 

c++로 해야 해당 문제가 생기지 않는다.