Re: [opensource-dev] Snowglobe 2.0 sync with Viewer 2.0

2010-04-08 Thread Lynx Linden
This is a problem with the packaged boost headers - they don't seem to
compile on Linux under gcc 4.x. I've attached a patch for the
libraries/include/boost/coroutine/detail/{coroutine_impl.hpp,posix_utility.hpp}
files that should get you going in the short term.

Ultimately though we should build a new version of the boost package
with that patch applied to it. Filing a JIRA to track this would be
great.

Cheers,

Lynx.



On Thu, Apr 8, 2010 at 2:22 AM, Dzonatas Sol  wrote:
> I just checked out revision 3313 from
> https://svn.secondlife.com/svn/linden/projects/2010/snowglobe/trunk
>
> After plain  ./develop.py with no options , i got an error
>
> $ make
> [  0%] Built target cmake
> [  0%] Built target llaudio
> [  3%] Built target stage_third_party_libs
> [  3%] Built target llcommon_tests
> [  3%] Building CXX object llcommon/CMakeFiles/llcommon.dir/llcoros.o
> In file included from
> /home/dzonatas/workspace/snowglobe.2.0/indra/../libraries/include/boost/coroutine/coroutine.hpp:44,
>                 from
> /home/dzonatas/workspace/snowglobe.2.0/indra/llcommon/llcoros.h:39,
>                 from
> /home/dzonatas/workspace/snowglobe.2.0/indra/llcommon/llcoros.cpp:39:
> /home/dzonatas/workspace/snowglobe.2.0/indra/../libraries/include/boost/coroutine/detail/coroutine_impl.hpp:59:
> error: declaration of 'typedef class
> boost::coroutines::detail::context_base
> boost::coroutines::detail::coroutine_impl ContextImpl>::context_base'
> /home/dzonatas/workspace/snowglobe.2.0/indra/../libraries/include/boost/coroutine/detail/context_base.hpp:55:
> error: changes meaning of 'context_base' from 'class
> boost::coroutines::detail::context_base'
> make[2]: *** [llcommon/CMakeFiles/llcommon.dir/llcoros.o] Error 1
> make[1]: *** [llcommon/CMakeFiles/llcommon.dir/all] Error 2
> make: *** [all] Error 2
>
>
> Haven't fully tracked this one down, so didn't file a jira.
>
>
> Philippe (Merov) Bossut wrote:
>> Hi all,
>>
>> Yes, there were a bunch of missed added files and other issues that
>> actually made the repository not complete, and therefore, not
>> buildable. I did a serie of commits today to fix that. I've been able
>> to build on Mac and Windows at least.
>>
>> Now, I'm still working on fixing the opensrc-build.sh script which is
>> used to produced the binaries. I hope to get build to pass on
>> Parabuild for Mac and Windows shortly.
>>
>> Thanks for your patience.
>>
>> Cheers,
>> - Merov
>> 
>>
>> ___
>> Policies and (un)subscribe information available here:
>> http://wiki.secondlife.com/wiki/OpenSource-Dev
>> Please read the policies before posting to keep unmoderated posting 
>> privileges
>
> ___
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting privileges
>
diff -u -r old/boost/coroutine/detail/coroutine_impl.hpp 
new/boost/coroutine/detail/coroutine_impl.hpp
--- old/boost/coroutine/detail/coroutine_impl.hpp   2009-10-20 
17:10:02.0 +0100
+++ new/boost/coroutine/detail/coroutine_impl.hpp   2009-10-20 
19:22:11.0 +0100
@@ -56,7 +56,7 @@
 typedef ContextImpl context_impl;
 typedef CoroutineType coroutine_type;
 typedef coroutine_impl type;
-typedef context_base context_base;
+typedef context_base context_base_type;
 typedef typename coroutine_type::arg_slot_type arg_slot_type;
 typedef typename coroutine_type::result_type result_type;
 typedef typename coroutine_type::result_slot_type result_slot_type;
@@ -65,7 +65,7 @@
   
 template
coroutine_impl(DerivedType * this_, std::ptrdiff_t stack_size) :
-  context_base(*this_, stack_size),
+  context_base_type(*this_, stack_size),
m_arg(0),
m_result(0){}
 
diff -u -r old/boost/coroutine/detail/posix_utility.hpp 
new/boost/coroutine/detail/posix_utility.hpp
--- old/boost/coroutine/detail/posix_utility.hpp2009-04-24 
21:30:44.0 +0100
+++ new/boost/coroutine/detail/posix_utility.hpp2009-10-20 
19:21:27.0 +0100
@@ -39,6 +39,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #if defined(_POSIX_MAPPED_FILES) && _POSIX_MAPPED_FILES > 0
 #include 

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] trying to get a mod working

2010-04-21 Thread Lynx Linden
> 94>..\..\newview\lllogchat.cpp(196) : error C2065: 'ostringstream' : 
> undeclared identifier

This suggests that you need to add:

#include 

Cheers,

Lynx.
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] Code Style Guide

2010-05-27 Thread Lynx Linden
http://wiki.secondlife.com/wiki/Coding_standard

On Thu, May 27, 2010 at 4:02 AM, Nicky Perian  wrote:
> Can someone point me to a code style guide. I saw it sometime back but, I
> have searched and been unable to find.
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges