Unable to compile. Am i wasting my time with this?

Mar 2, 2013 at 5:22 AM
Downloaded the source code and tried to compile. Unsuccessfull. Compile using build.cmd All.

Here are the results from console
NAnt 0.91 (Build 0.91.3801.0; alpha1; 5/29/2010)
Copyright (C) 2001-2010 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///R:/My Documents/Visual Studio 2012/Projects/balder_4ee4dbd239
18/Build/Balder.build
Target framework: Microsoft .NET Framework 4.0
Target(s) specified: All


All:

     [echo] Building version : 0.0.0.0
     [echo] Will deploy to CodePlex : True

Configure:


ConfigureRelease:


WindowsPhone7:

 [property] Target framework changed to "Microsoft Silverlight 4.0 Windows Phone
 7".

ConfigureWindowsPhone7Platform:


Configure:


ConfigureRelease:


Core:

    [mkdir] Creating directory 'R:\My Documents\Visual Studio 2012\Projects\bald
er_4ee4dbd23918\Drop\Silverlight3'.
      [csc] Compiling 344 files to 'R:\My Documents\Visual Studio 2012\Projects\
balder_4ee4dbd23918\Drop\Silverlight3\Balder.dll'.
      [csc] r:\My Documents\Visual Studio 2012\Projects\balder_4ee4dbd23918\Sour
ce\Balder\Display\Viewport.cs(42,23): error CS1514: { expected
      [csc] r:\My Documents\Visual Studio 2012\Projects\balder_4ee4dbd23918\Sour
ce\Balder\Display\Viewport.cs(45,2): error CS1519: Invalid token '{' in class, s
truct, or interface member declaration
      [csc] r:\My Documents\Visual Studio 2012\Projects\balder_4ee4dbd23918\Sour
ce\Balder\Objects\Skybox.cs(40,21): error CS1514: { expected
      [csc] r:\My Documents\Visual Studio 2012\Projects\balder_4ee4dbd23918\Sour
ce\Balder\Objects\Skybox.cs(43,2): error CS1519: Invalid token '{' in class, str
uct, or interface member declaration
      [csc] r:\My Documents\Visual Studio 2012\Projects\balder_4ee4dbd23918\Sour
ce\Balder\Scene.cs(44,20): error CS1514: { expected
      [csc] r:\My Documents\Visual Studio 2012\Projects\balder_4ee4dbd23918\Sour
ce\Balder\Scene.cs(47,2): error CS1519: Invalid token '{' in class, struct, or i
nterface member declaration

BUILD FAILED

R:\My Documents\Visual Studio 2012\Projects\balder_4ee4dbd23918\Build\Balder.bui
ld(88,4):
External Program Failed: C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe (return
 code was 1)

Total time: 2.2 seconds.

Press any key to continue . . .
Coordinator
Mar 3, 2013 at 2:05 PM
Hi,
Suggest you open the SampleBrowser solution and compile from that.
We will probably remove the Nant build as we are simplifying both the source and the entire project.

Hope that helps.

Also, we're working on some serious optimizations and will have a binary drop of the Software rendered version.
Feb 7, 2014 at 11:29 PM
I downloaded the recent Balder source. I would like to compile it with VS 2012, but in this project there is almost no single solution that works. I am wondering, what is going wrong? There are missing files, e.g., (in Balder_Xna.sln):
Source file 'Execution\PropertyDescriptor.cs' could not be found    G:\Projects\Samples\balder_4ee4dbd23918\Source\Balder\CSC   Balder.Xna
There are some broken post-events, missing references, etc. (in Samplebrowser.Silverlight5.sln)
Error   1   The command "cd G:\Projects\Samples\balder_4ee4dbd23918\Source\Balder\
cmd /C CompileShaders.cmd" exited with code 9009.   Balder.Silverlight5
Error   15  The type or namespace name 'TabControl' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?)  G:\Projects\Samples\balder_4ee4dbd23918\Source\Balder.Silverlight.SampleBrowser\obj\Debug\MainPage.g.cs 41  42  Balder.Silverlight.SampleBrowser5
Error   16  The type or namespace name 'TabItem' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) G:\Projects\Samples\balder_4ee4dbd23918\Source\Balder.Silverlight.SampleBrowser\obj\Debug\MainPage.g.cs 43  42  Balder.Silverlight.SampleBrowser5
Error   17  The type or namespace name 'Frame' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?)   G:\Projects\Samples\balder_4ee4dbd23918\Source\Balder.Silverlight.SampleBrowser\obj\Debug\MainPage.g.cs 45  42  Balder.Silverlight.SampleBrowser5
Error   18  The type or namespace name 'UriMapper' could not be found (are you missing a using directive or an assembly reference?) G:\Projects\Samples\balder_4ee4dbd23918\Source\Balder.Silverlight.SampleBrowser\App.xaml.cs 49  10  Balder.Silverlight.SampleBrowser5
Coordinator
Feb 10, 2014 at 12:21 PM
Edited Feb 10, 2014 at 12:34 PM
Hi,
I'm afraid you are wasting your time, unfortunately :(
The XNA and SL5 HW accelerated version pretty much ended up being a lot of work and when Microsoft made the security so tight in Silverlight running in a browser and also the fact that 3D became Windows only, I felt it got to be way too much work for something that a few would be using.

Time for me has been hard, so Balder has not received my attention for a while. Did however optimize the pipeline quite a bit and the software rendering, but it sits in a different branch; Optimizations.

Sorry I don't have more time for Balder these days.. Its been with me for quite a few years now, and I would love to revitalize it - although it would probably mean moving away from Silverlight and onto the Web with WebGL and such, maybe have the Silverlight rendering engine as a polyfill for WebGL in browsers that don't have it. That would be my dream - until I get yanked back to reality and have to go to work and stuff. :)
Feb 10, 2014 at 5:07 PM
Edited Feb 10, 2014 at 5:08 PM
Thanks for the answer. Well, I see, SL is going to be more or less abandoned.