Cannot find stdio

I have read about this problem but the post where quite old . When i write #include <stdio.h> is not highlighted and the build fails.

2 comments
Comment actions Permalink

Hi Christian.

Could you please send us error message, specify used compiler and attach CMakeLists.txt

0
Comment actions Permalink

/home/christian/Downloads/clion-2016.1.1/bin/cmake/bin/cmake --build /home/christian/.CLion2016.1/system/cmake/generated/001-ed801284/ed801284/Debug --target 001 -- -j 2

That was the output. Iam on L Mint so I guess my compiler is GCC .

The cmake file

cmake_minimum_required(VERSION 3.5)
project(001)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

set(SOURCE_FILES main.cpp)
FIND_PACKAGE( OpenCV REQUIRED core highgui imgproc)
#add_subdirectory (usr/include)
add_executable(001 ${SOURCE_FILES})
0

Please sign in to leave a comment.