Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » eclipse IDE complie Failed , ACE_MT_SYNCH could not be resolved
eclipse IDE complie Failed , ACE_MT_SYNCH could not be resolved [message #1064433] Wed, 19 June 2013 09:00
zhang A1 is currently offline zhang A1Friend
Messages: 3
Registered: June 2013
Junior Member
I have install eclipse juno SR2 in RedHat 6.0.
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????
Previous Topic:eclipse IDE complie Failed in redHat,but is complie Success in Ubuntu
Next Topic:Debugger problem with cout / cin
Goto Forum:
  


Current Time: Tue Apr 23 12:44:22 GMT 2024

Powered by FUDForum. Page generated in 0.02485 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top