作者sa901119 (ads901119)
看板EE_DSnP
标题[问题] make test 会显示calcModNum: no such file or dir
时间Sat Apr 11 23:54:18 2009
如题
我已经将目录切换到src/test之下
但无论我用 make test 或 make ./test 他都无法成功
首先就是一行 test.cpp:10:24: error: calcModNum.h: No such file or directory
请问是为什麽呢?? 该怎麽解决??
(无论我切换到哪个目录make test都会这样耶)
难道我要将test.cpp放到src/calc的资料夹?
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.252.248
1F:推 ric2k1:应该就在 root directory 打 "make test" 就好了 04/11 23:59
2F:→ ric2k1:不要 cd 到别的目录 04/12 00:00
3F:→ sa901119:在root dir他会: no rule to make target 'test'. Stop. 04/12 00:26
4F:→ sa901119:在hw3/hw3/ 目录下勉强可以 可是会出现 04/12 00:27
5F:→ sa901119:no rule to make 'calc.d', needed by 'top'. Stop 04/12 00:27
6F:→ sa901119:然後又是 calcModNum.h: no such file or directory 了 04/12 00:28
7F:→ sa901119:对了还有 hw3/hw3/ 下的 testMC.ref 执行後会出现 04/12 00:29
8F:→ sa901119:Error: using testMC <int> <int> <int>!! 就没法执行了 04/12 00:30
9F:推 FATCLOUD:要执行 testMC 要打乱三个参数进去 ./testMC 10 20 30 04/12 00:39