release 인 경우에는
Asteroid.cpp
E:\back\MatriXs2\MatriXsLib\Asteroid.cpp(12) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Comet.cpp
E:\back\MatriXs2\MatriXsLib\Comet.cpp(12) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Coordinate.cpp
E:\back\MatriXs2\MatriXsLib\Coordinate.cpp(99) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Date.cpp
E:\back\MatriXs2\MatriXsLib\Date.cpp(228) : fatal error C1010: unexpected end of file while looking for precompiled header directive
DateTime.cpp
E:\back\MatriXs2\MatriXsLib\DateTime.cpp(78) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Ecliptic.cpp
E:\back\MatriXs2\MatriXsLib\Ecliptic.cpp(54) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Equatorial.cpp
E:\back\MatriXs2\MatriXsLib\Equatorial.cpp(221) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Galactic.cpp
E:\back\MatriXs2\MatriXsLib\Galactic.cpp(44) : fatal error C1010: unexpected end of file while looking for precompiled header directive
GST.cpp
E:\back\MatriXs2\MatriXsLib\GST.cpp(79) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Horizon.cpp
E:\back\MatriXs2\MatriXsLib\Horizon.cpp(62) : fatal error C1010: unexpected end of file while looking for precompiled header directive
LCT.cpp
E:\back\MatriXs2\MatriXsLib\LCT.cpp(78) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Location.cpp
E:\back\MatriXs2\MatriXsLib\Location.cpp(22) : fatal error C1010: unexpected end of file while looking for precompiled header directive
LST.cpp
E:\back\MatriXs2\MatriXsLib\LST.cpp(72) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Matrix.cpp
E:\back\MatriXs2\MatriXsLib\Matrix.cpp(274) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Moon.cpp
E:\back\MatriXs2\MatriXsLib\Moon.cpp(197) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Planet.cpp
E:\back\MatriXs2\MatriXsLib\Planet.cpp(377) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Sun.cpp
E:\back\MatriXs2\MatriXsLib\Sun.cpp(105) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Time.cpp
E:\back\MatriXs2\MatriXsLib\Time.cpp(64) : fatal error C1010: unexpected end of file while looking for precompiled header directive
이런 에러가 납니다.
debug 로는 컴파일은 되는데,
실행이 안 되서 뒤져 보니
FILE *fp = fopen("debug/star.dat","rt");
for (int i=0;i<10000;i++)<br />
{
float ra,dec,mag;
char type;
int result;
result = fscanf(fp,"%f %f %c %f",&ra,&dec,&type,&mag);
nStar++;
if (EOF == result)
break;
star[i].equ = Equatorial(ra,dec);
star[i].hor = Horizon(star[i].equ, lst, Util::deg2rad(37.8));
star[i].type = type;
star[i].mag = mag;
}
fclose(fp);
이 부분에서 파일 오픈 여부를 체크 하지 않아서
생긴 문제인 것 같습니다.
star.dat 파일이 없군요.
release 저 놈을 어떻게 고쳐야 할지.
그리고 start.dat 는 어디서 받아야 하는지
알고 싶습니다.
matrix2 컴파일 실행 에러 문의입니다.
웹 아카이브(2020-10-24 기록)에서 복원한 글입니다.
댓글 5
황태욱
star.dat 는 찾았습니다.
data.zip 를 보니까
그 중에 star.dat 가 있네요.
fscanf 포맷을 보니까
star.dat 와 포맷이 같은 것 같습니다.
한번 돌려 보겠습니다.
지용호
수고하십니다. ^^
이도원
거 전에 형철이 형이 이야기 한거 아닌가.. menu에서 찾다보면
setting에서 yu/stdafx.h를 지우면 compile 되는걸로 아는데 한번 해보세요
황태욱
아.. 알겠습니다.
게시판 훑었는데도 잘 몰랐네요.
워낙 초보다 보니..^^
유동일
와..