Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cc1plus: error: /opt/intel/sgxsdk/include: No such file or directory [-Werror=missing-include-dirs] #1035

Open
mikesiwer opened this issue May 4, 2024 · 1 comment

Comments

@mikesiwer
Copy link

ubuntu 23.10
while use command "make psw DEBUG=1" or "make psw"
got error
cc1plus: error: /opt/intel/sgxsdk/include: No such file or directory [-Werror=missing-include-dirs]
please Help .

Full error log

root@nbfs:/home/nbfs/linux-sgx# make psw
make -C psw/ USE_OPT_LIBS=1
make[1]: Entering directory '/home/nbfs/linux-sgx/psw'
make -C uae_service/linux/
make[2]: Entering directory '/home/nbfs/linux-sgx/psw/uae_service/linux'
g++ -Wnon-virtual-dtor -std=c++17 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -UDEBUG -DNDEBUG -ffunction-sections -fdata-sections -Wall -Wextra -Winit-self -Wpointer-arith -Wreturn-type -Waddress -Wsequence-point -Wformat-security -Wmissing-include-dirs -Wfloat-equal -Wundef -Wshadow -Wcast-align -Wconversion -Wredundant-decls -DITT_ARCH_IA64 -fcf-protection -fPIC -Werror -Wno-unused-parameter -g -DPROTOBUF_INLINE_NOT_IN_HEADERS=0 -Wno-deprecated-declarations -I. -I/home/nbfs/linux-sgx/common -I/home/nbfs/linux-sgx/common/inc -I/home/nbfs/linux-sgx/common/inc/internal -I/home/nbfs/linux-sgx/psw/ae/common -I/home/nbfs/linux-sgx/psw/ae/inc -I/home/nbfs/linux-sgx/psw/ae/inc/internal -I/opt/intel/sgxsdk/include -I/home/nbfs/linux-sgx/external/epid-sdk -I../../../psw/ae/aesm_service/source/core/ipc -I../uae_wrapper/inc -I../../../psw/ae/aesm_service/source/core/ipc -I/home/nbfs/linux-sgx/psw/ae/aesm_service/source -I/home/nbfs/linux-sgx/psw/ae/aesm_service/source/common -c ../uae_wrapper/src/AEServicesImpl.cpp -o AEServicesImpl.o
cc1plus: error: /opt/intel/sgxsdk/include: No such file or directory [-Werror=missing-include-dirs]
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:182: AEServicesImpl.o] Error 1
make[2]: Leaving directory '/home/nbfs/linux-sgx/psw/uae_service/linux'
make[1]: *** [Makefile:49: uae_service] Error 2
make[1]: Leaving directory '/home/nbfs/linux-sgx/psw'
make: *** [Makefile:67: psw] Error 2

@andyzyb
Copy link
Contributor

andyzyb commented May 6, 2024

Please install the SDK before "make psw"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants