[問題] tm_usage編譯

作者: eric1527 (我不想知道阿)   2014-04-30 11:21:26
助教你好:
請問如果我想在user_cmd.cpp使用tm_usage
除了在user_cmd.h中include"../lib/tm_usage.h"以外
在src裡makefile的user_cmd.o : 後面加入../lib/tm_usage.h
還需要做什麼嗎?
每次編譯到user_cmd.cpp宣告TmUsage都會說does not name a type
請問是什麼問題?
謝謝
作者: ahpc82 (Ping)   2014-04-30 14:31:00
namespace?
作者: eric1527 (我不想知道阿)   2014-04-30 16:01:00
std跟CommonNs都用了

Links booklink

Contact Us: admin [ a t ] ucptt.com