Open mikesiwer opened 6 months ago
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
Please install the SDK before "make psw"
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