Hello Alan,
If I comment the following line in mira-server/CMakeLists.txt
#TARGET_LINK_LIBRARIES (mira ${Boost_LIBRARIES})
then "make mira" works ok.
I was getting following error while doing make
[ 33%] Built target Files-utility
Scanning dependencies of target mira_server
[ 40%] Building CXX object CMakeFiles/mira_server.dir/src/Application.cpp.o
[ 46%] Building CXX object CMakeFiles/mira_server.dir/src/ConfigParser.cpp.o
[ 53%] Building CXX object CMakeFiles/mira_server.dir/src/main.cpp.o
/home/shilpa/mira-dev/protocol-buffer/build-server/src/main.cpp:30:43: error:
boost/uuid/random_generator.hpp: No such file or directory
/home/shilpa/mira-dev/protocol-buffer/build-server/src/main.cpp: In function
‘int main(int, char**)’:
/home/shilpa/mira-dev/protocol-buffer/build-server/src/main.cpp:79: error:
‘random_generator’ is not a member of ‘boost::uuids’
/home/shilpa/mira-dev/protocol-buffer/build-server/src/main.cpp:79: error:
expected ‘;’ before ‘gen’
/home/shilpa/mira-dev/protocol-buffer/build-server/src/main.cpp:80: error:
‘gen’ was not declared in this scope
make[2]: *** [CMakeFiles/mira_server.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/mira_server.dir/all] Error 2
make: *** [all] Error 2
In main.cpp I changed
#include <boost/uuid/random_generator.hpp>
to
#include <boost/uuid/uuid_generators.hpp>
to build the server.
Regards,
Shilpa Sodani.
From: sa_sod...@hotmail.com
To: mira-development@lists.sourceforge.net
Date: Thu, 12 May 2011 10:31:28 -0700
Subject: Re: [Mira-development] MsgLogout .h missing
I just tried your suggestion but still the same error.
Thanks,
Shilpa Sodani.
From: aalva...@aliensoft.net
Date: Thu, 12 May 2011 13:18:45 -0400
To: mira-development@lists.sourceforge.net
Subject: Re: [Mira-development] MsgLogout .h missing
Did you do "make clean" ?
On Thu, May 12, 2011 at 12:55 PM, Shilpa Sodani <sa_sod...@hotmail.com> wrote:
Hello Alan,
I updated local branch and it's revno is 262. I am getting following error
while doing "make mira"
shilpa@ubuntu:~/mira-dev/protocol-buffer/build-server$ make mira
Scanning dependencies of target mira
[100%] Building CXX object
CMakeFiles/mira.dir/src/utilities/libmira-utility/MiraUtility.cpp.o
Linking CXX shared library bin/libmira.so
/usr/bin/ld: /usr/local/lib/libboost_system.a(error_code.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared
object; recompile with -fPIC
/usr/local/lib/libboost_system.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [bin/libmira.so] Error 1
make[2]: *** [CMakeFiles/mira.dir/all] Error 2
make[1]: *** [CMakeFiles/mira.dir/rule] Error 2
make: *** [mira] Error 2
How can I fix this?
Thanks,
Shilpa Sodani.
From: sa_sod...@hotmail.com
To: mira-development@lists.sourceforge.net
Date: Thu, 12 May 2011 09:33:55 -0700
Subject: Re: [Mira-development] MsgLogout .h missing
Thank you. I will update the local branch and see if everything works fine.
Thanks,
Shilpa Sodani.
From: aalva...@aliensoft.net
Date: Thu, 12 May 2011 10:38:43 -0400
To: mira-development@lists.sourceforge.net
Subject: Re: [Mira-development] MsgLogout .h missing
Hello Shilpa,
Just to let you know I've pushed the MsgLogout.h file
On Wed, May 11, 2011 at 12:16 PM, Shilpa Sodani <sa_sod...@hotmail.com> wrote:
Ok. I will comment the code that uses MsgLogout and continue the work.
Thanks,
Shilpa Sodani.
On May 11, 2011, at 7:40 AM, Alan Alvarez <aalva...@aliensoft.net>
wrote:
> Hello Shilpa,
>
> I just changed laptops a few days ago and I'm having trouble
> recovering the backup I did before the change. Which is where that
> file is. I'll upload the file once I recover it. Probably today or
> tomorrow.
>
> On 5/11/11, Shilpa Sodani <sa_sod...@hotmail.com> wrote:
>>
>> Hello Alan,
>>
>> I am trying to build mira-server for branch login-system. While
>> doing cmake
>> I am getting error,
>>
>> CMake Error at CMakeLists.txt:89 (ADD_EXECUTABLE):
>> Cannot find source file:
>>
>> include/network/messages/MsgLogout.h
>>
>> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h+
>> + .hm .hpp
>> .hxx .in .txx
>>
>> Can you please upload the MsgLogout.h file?
>>
>>
>> Thank you.
>> Shilpa Sodani.
>>
>
> --
> Sent from my mobile device
>
> regards,
>
> Alan Alvarez
>
> ---
> ---
> ---
> ---------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Mira-development mailing list
> Mira-development@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mira-development
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development
--
regards,
Alan Alvarez
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development
--
regards,
Alan Alvarez
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Mira-development mailing list
Mira-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mira-development