mhutch / cbinding

Updated MonoDevelop C/C++ binding
22 stars 43 forks source link

Building fails on Ubuntu 16.04 #9

Open fusion809 opened 8 years ago

fusion809 commented 8 years ago

Hi,

I git cloned this repository, updated its submodules (with git submodule update --init --recursive) and ran make from within its top-level directory, giving the error message:

nuget restore
All packages listed in packages.config are already installed.
xbuild /p:Configuration=Debug 
XBuild Engine Version 12.0
Mono, Version 4.2.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 21/09/2016 5:04:26 PM.
__________________________________________________
Project "/home/fusion809/GitHub/others/cbinding/CBinding.sln" (default target(s)):
        Target ValidateSolutionConfiguration:
                Building solution configuration "Debug|Any CPU".
        Target Build:
                Project "/home/fusion809/GitHub/others/cbinding/CBinding/CBinding.csproj" (default target(s)):
                        Target ResolveMonoDevelopLocations:
                                MDConfigDir:   /home/fusion809/.config/MonoDevelop-5.0
                                MDAddinsDir:   /home/fusion809/.local/share/MonoDevelop-5.0/LocalInstall
                                MDBinDir:      ../../monodevelop/main/build/bin
/home/fusion809/GitHub/others/cbinding/packages/MonoDevelop.Addins.0.3.0/build/net40/MonoDevelop.Addins.targets: error : Bin directory not found: 
                        Task "Error" execution -- FAILED
                        Done building target "ResolveMonoDevelopLocations" in project "/home/fusion809/GitHub/others/cbinding/CBinding/CBinding.csproj".-- FAILED
                Done building project "/home/fusion809/GitHub/others/cbinding/CBinding/CBinding.csproj".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "Build" in project "/home/fusion809/GitHub/others/cbinding/CBinding.sln".-- FAILED
Done building project "/home/fusion809/GitHub/others/cbinding/CBinding.sln".-- FAILED

Build FAILED.
Errors:

/home/fusion809/GitHub/others/cbinding/CBinding.sln (default targets) ->
(Build target) ->
/home/fusion809/GitHub/others/cbinding/CBinding/CBinding.csproj (default targets) ->
/home/fusion809/GitHub/others/cbinding/packages/MonoDevelop.Addins.0.3.0/build/net40/MonoDevelop.Addins.targets (ResolveMonoDevelopLocations target) ->

        /home/fusion809/GitHub/others/cbinding/packages/MonoDevelop.Addins.0.3.0/build/net40/MonoDevelop.Addins.targets: error : Bin directory not found: 

         0 Warning(s)
         1 Error(s)

Time Elapsed 00:00:00.2124490
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 1

Am I missing something here? Is there something I am meant to be doing?

Thanks for your time, Brenton

fusion809 commented 8 years ago

Running make install also fails giving the error:

nuget restore
All packages listed in packages.config are already installed.
xbuild /p:InstallAddin=True /p:Configuration=Debug 
XBuild Engine Version 12.0
Mono, Version 4.2.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 21/09/2016 5:18:54 PM.
__________________________________________________
Project "/home/fusion809/GitHub/others/cbinding/CBinding.sln" (default target(s)):
        Target ValidateSolutionConfiguration:
                Building solution configuration "Debug|Any CPU".
        Target Build:
                Project "/home/fusion809/GitHub/others/cbinding/CBinding/CBinding.csproj" (default target(s)):
                        Target ResolveMonoDevelopLocations:
                                MDConfigDir:   /home/fusion809/.config/MonoDevelop-5.0
                                MDAddinsDir:   /home/fusion809/.local/share/MonoDevelop-5.0/LocalInstall
                                MDBinDir:      ../../monodevelop/main/build/bin
/home/fusion809/GitHub/others/cbinding/packages/MonoDevelop.Addins.0.3.0/build/net40/MonoDevelop.Addins.targets: error : Bin directory not found: 
                        Task "Error" execution -- FAILED
                        Done building target "ResolveMonoDevelopLocations" in project "/home/fusion809/GitHub/others/cbinding/CBinding/CBinding.csproj".-- FAILED
                Done building project "/home/fusion809/GitHub/others/cbinding/CBinding/CBinding.csproj".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "Build" in project "/home/fusion809/GitHub/others/cbinding/CBinding.sln".-- FAILED
Done building project "/home/fusion809/GitHub/others/cbinding/CBinding.sln".-- FAILED

Build FAILED.
Errors:

/home/fusion809/GitHub/others/cbinding/CBinding.sln (default targets) ->
(Build target) ->
/home/fusion809/GitHub/others/cbinding/CBinding/CBinding.csproj (default targets) ->
/home/fusion809/GitHub/others/cbinding/packages/MonoDevelop.Addins.0.3.0/build/net40/MonoDevelop.Addins.targets (ResolveMonoDevelopLocations target) ->

        /home/fusion809/GitHub/others/cbinding/packages/MonoDevelop.Addins.0.3.0/build/net40/MonoDevelop.Addins.targets: error : Bin directory not found: 

         0 Warning(s)
         1 Error(s)

Time Elapsed 00:00:00.2109120
Makefile:10: recipe for target 'install' failed
make: *** [install] Error 1