MinGW+Eclipse怎么重新编译redis

likgui 发布于 2011/12/07 10:55
阅读 1K+
收藏 0

在eclipse已经可以运行c程序了,下载了dmajkic-redis,编译时这个文件报很多错误redis-benchmark.c
Description Resource Path Location Type
fatal error: hiredis.h: No such file or directory redis-benchmark.c /redis2 line 49 C/C++ Problem
Field 'err' could not be resolved redis-benchmark.c /redis2 line 258 Semantic Error
Field 'errstr' could not be resolved redis-benchmark.c /redis2 line 190 Semantic Error
Field 'errstr' could not be resolved redis-benchmark.c /redis2 line 194 Semantic Error
Field 'errstr' could not be resolved redis-benchmark.c /redis2 line 261 Semantic Error
Field 'errstr' could not be resolved redis-benchmark.c /redis2 line 263 Semantic Error
Field 'fd' could not be resolved redis-benchmark.c /redis2 line 118 Semantic Error
Field 'fd' could not be resolved redis-benchmark.c /redis2 line 119 Semantic Error
Field 'fd' could not be resolved redis-benchmark.c /redis2 line 140 Semantic Error
Field 'fd' could not be resolved redis-benchmark.c /redis2 line 141 Semantic Error
Field 'fd' could not be resolved redis-benchmark.c /redis2 line 142 Semantic Error
Field 'fd' could not be resolved redis-benchmark.c /redis2 line 233 Semantic Error
Field 'fd' could not be resolved redis-benchmark.c /redis2 line 245 Semantic Error
Field 'fd' could not be resolved redis-benchmark.c /redis2 line 246 Semantic Error
Field 'fd' could not be resolved redis-benchmark.c /redis2 line 283 Semantic Error
Symbol 'REDIS_OK' could not be resolved redis-benchmark.c /redis2 line 189 Semantic Error
Symbol 'REDIS_OK' could not be resolved redis-benchmark.c /redis2 line 193 Semantic Error
Symbol 'REDIS_REPLY_ERROR' could not be resolved redis-benchmark.c /redis2 line 198 Semantic Error
Type 'redisContext' could not be resolved redis-benchmark.c /redis2 line 82 Semantic Error

还有就是redis linux版能在window下编译吗

加载中
0
l
likgui
怎么没人回答
返回顶部
顶部