■掲示板に戻る■
全部
1-
101-
201-
301-
401-
501-
601-
701-
801-
901-
1001-
最新50
レス数が1000を超えています。残念ながら全部は表示しません。
Cygwin使っている人いますか? part4
244 :
:02/04/28 17:45
あ、ぶっちゃけると俺がmakeしようとしたのはLEなんてたいそうなもんじゃなくて
コンソールベースのテトリスです(w
テトリス ttp://freshmeat.net/projects/justanothertetris/?topic_id=268
でも、エラーの内容がそっくりだったので。
# Makefile
CC = gcc
LDFLAGS = -lncurses
OBJFILES = tetris.o highscore.o
SOURCEFILES = tetris.c highscore.c
all: $(OBJFILES)
$(CC) $(LDFLAGS) -o tetris $(OBJFILES)
makeを実行すると、↓こんなのがイッパイ出ます。
tetris.o(.text+0xe6):tetris.c: undefined reference to `stdscr'
tetris.o(.text+0xec):tetris.c: undefined reference to `wmove'
tetris.o(.text+0xfd):tetris.c: undefined reference to `stdscr'
gcc -o tetris tetris.o highscore.o -lncurses
のように実行すると、次のようなエラーが出ます。
Warning: resolving _stdscr by linking to __imp__stdscr (auto-import)
Warning: resolving _COLS by linking to __imp__COLS (auto-import)
Warning: resolving _LINES by linking to __imp__LINES (auto-import)
掲示板に戻る
全部
前100
次100
最新50
read.cgi ver5.26+ (01/10/21-)