Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
Hello again Andreas! As i said before, the error was already solved. In fact, the function header was declared, but the implementation in .cpp file was not using "Executor::" prefix, so the header declaration hadn't a proper implementation to the function. Additionally, i agree that was a mistak

Re: [CMake] String error Cmake

2012-04-03 Thread Aaron_Wright
Did you define Executor::runCommand(...)? --- Aaron Wright From: Mauricio Klein To: cmake@cmake.org Date: 04/03/2012 11:49 AM Subject:Re: [CMake] String error Cmake Sent by:cmake-boun...@cmake.org One more information: Andreas, i'm compiling at least 10 .cpp

Re: [CMake] String error Cmake

2012-04-03 Thread Andreas Pakulat
On 03.04.12 15:46:08, Mauricio Klein wrote: > The complete error is the following: > > > CMakeFiles/MonitoraITSchedulerAgent.dir/SourceCode/src/Executor.cpp.o: In > function `Executor::execute(Service*, unsigned int)': > Executor.cpp:(.text+0x8c): undefined reference t

Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
Aaron Wright > > > > > From:Mauricio Klein > To:cmake@cmake.org > Date: 04/03/2012 11:49 AM > Subject:Re: [CMake] String error Cmake > Sent by:cmake-boun...@cmake.org > -- > > > > One more in

Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
Guys, i'm so sorry! It was a programmin mistake. I've defined the function without putting the Class name before it's name. Thanks Andreas for your help! On Tue, Apr 3, 2012 at 3:48 PM, Mauricio Klein wrote: > One more information: > > Andreas, i'm compiling at least 10 .cpp codes, many of the

Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
One more information: Andreas, i'm compiling at least 10 .cpp codes, many of them using string without problems. The error is occurring just in this function, but i've assured that string libraries are included. On Tue, Apr 3, 2012 at 3:46 PM, Mauricio Klein wrote: > The complete error is the

Re: [CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
The complete error is the following: CMakeFiles/MonitoraITSchedulerAgent.dir/SourceCode/src/Executor.cpp.o: In function `Executor::execute(Service*, unsigned int)': Executor.cpp:(.text+0x8c): undefined reference to `Executor::runCommand(char const*, unsigned int, std::

Re: [CMake] String error Cmake

2012-04-03 Thread Andreas Pakulat
On 03.04.12 14:26:01, Mauricio Klein wrote: > Hello fellows! > > I'm compiling my code using CMake and i'm receiving a linker error like > this: > std::basic_string, std::allocator > When you get errors, post the complete error message and not just a part. The above is completely useless. > Afte

[CMake] String error Cmake

2012-04-03 Thread Mauricio Klein
Hello fellows! I'm compiling my code using CMake and i'm receiving a linker error like this: std::basic_string, std::allocator > After few researches on the internet, i realized that this kind of error occurs when compiling a C++ code with GCC, instead G++. My question is: how can i force CMake