kwgrib2 ํด ์ค์น ์,
config.h ๊ด๋ จ ๋น๋์๋ฌ..
์๋ฌ ๋ก๊ทธ .. ๊ธธ์ด์ ์ ์ด๋ !
make[1]: Entering directory '/home/admin0/Build_WRF/create_vtable/kwgrib2/wgrib2'
makefile:58: warning: ignoring prerequisites on suffix rule definition
cc -c -O3 -I/home/admin0/Build_WRF/create_vtable/kwgrib2/g2clib-1.2.1 -I/home/admin0/Build_WRF/create_vtable/kwgrib2/gctpc/source -I/home/admin0/Build_WRF/create_vtable/kwgrib2/jasper-1.900.1/src/libjasper/include -I/home/admin0/Build_WRF/create_vtable/kwgrib2/netcdf-3.6.2/libsrc -I/home/admin0/Build_WRF/create_vtable/kwgrib2/libpng-1.2.44 -I/home/admin0/Build_WRF/create_vtable/kwgrib2/zlib-1.2.5 -I/usr/include -I/usr/include AAIG.c
In file included from wgrib2.h:7,
from AAIG.c:6:
config.h:2:1: error: stray ‘\’ in program
2 | \#define USE_REGEX
| ^
config.h:2:2: error: stray ‘#’ in program
2 | \#define USE_REGEX
| ^
config.h:2:3: error: unknown type name ‘define’
2 | \#define USE_REGEX
| ^~~~~~
config.h:3:1: error: stray ‘\’ in program
3 | \#define USE_TIGGE
| ^
config.h:3:2: error: stray ‘#’ in program
3 | \#define USE_TIGGE
| ^
config.h:3:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘define’
3 | \#define USE_TIGGE
| ^~~~~~
config.h:3:3: error: unknown type name ‘define’
config.h:4:1: error: stray ‘\’ in program
4 | \#define USE_NETCDF3
| ^
config.h:4:2: error: stray ‘#’ in program
4 | \#define USE_NETCDF3
| ^
config.h:9:1: error: stray ‘\’ in program
9 | \#define CC "cc"
| ^
config.h:9:2: error: stray ‘#’ in program
9 | \#define CC "cc"
| ^
config.h:10:1: error: stray ‘\’ in program
10 | \#define FORTRAN "f77"
| ^
config.h:10:2: error: stray ‘#’ in program
10 | \#define FORTRAN "f77"
| ^
make[1]: *** [makefile:58: AAIG.o] Error 1
make[1]: Leaving directory '/home/admin0/Build_WRF/create_vtable/kwgrib2/wgrib2'
make: *** [makefile:351: /home/admin0/Build_WRF/create_vtable/kwgrib2/UTIL/bin/kwgrib2] Error 2
admin0@admin0-VirtualBox:~/Build_WRF/create_vtable/kwgrib2$
์ด์จ๋ .. ์์๊ฐ์ ์๋ฌ๋ฅผ ๋ง์ฃผํ๊ณ ..
๊ธฐ์์๋ฃ๊ฐ๋ฐฉํฌํธ์ ๋ฌธ์ํ๋๋, ์๋์ ๊ฐ์ ๋ต๋ณ์ ๋ฐ์..
๋ ํ ๊ฒ ๋ง๊ณ ใ ใ ๋ค์ ๋ฌธ์ํ๋๊ฒ ๋น ๋ฅผ์๋ ์์ง๋ง..
์ฐ์ ์ ์๋์ ๊ฐ์ด ์๋ ํด๋ด
๋น๋๋์ค? kwgrib2/wgrib2/config.h ํ์ผ์ #define ์์ \ ๊ฐ ๋ถ์..
์ด๊ฑธ๋ก ์ธํ ์๋ฌ๋ก ๋ณด์
์ ๋ถ์ด๋๊ฑด์ง ๋ชจ๋ฅด๊ฒ ์ผ๋,.. -> ์ด๊ฒ ์ข ๋ถ์ํ๊ธดํ๋ฐ.. ์ผ๋จ ์ฌ์ฉํ ๋ ๋ฌธ์ํด๋ด์ผ์ง..
๋น๋๋์ค์ ์๋์ ๊ฐ์ด ๋ฐ๋๋๊ฑธ๋ก ํ์ธ๋๋๋ฐ,
๋ฐ๋๋ฉด ์๋ก๊ณ ์นจ ํน์ ๋ค์ ์ด์ด์ \๋ฅผ ์ง์์ค (// ๋ก ์ฃผ์์ฒ๋ฆฌ ๋์ด ์๋ ๋ผ์ธ์ ์ ์ธํ๊ณ ..)
์ด๋ ๊ฒ ํด์คฌ๋๋ ์ ์์ ์ผ๋ก ๋น๋ ๋๋ ๊ฒ์ผ๋ก ํ์ธ..
kwgrib2 ์ฌ์ฉ๋ฐฉ๋ฒ : ์์นํ์ฉ๋งค๋ด์ผ(2016.5.31.) p.23 ์ฐธ๊ณ
'์ฒ์ฒํ, ๊พธ์คํ.. > WRF-UCM' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[WRF-UCM] WRF Build Process (0) | 2023.12.22 |
---|---|
[WRF-UCM] ๊ฐ์ / ๋น๋ / ์๋ฃ๊ตฌ์ถ / ์คํ (0) | 2023.12.22 |
๋๊ธ