<div dir="ltr">Compile.bat hasn't worked for me for years. I suspect it may be sensitive to having multiple compilers and/or framework versions installed. I just open the .sln file in Visual Studio and compile it there. Lately I've been using the new Community version of Visual Studio 2013 with excellent results.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 29, 2014 at 11:10 PM, Thomas Ringate <span dir="ltr"><<a href="mailto:tringate@gmail.com" target="_blank">tringate@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-SIZE:12pt;FONT-FAMILY:'Calibri';COLOR:#000000">
<div>I feel like a dummy needing to ask this question but after searching the
forums and reading the simple instructions I believe I am missing something
rather basic.</div>
<div> </div>
<div>I had done this often back a year and a half ago, where I downloaded the
.ZIP file from the github, unpacked it’s contents into a “build” directory and
ran a .bat file that ended up generating a new bin folder I used for testing on
my development system.</div>
<div> </div>
<div>I know I had edited the .bat file I used, to do a few extra things like
copy in my .ini files etc, save the old bin folder, and move the new bin folder
in place.</div>
<div> </div>
<div>My problem is I long ago deleted that file and the environment I used for
making those builds.</div>
<div> </div>
<div>I read the build instructions and is looks very simple to run. First
run the “runprebuild.bat” which results in the “compile.bat” to run which should
end up with the new bin folder containing the basic set of files for
opensim.</div>
<div> </div>
<div>My problem is the bin folder does end up with several new compiled files
but there are a few errors along the way, and there is no opensim.exe file to
run.</div>
<div> </div>
<div>.NET 4.5.1, Visual Studio 2010 x64, and Visual Studio 2012 x64
Redistribution are all installed on my windows 8.1 system which I believe is
what was on it back when I was doing this before.</div>
<div> </div>
<div>What obvious step am I missing?</div>
<div> </div>
<div>I kind of remember having to build several temporary directories in the old
way I did this. I thought I found an example of the .bat in some “how to”
tutorial on either opensim or osgrid fourms but nothing turns up when I search
now.</div>
<div> </div>
<div>Here is the end of the compile output showing the last 2 errors and two of
the warnings.</div>
<div> </div>
<div>I tried to reinstall the .NET 4.0 SDK which did run but ended with
errors. It said it successfully uninstalled the SDK but then failed to
reinstall it for reasons only Bill Gates can figure out I think. The only
major thing I have done to this system over the past 1.5 years was change to an
SSD drive and upgrade to windows 8.1 from windows 8.0</div>
<div> </div>
<div>"C:\opensim\build\opensim\opensim.sln" (default target) (1) -></div>
<div>"C:\opensim\build\opensim\OpenSim\Tests\Clients\Presence\OpenSim.Tests.Clients.</div>
<div>PresenceClient.csproj" (default target) (89) -></div>
<div>(GetReferenceAssemblyPaths target) -></div>
<div>
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(983,</div>
<div>5): warning MSB3644: The reference assemblies for framework
".NETFramework,Vers</div>
<div>ion=v4.0" were not found. To resolve this, install the SDK or Targeting
Pack fo</div>
<div>r this framework version or retarget your application to a version of the
frame</div>
<div>work for which you have the SDK or Targeting Pack installed. Note that
assembli</div>
<div>es will be resolved from the Global Assembly Cache (GAC) and will be used
in pl</div>
<div>ace of reference assemblies. Therefore your assembly may not be correctly
targe</div>
<div>ted for the framework you intend.
[C:\opensim\build\opensim\OpenSim\Tests\Clien</div>
<div>ts\Presence\OpenSim.Tests.Clients.PresenceClient.csproj]</div>
<div> </div>
<div> </div>
<div>"C:\opensim\build\opensim\opensim.sln" (default target) (1) -></div>
<div>"C:\opensim\build\opensim\OpenSim\Tests\Clients\Presence\OpenSim.Tests.Clients.</div>
<div>PresenceClient.csproj" (default target) (89) -></div>
<div>(ResolveAssemblyReferences target) -></div>
<div>
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605</div>
<div>,5): warning MSB3247: Found conflicts between different versions of the
same de</div>
<div>pendent assembly.
[C:\opensim\build\opensim\OpenSim\Tests\Clients\Presence\Open</div>
<div>Sim.Tests.Clients.PresenceClient.csproj]</div>
<div>
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605</div>
<div>,5): warning MSB3270: There was a mismatch between the processor
architecture o</div>
<div>f the project being built "MSIL" and the processor architecture of the
referenc</div>
<div>e "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll", "AMD64".
This</div>
<div>mismatch may cause runtime failures. Please consider changing the targeted
pro</div>
<div>cessor architecture of your project through the Configuration Manager so as
to</div>
<div>align the processor architectures between your project and references, or
take</div>
<div>a dependency on references with a processor architecture that matches the
targe</div>
<div>ted processor architecture of your project.
[C:\opensim\build\opensim\OpenSim\T</div>
<div>ests\Clients\Presence\OpenSim.Tests.Clients.PresenceClient.csproj]</div>
<div> </div>
<div>(ResolveAssemblyReferences target) -></div>
<div>
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605</div>
<div>,5): warning MSB3247: Found conflicts between different versions of the
same de</div>
<div>pendent assembly.
[C:\opensim\build\opensim\OpenSim\Server\Robust.csproj]</div>
<div>
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605</div>
<div>,5): warning MSB3270: There was a mismatch between the processor
architecture o</div>
<div>f the project being built "MSIL" and the processor architecture of the
referenc</div>
<div>e "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll", "AMD64".
This</div>
<div>mismatch may cause runtime failures. Please consider changing the targeted
pro</div>
<div>cessor architecture of your project through the Configuration Manager so as
to</div>
<div>align the processor architectures between your project and references, or
take</div>
<div>a dependency on references with a processor architecture that matches the
targe</div>
<div>ted processor architecture of your project.
[C:\opensim\build\opensim\OpenSim\S</div>
<div>erver\Robust.csproj]</div>
<div> </div>
<div> </div>
<div>"C:\opensim\build\opensim\opensim.sln" (default target) (1) -></div>
<div>"C:\opensim\build\opensim\OpenSim\Region\Application\OpenSim.csproj"
(default t</div>
<div>arget) (2) -></div>
<div>"C:\opensim\build\opensim\OpenSim\Region\CoreModules\OpenSim.Region.CoreModules</div>
<div>.csproj" (default target) (18) -></div>
<div>(CoreCompile target) -></div>
<div> Avatar\Inventory\Archiver\InventoryArchiveWriteRequest.cs(123,101):
error CS0</div>
<div>104: 'CompressionLevel' is an ambiguous reference between
'System.IO.Compressio</div>
<div>n.CompressionLevel' and 'Ionic.Zlib.CompressionLevel'
[C:\opensim\build\opensim</div>
<div>\OpenSim\Region\CoreModules\OpenSim.Region.CoreModules.csproj]</div>
<div> Avatar\Inventory\Archiver\InventoryArchiveWriteRequest.cs(123,118):
error CS0</div>
<div>117: 'System.IO.Compression.CompressionLevel' does not contain a definition
for</div>
<div>'BestCompression'
[C:\opensim\build\opensim\OpenSim\Region\CoreModules\OpenSim</div>
<div>.Region.CoreModules.csproj]</div>
<div> World\Archiver\ArchiveWriteRequest.cs(104,116): error CS0104:
'CompressionLev</div>
<div>el' is an ambiguous reference between
'System.IO.Compression.CompressionLevel'</div>
<div>and 'Ionic.Zlib.CompressionLevel'
[C:\opensim\build\opensim\OpenSim\Region\Core</div>
<div>Modules\OpenSim.Region.CoreModules.csproj]</div>
<div> World\Archiver\ArchiveWriteRequest.cs(104,133): error CS0117:
'System.IO.Comp</div>
<div>ression.CompressionLevel' does not contain a definition for
'BestCompression' [</div>
<div>C:\opensim\build\opensim\OpenSim\Region\CoreModules\OpenSim.Region.CoreModules.</div>
<div>csproj]</div>
<div> </div>
<div> 196 Warning(s)</div>
<div> 4 Error(s)</div>
<div> </div>
<div>Time Elapsed 00:00:39.56</div>
<div> </div>
<div>C:\opensim\build\opensim></div>
<div> </div>
<div>Tom</div></div></div></div>
<br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@opensimulator.org">Opensim-users@opensimulator.org</a><br>
<a href="http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users" target="_blank">http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users</a><br>
<br></blockquote></div><br></div>