Atlas 2.0용 C 프로젝트 설정

From AtlasWiki
Revision as of 15:42, 18 May 2017 by Admin (Talk | contribs)

Jump to: navigation, search

The steps below detail how to configure a C Project to be mapped with Atlas 2.0. This process has been improved in Atlas 3.0.

If you are using Atlas 3.0 or later, please see C 프로젝트 설정하기.


Eclipse에서 C 프로젝트 불러오기

  1. 프로젝트가 Makefile이 있는 경우에 불러오기:
    • 패키지 익스플로러에서 마우스 오른쪽 클릭하십시오.
    • 불러오기를(Import) 선택하십시오.
    • 팝업 대화창에서 C/C++를 펼쳐 기존 코드를 Makefile 프로젝트로(Existing Code as Makefile Project)를 선택한 후 다음을(Next) 클릭하십시오.
    • 프로젝트 이름을 입력한 후 불러올 디렉토리를 지정하십시오.
    • 완료를(Finish) 클릭하십시오.
  2. 프로젝트가 Makefile이 없는 경우에 불러오기:
    • 패키지 익스플로러에서 마우스 오른쪽 클릭하십시오.
    • 신규 > 프로젝트를(New > Project) 선택하십시오.
    • 팝업 대화창에서 일반 > 프로젝트를(General > Project) 선택하고 다음을(Next) 클릭하십시오.
    • 프로젝트 이름을 입력하고 완료를(Finish) 클릭하십시오.
    • 프로젝트에 마우스 오른쪽 클릭하고 불러오기를(Import) 선택하십시오.
    • 상위 디렉토리를 입력하고 불러올 파일을 선택한 후 완료를(Finish) 클릭하십시오.


Setting up C projects for Atlas

  1. Enable the Atlas Error Parser:
    • 패키지 익스플로러에서 프로젝트를 마우스 오른쪽 클릭한 후 속성을(Properties) 선택하십시오.
    • Under Atlas C/C++ Build, click the button Enable Atlas Error Parser (if it is not grayed out already) and click OK.
  2. 빌드 명령어 정보 사용하기
    • 패키지 익스플로러에서 프로젝트를 마우스 오른쪽 클릭한 후 속성을(Properties) 선택하십시오.
    • Under Atlas C/C++ Build, add the compiler command to the Build Commands. These are the commands that will be parsed from the output of the project's makefile.
    • 확인을(OK) 클릭하십시오.
  3. Choose the project to be indexed:
    • Open the Atlas menu and select Manage Project Settings.
    • Select the project to be indexed, click the Add button, and click OK.
    • An index can be run by selecting Index Workspace under the Atlas menu.


문제 해결: If Atlas is unable to properly index the project, try the following fixes:

  1. 프로젝트를 정리하여 빌드하고 빌드 출력이 정확히 분석되었는지 확인하기:
    • 패키지 익스플로러에서 프로젝트를 마우스 오른쪽 클릭한 후 속성을(Properties) 선택하십시오.
    • Atlas C/C++ 빌드 > 빌드 설정 파일을(Atlas C/C++ Build > Build Configuration File) 확인하십시오.
    • 빌드 설정 파일(Build Configuration File) 밑의 열기(Open) 버튼이 회색이거나, 파일을 찾을 수 없었다고 나오면 Atlas가 빌드 설정을 감지하지 못한 것입니다. C/C++ 빌드를(Build) 선택하고 ‘기본 빌드 명령어 사용(Use default build command)’의 체크를 해제하십시오.
    • 출력 verbose를 만들려면 명령어를 조정하십시오. 필요한 플래그는 상황에 따라 다릅니다. 일반적으로 ‘V=1’나 ‘VERBOSE=1’이 사용됩니다.
    • 프로젝트를 정리하고 빌드하여 빌드 설정 파일이(Build Configuration File) 0개가 아닌지 확인하십시오.
  2. If Atlas’ index is still empty, it may be that the Makefile is improperly reporting changing directories.
    • 패키지 익스플로러에서 프로젝트를 마우스 오른쪽 클릭한 후 속성을(Properties) 선택하십시오.
    • C/C++ 빌드를(Build) 선택하고 ‘기본 빌드 명령어 사용(Use default build command)’의 체크를 해제하십시오.
    • ‘--Print-directory’ 플래그를 추가하십시오.
    • 프로젝트를 정리하고 빌드하십시오.


Atlas 설정에 어려움을 겪고 계시다면 [email protected]에 지원을 요청하십시오.