wei-ruitong / tspi_lvgl

8 stars 5 forks source link

cmake .. error #1

Open sxstone opened 2 months ago

sxstone commented 2 months ago

"Thank you very much for your contribution. When I was trying to reproduce it, I encountered the following error. I sincerely ask for your assistance."

-- Configuring done You have changed variables that require your cache to be deleted. Configure will be re-run and you may have to reset some variables. The following variables have changed: CMAKE_C_COMPILER= /usr/bin/cc CMAKE_C_COMPILER= /usr/bin/cc

-- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info Segmentation fault (core dumped)

wei-ruitong commented 2 months ago

When you open a new command mid-end window, please execute the following instructions first: export CC=/usr/bin/aarch64-linux-gnu-gcc
export CXX=/usr/bin/aarch64-linux-gnu-g++

sxstone commented 2 months ago

When you open a new command mid-end window, please execute the following instructions first: export CC=/usr/bin/aarch64-linux-gnu-gcc export CXX=/usr/bin/aarch64-linux-gnu-g++

Thank you, I've sorted it out. The compilation environment was getting messy because I was working with Docker image. Now, after pulling a new image, everything's back on track. Thanks for your response!