|
|
我把APG里的建议的那个Makefile完整敲下来,写了个空的ACE_MAIN,用
g++ -I/usr/local/include -o Master test.cpp
没有问题,但是我直接运行
$make
GNUmakefile: /home/leaf/src/KaolaUploader/Master/GNUmakefile MAKEFLAGS=
ld -I/home/leaf/ACE_wrappers -DACE_NDEBUG -DACE_USE_RCSID=0 -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -L/lib -L/home/leaf/ACE_wrappers/ace -L./ -o Master .obj/Master.o -lACE
ld: unrecognized option '-DACE_NDEBUG'
ld: use the --help option for usage information
make: *** [Master] ´íÎó 1
查到DACE_NDEBUG只是禁止产生ACE_ASSERT和DEBUG的东东,那个要怎么样设置呢?
Google百度都没有,急得我慢头大汗, |
|