중요 문제
응용 프로그램 또는 라이브러리 프로젝트가 버전을 사용하여 만들어진 경우 9.1 SP2 이하(GCC 3 툴체인 사용) 및 가져오기 버전 10.0 Nios II GCC 4 툴체인을 사용하여 Eclipse용 SBT로, 에 표시된 빌드 오류가 표시될 수 있습니다.
make all
Info: Building ../hw_bsp
make --no-print-directory -C ../hw_bsp
make[1]: *** No rule to make target '/cygdrive/c/tmp/verilog_niosII_stratixII_2s60_standard/software/hw_bsp/alt_sys_init.c',
needed by 'all'. Stop.
make: *** [../hw_bsp-recurs-make-lib] Error 2 |
이 오류는 GCC 3 프로젝트를 GCC 3 툴체인을 사용하는 Eclipse용 버전 10.0 SBT 및 나중에 툴체인을 MinGW Nios II GCC4로 변경합니다.
이 문제는 Windows 운영 체제를 실행하는 플랫폼에만 영향을 줍니다. 시스템.
이 오류를 방지하려면 다음 단계를 수행합니다.
- 응용 프로그램 프로젝트 및 라이브러리 프로젝트 편집Edit the application project and library project 메이크파일을 만들고 에 표시된 대로 삽입된 코드를 추가합니다.
- BSP 프로젝트를 마우스 오른쪽 단추로 클릭하고 Nios II 가리킨 다음 BSP 생성을 클릭합니다.
- 응용 프로그램 및 라이브러리 프로젝트를 정리하고 다시 빌드합니다.
#------------------------------------------------------------------------------
# The adjust-path macro
#
# If COMSPEC is defined, Make is launched from Windows through
# Cygwin. This adjust-path macro will call \'cygpath -u\' on all
# paths to ensure they are readable by Make.
#
# If COMSPEC is not defined, Make is launched from *nix, and no
adjustment
# is necessary
#------------------------------------------------------------------------------
# Beginning of inserted code
ifndef COMSPEC
ifdef ComSpec
COMSPEC =
endif # ComSpec
endif # !COMSPEC
#end of inserted code
ifdef COMSPEC
adjust-path =
adjust-path-mixed =
else
adjust-path =
adjust-path-mixed =
endif |
또는 Altera Complete Design Suite 버전을 설치하십시오 11.0 이상.