컴파일 중입니다. 사용자 정의 헤더 파일의 경로에 문제가 있습니다.헤더 파일의 현재 작업 디렉토리 C++
다음은 저장소의 구조입니다. hello_world.cpp 파일에서
temp
seqLib
headerFiles
SeqLibCommon.h
src
hello_world.cpp
은 다음과 같다 :
#include <iostream>
#include <Rcpp.h>
#include "../headerFiles/SeqLibCommon.h"
이 C에서, 컴파일 및 작동하지만 ++ 패키지, SeqLibCommon.h의 경로는 다음과 같은 참조 할 것 :
#include "headerFiles/SeqLibCommon.h"
두 가지가 다른 이유는 무엇입니까?
완벽! 감사 – Crt