building on Windows

View: New views
4 Messages — Rating Filter:   Alert me  

building on Windows

by gabaug :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey everybody,

If you want to help us get a release for Windows ready, you can now
build Banshee on Windows without too much pain.

I wrote up the steps you need to take here:

http://banshee-project.org/download/development#windows

Let me know what success (or not) you have.  You can find the
Windows-specific bugs we already know about here:

http://bugzilla.gnome.org/buglist.cgi?query=product%3Abanshee%20os%3Awindows

Thanks!

Gabriel
_______________________________________________
banshee-list mailing list
banshee-list@...
http://mail.gnome.org/mailman/listinfo/banshee-list

Re: building on Windows

by Fergal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Great article Gabriel, thanks.
When I run git pull in the /banshee directory though I get

Updating 80c83bc..9270fc6
error: Entry 'po/he.po' not uptodate. Cannot merge.

I'm afraid I'm not too familiar with git, so I've no idea how to get around this.
git pull works fine in the /banshee/bin directory though.

Re: building on Windows

by Ruud v A :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I downloaded and tested, first I had problems compiling. You have to install the Mono libraries for .NET as well, which you can find at the MonoDevelop site at the Windows section.

Nereid did comile and run, but then I got this exception:

An unhandled exception was thrown: Kan DLL libbanshee.dll niet laden: Kan opgegeven procedure niet vinden. (Uitzondering van HRESULT: 0x8007007F)

   bij Banshee.GStreamer.PlayerEngine.bp_new()

   bij Banshee.GStreamer.PlayerEngine..ctor() in E:\banshee\src\Backends\Banshee.GStreamer\Banshee.GStreamer\PlayerEngine.cs:regel 119
Het doel van een aanroep heeft een uitzondering veroorzaakt.

   bij System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)

   bij System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)

   bij System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)

   bij System.Activator.CreateInstance(Type type, Boolean nonPublic)

   bij System.Activator.CreateInstance(Type type)

   bij Mono.Addins.TypeExtensionNode.CreateInstance()

   bij Mono.Addins.InstanceExtensionNode.CreateInstance(Type expectedType)

   bij Banshee.MediaEngine.PlayerEngineService.LoadEngine(TypeExtensionNode node) in E:\banshee\src\Core\Banshee.Services\Banshee.MediaEngine\PlayerEngineService.cs:regel 147

   bij Banshee.MediaEngine.PlayerEngineService.Banshee.ServiceStack.IInitializeService.Initialize() in E:\banshee\src\Core\Banshee.Services\Banshee.MediaEngine\PlayerEngineService.cs:regel 93

   bij Banshee.ServiceStack.ServiceManager.RegisterService(Type type) in E:\banshee\src\Core\Banshee.Services\Banshee.ServiceStack\ServiceManager.cs:regel 177

   bij Banshee.ServiceStack.ServiceManager.Run() in E:\banshee\src\Core\Banshee.Services\Banshee.ServiceStack\ServiceManager.cs:regel 129

   bij Banshee.ServiceStack.Application.Run() in E:\banshee\src\Core\Banshee.Services\Banshee.ServiceStack\Application.cs:regel 90

   bij Banshee.Gui.GtkBaseClient.Initialize(Boolean registerCommonServices) in E:\banshee\src\Core\Banshee.ThickClient\Banshee.Gui\GtkBaseClient.cs:regel 135

   bij Banshee.Gui.GtkBaseClient..ctor(Boolean initializeDefault, String defaultIconName) in E:\banshee\src\Core\Banshee.ThickClient\Banshee.Gui\GtkBaseClient.cs:regel 87

   bij Banshee.Gui.GtkBaseClient..ctor() in E:\banshee\src\Core\Banshee.ThickClient\Banshee.Gui\GtkBaseClient.cs:regel 79

   bij Nereid.Client..ctor()
Het doel van een aanroep heeft een uitzondering veroorzaakt.

   bij System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)

   bij System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)

   bij System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)

   bij System.Activator.CreateInstance(Type type, Boolean nonPublic)

   bij System.Activator.CreateInstance(Type type)

   bij Banshee.Gui.GtkBaseClient.Startup() in E:\banshee\src\Core\Banshee.ThickClient\Banshee.Gui\GtkBaseClient.cs:regel 74

   bij Hyena.Gui.CleanRoomStartup.Startup(StartupInvocationHandler startup) in E:\banshee\src\Libraries\Hyena.Gui\Hyena.Gui\CleanRoomStartup.cs:regel 54

.NET Version: 2.0.50727.3074
OS Version: Microsoft Windows NT 6.0.6001 Service Pack 1

Assembly Version Information:

mscorlib (2.0.0.0)
Microsoft.VisualStudio.HostingProcess.Utilities (9.0.0.0)
System.Windows.Forms (2.0.0.0)
System (2.0.0.0)
System.Drawing (2.0.0.0)
Microsoft.VisualStudio.HostingProcess.Utilities.Sync (9.0.0.0)
Microsoft.VisualStudio.Debugger.Runtime (9.0.0.0)
vshost32 (9.0.0.0)
mscorlib.resources (2.0.0.0)
atk-sharp (2.12.0.0)
gdk-sharp (2.12.0.0)
glib-sharp (2.12.0.0)
gtk-sharp (2.12.0.0)
Mono.Posix (2.0.0.0)
pango-sharp (2.12.0.0)
Nereid (0.0.0.0)
Banshee.ThickClient (0.0.0.0)
Banshee.Services (0.0.0.0)
Banshee.Core (0.0.0.0)
Hyena (0.0.0.0)
Hyena.Gui (0.0.0.0)
Mono.Addins (0.4.0.0)
System.Xml (2.0.0.0)
NDesk.DBus (1.0.0.0)
NDesk.DBus.GLib (1.0.0.0)
Mono.Data.Sqlite (0.0.0.0)
System.Data (2.0.0.0)
System.Transactions (2.0.0.0)
System.Core (3.5.0.0)
System.Configuration (2.0.0.0)
System.EnterpriseServices (2.0.0.0)
Banshee.GStreamer (0.0.0.0)

It basically means it can't find libbanshee.dll. That's right, because VS couldn't load it because it didn't recognise .cproj. I opened the .sln in the libbanshee folder, but I couldn't build it because I don't have gstreamer (could not include gst/gst.h). It also fails to include config.h but I could swith it off with the preprocessor. Then it also misses glib and more gst.

Re: building on Windows

by Chris Howie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jul 6, 2009 at 5:02 AM, Fergal <fergal.moran@...> wrote:
> Great article Gabriel, thanks.
> When I run git pull in the /banshee directory though I get
>
> Updating 80c83bc..9270fc6
> error: Entry 'po/he.po' not uptodate. Cannot merge.
>
> I'm afraid I'm not too familiar with git, so I've no idea how to get around
> this.
> git pull works fine in the /banshee/bin directory though.

This means that the named file has been changed in your local copy,
but has not been committed locally.  In other words, your working copy
is dirty.

"git reset --hard" will revert all changes to your working copy.  Then
you should be able to "git pull" successfully.

--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
_______________________________________________
banshee-list mailing list
banshee-list@...
http://mail.gnome.org/mailman/listinfo/banshee-list