Sublime Forum

Error generated

#1

I’m having trouble running programs (in C++) on Sublime Text needing the conio.h and conio2.h library, it displays this message as you can see below:

/teste.cpp:1:10: fatal error: ‘conio.h’ file not found
#include <conio.h>
^
1 error generated.
[Finished in 0.3s with exit code 1]
[cmd: [‘g++’, ‘/teste.cpp’, ‘-o’, ‘/teste’]]
[dir: /]
[path: /usr/bin:/bin:/usr/sbin:/sbin]

0 Likes

#2

First off there’s a support section of these forums. Now, as for your error, it looks like you’re either not including the files or they aren’t being found. We’ll need more info than that to help you.

0 Likes

#3

Those aren’t standard header files, so the compiler you have might not provide them. Can you compile that source code from the command line?

0 Likes