FPGA ALTERA 컴파일 에러 대처법
qsys에서 에러나는 것.
- qsys에서 option에서 ip include 를 ip 폴더로 지정하면 error 없어짐.
Nios 2 에서 header 에러나는 것
- project - Properties 에서 C/C++ General 하위의 Paths and Symbols 에서 References 탭에 체크해주고 OK 하면 에러 없어짐.
Couldn't compute FAST_CWD pointer 에러 나는 것
- cygwin 이 13.1에서는 win10을 지원하지 않기 때문에 intel에서 새로 패치된 bin , bin64를 받아서 덮어 씌움.
make: *** No rule to make target `nx_frame_c3', needed by `all'. Stop.
Warning: SOPC File D:/svn/ee/trunk/fx/Firmware/fpga/device/c10lp/hardware/fx_proc_config/fx_proc_config_main.sopcinfo could not be found.
- project 폴더 , bsp 폴더 동일하게 수행
- 오른쪽 클릭 NIOS 2 -> BSP EDITOR 클릭
- File -> New BSP 클릭하고 SOPC 위치를 다시 잡고 OK
- Generator 클릭, File -> Save 클릭 하고 EXIT
- bsp 폴더 오른쪽 클릭 NIOS 2 -> GENERATE BSP 하면 에러 없어지고 빌드가 된다.
symbol could not be resolved
- 프로젝트 폴더 오른쪽 클릭 Index -> Rebuild
- 프로덱트 폴더 오른쪽 클릭 Index -> Search for unresolved includes
overlaps 에러가 뜨면 system -> assigned base addresses
.bss' is not within region 에러가 뜨는 경우
- bsp 프로젝트 우클릭 Properties -> Nios 2 BSP Properties 클릭
- 여러개의 체크박스 중 Smal C library 체크 후 빌드