fatal error: features.h: No such file or directory compilation terminated - c++

I am just running the code build.sh. However, I got the error message:
/mnt/storage/easybuild/software/GCCcore/5.4.0/lib/gcc/x86_64-unknown-linux-gnu/5.4.0/include-fixed/limits.h:168:61:
fatal error: limits.h: No such file or directory compilation
terminated.
and also this error:
/mnt/storage/software/libraries/nvidia/cuda-9.0/bin/..//include/crt/host_config.h:179:40:
fatal error: features.h: No such file or directory compilation
terminated.
I have checked the path: /mnt/storage/easybuild/software/GCCcore/5.4.0/lib/gcc/x86_64-unknown-linux-gnu/5.4.0/include-fixed/, there is a file "limits.sh", but the error still occurs.

Related

Gem5 Trouble compiling executable

I am receiving the below error even after explicit call to directory
gcc -I /../../gem5/include/gem5 -o /home/user/benchmarks/my_app my_app.cc.
gcc: error: my_app.cc: No such file or directory
gcc: fatal error: no input files
compilation terminated.
the directory where m5op resides is in this #include "/path/to/gem5/include/gem5/m5op.h"

Emscripten: fatal error: sys/cdefs.h: No such file or directory when compiling for 32 bit

When trying to compile an existing C++ project with emscripten I got the following error:
emmake make LINUX
In file included from /usr/include/stdio.h:27:0,
from src/abinitplugin.c:50:
/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
compilation terminated.
I am able to compile for LINUXAMD64, but I need it specifically 32-bit. How do I solve it?

Codelite Build Error 'No such file or directory'

Im new at programming with Codelite, i created some simple frames with wxCrafter, but Codelight will not install (yes, I have mingw installed, worked on a console program).
I tought, I made did a mistake with my frames, I decided to create a new project without changing anything and just build the project. I get the same error Code:
C:\Windows\system32\cmd.exe /C C:/TDM-GCC-64/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile
"----------Building project:[ Test - Debug ]----------"
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
Please use the --prefix flag (as in wx-config --prefix=C:/wxWidgets)
or set the environment variable WXWIN (as in WXWIN=C:/wxWidgets)
to specify where is your installation of wxWidgets.
mingw32-make.exe[1]: Entering directory 'C:/Users/user/Documents/CodeLite/Gravitation_Simulator/Test'
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: hasn't: No such file or directory
g++.exe: error: been: No such file or directory
g++.exe: error: found: No such file or directory
g++.exe: error: installed: No such file or directory
g++.exe: error: at: No such file or directory
g++.exe: error: 'C:\Program: Invalid argument
g++.exe: error: Files'.: No such file or directory
mingw32-make.exe[1]: *** [Debug/main.cpp.o.d] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: hasn't: No such file or directory
g++.exe: error: been: No such file or directory
g++.exe: error: found: No such file or directory
g++.exe: error: installed: No such file or directory
g++.exe: error: at: No such file or directory
g++.exe: error: 'C:\Program: Invalid argument
g++.exe: error: Files'.: No such file or directory
Test.mk:99: recipe for target 'Debug/main.cpp.o.d' failed
mingw32-make.exe[1]: *** [Debug/MainFrame.cpp.o.d] Error 1
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: hasn't: No such file or directory
g++.exe: error: been: No such file or directory
g++.exe: error: found: No such file or directory
g++.exe: error: installed: No such file or directory
g++.exe: error: at: No such file or directory
g++.exe: error: 'C:\Program: Invalid argument
g++.exe: error: Files'.: No such file or directory
mingw32-make.exe[1]: *** [Debug/wxcrafter.cpp.o.d] Error 1
mingw32-make.exe: *** [All] Error 2
Test.mk:107: recipe for target 'Debug/MainFrame.cpp.o.d' failed
Test.mk:115: recipe for target 'Debug/wxcrafter.cpp.o.d' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/user/Documents/CodeLite/Gravitation_Simulator/Test'
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings====`
The problem is not with MinGW.
You need to have set the environment variables WXCFG and WXWIN
You can do this from within CodeLite: Settings->Environment variales
For example, if you installed wxWidgets development package under C:\src\wxWidgets
You should add 2 entries to the environment variables section in CodeLite like this:
WXCFG=gcc_dll\mswu
WXWIN=C:\src\wxWidgets
This should fix these warning for you.
Eran

g++.exe: fatal error: no input files Notepad++ error

I am trying to set up Notepad++ with a c++ compiler. So far I have run into the following issue:
g++.exe: error: ôone.cppö: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
I was previously running into the problem:
CreateProcess() failed with error code 2: The system cannot find the file specified
So, I corrected the file locations and this began showing up
g++.exe: error: ôone.cppö: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
This the full print by the way.
NPP_SAVE: C:\Users\Ken\Desktop\C++\one.cpp
CD: C:\Users\Ken\Desktop\C++
Current directory: C:\Users\Ken\Desktop\C++
C:\Users\Ken\Desktop\pocketcpp\pocketcpp\MinGW\bin\g++.exe “one.cpp”
Process started >>>
g++.exe: error: ôone.cppö: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
<<< Process finished. (Exit code 1)
cmd /c “C:\Users\Ken\Desktop\C++\a.exe”
Process started >>>
The filename, directory name, or volume label syntax is incorrect.
<<< Process finished. (Exit code 1)
================ READY ================
Any help will be appreciated.

Boost compile error cstddef: No such file or directory

When I want to use boost, I meet compile error, also can not find cstddef in /usr/include/boost:
In file included from server.c:10:0:
/usr/include/boost/config/select_stdlib_config.hpp:17:19: fatal error: cstddef: No such file or directory
compilation terminated.
In Ubuntu 12.