作者herbertcsh (A-bo)
看板EE_DSnP
標題[問題] compile error
時間Mon Dec 19 22:04:07 2011
不好意思請問一下
在我努力的de完好多bug之後啊
出現了以下的這串error message:
Checking util...
Checking cir...
Making dependencies ...
> compiling: cirCmd.cpp
In file included from /usr/include/c++/4.5/map:60:0,
from ../../include/cmdParser.h:15,
from cirCmd.h:12,
from cirCmd.cpp:14:
/usr/include/c++/4.5/bits/stl_tree.h:67:1: error: expected unqualified-id before ‘namespace’
make[1]: *** [cirCmd.o] Error 1
Checking main...
> building cirTest...
/usr/bin/ld: cannot find -lcir
collect2: ld returned 1 exit status
make[1]: *** [../../bin/cirTest] Error 1
make: *** [main] Error 2
請問有沒有人遇到類似的問題呢?
可否提點小弟一下也許是哪兒出了問題呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.240.210.90
1F:→ djshen:會不會是哪個class最後忘了分號? 12/19 22:08
2F:推 penlininkshs:應該是樓上所言的錯誤沒錯唷 12/20 14:46