Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumseclipse IDE complie Failed , ACE_MT_SYNCH could not be resolved
https://www.eclipse.org/forums/index.php/mv/msg/489239/1064433/#msg_1064433
And Write the class inherit ACE_TASK,like this:
#include "ace/OS.h"
#include "ace/Task.h"
class DBPro : public ACE_Task<ACE_MT_SYNCH>{
public:
DBPro();
virtual ~DBPro();
};
So , Project-->Build All.
eclipse Console Window Show it:
Invoke:GCC C++ Compiler
g++ -I/usr/include/c++ -I/usr/include/c++/4.4.4 -I/usr/include/c++/4.4.4/x86_64-redhat-linux -I/opt/ACE_wrapper -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF
"src/DBPro.d" -o "src/DBPro.o" "../src/DBPro.cpp"
Finish building:../src/DBPro.cpp
Build target: Measure System
Invoking: GCC C++ Linker
g++ -L/opt/ACE_wrappers/lib -o "MessageSystem" ./src/DBPro.o ./src/Main.o -lACE
Finish build target: MeasureSystem.
But in eclipse Problems Window shot it :
1)Invalid template arguments Type 'ACE_MT_SYNCH' Could not be resolved
? Why eclipse report Error : Type 'ACE_MT_SYNCH' Could not be resolved????
]]>zhang A12013-06-19T09:00:31-00:00