[Opensim-users] Opensim compile error under Mono 2.10

James Stallings II james.stallings at gmail.com
Thu Apr 3 23:05:20 UTC 2014


Xbuild is definitely to be preferred IMHO


On Thu, Apr 3, 2014 at 5:38 PM, Justin Clark-Casey <jjustincc at googlemail.com
> wrote:

> That shouldn't be necessary - the build should be using Mono 4.0 Profile
> automatically.
>
> Try checking nant - it could be that your version is too old to recognize
> the Mono 4.0 Profile framework.  The one I'm currently using on my Ubuntu
> 13.04 is NAnt 0.92 (Build 0.92.4526.0; rc1; 23/05/2012), which admittedly
> is a few years old now.
>
> Another sanity check - have you run ./runprebuild.sh and "nant clean
> build" recently?  The new profile settings would not be updated until then
> but I'm guessing you have since OpenSimulator would very probably not have
> compiled otherwise.  Still, I would recommend downloading the source tree
> to a fresh directory and trying that if you haven't already.
>
> Finally, what happens if you use mono's bundled "xbuild" tool to perform
> the compile instead of nant?  xbuild will use different project files to
> compile so may pick up the right framework where nant is not, which would
> narrow things down.
>
>
> On 03/04/14 15:29, Ken Hall wrote:
>
>> I just run what comes with the tarball, would have been nice if someone
>> had
>> either fixed the nant script or documented that.
>>
>> Or is there a default somewhere in Mono I can set?  This is the only thing
>> Mono is used for on this box.
>>
>>
>>
>> -----Original Message-----
>> From: opensim-users-bounces at lists.berlios.de
>> [mailto:opensim-users-bounces at lists.berlios.de] On Behalf Of Oren Hurvitz
>> Sent: Thursday, April 03, 2014 1:31 AM
>> To: opensim-users at lists.berlios.de
>> Subject: Re: [Opensim-users] Opensim compile error under Mono 2.10
>>
>> The problem is that you're compiling with a target of .NET 2.0, and you
>> need
>> to change the target to .NET 4.0. See this line in the compiler output:
>>
>>     Target framework: Mono 2.0 Profile
>>
>> Here's a command-line option that might make Mono use the correct profile
>> (but I haven't tried this):
>>
>>    --with-profile4=yes
>>
>> (From:
>> http://mono-project.com/Unsupported_Advanced_Mono_
>> Compile_Options#Controllin
>> g_the_Profile_to_Build
>> )
>>
>>
>>
>> --
>> View this message in context:
>> http://opensim-users.2152040.n2.nabble.com/Opensim-compile-
>> error-under-Mono-
>> 2-10-tp7581212p7581228.html
>> Sent from the opensim-users mailing list archive at Nabble.com.
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>>
>> _______________________________________________
>> Opensim-users mailing list
>> Opensim-users at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>> .
>>
>>
>
> --
> Justin Clark-Casey (justincc)
> OSVW Consulting
> http://justincc.org
> http://twitter.com/justincc
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>



-- 
===================================
http://osgrid.org/
http://simhost.com
http://twitter.com/jstallings2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20140403/78e6a554/attachment.html>


More information about the Opensim-users mailing list