Skip to content

Unable to Build with Fedora #456

Description

@HarlemSquirrel

I am trying to build with Fedora but run into the following errors. I seem to be missing some files but do not see them in the Git repository and I tried deleting all my files and cloning again but keep getting stuck here.

$ nuget restore MatterControl/MatterControl.slnWARNING: Project file /home/hs/MatterDevelop/MatterControl/../MatterControlAuth/MatterControlAuth/MatterControlAuth.csproj cannot be found.
WARNING: Project file /home/hs/MatterDevelop/MatterControl/../MatterControlPictureCreator/PictureCreator/PictureCreator.csproj cannot be found.
WARNING: Project file /home/hs/MatterDevelop/MatterControl/../CloudServicesPlugin/CloudServices/CloudServices.csproj cannot be found.
WARNING: Project file /home/hs/MatterDevelop/MatterControl/../CloudServicesPlugin/PrintNotifications/PrintNotifications.csproj cannot be found.
WARNING: Project file /home/hs/MatterDevelop/MatterControl/../X3GDriver/X3GDriver/X3GDriver.csproj cannot be found.
WARNING: Project file /home/hs/MatterDevelop/MatterControl/../CloudServicesPlugin/Mono.Nat/Mono.Nat.csproj cannot be found.
WARNING: Project file /home/hs/MatterDevelop/MatterControl/../CloudServicesPlugin/CloudServices.Tests/CloudServices.Tests.csproj cannot be found.
All packages listed in packages.config are already installed.

And then when I try to build anyway...

$ xbuild MatterControl/MatterControl.slnXBuild Engine Version 12.0
Mono, Version 4.0.5.0
Copyright (C) 2005-2013 Various Mono authors

Build started 11/15/2015 8:24:04 AM.
__________________________________________________
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/MatterControlAuth/MatterControlAuth/MatterControlAuth.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/MatterControlPictureCreator/PictureCreator/PictureCreator.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/CloudServicesPlugin/CloudServices/CloudServices.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/CloudServicesPlugin/PrintNotifications/PrintNotifications.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/X3GDriver/X3GDriver/X3GDriver.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/CloudServicesPlugin/Mono.Nat/Mono.Nat.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/CloudServicesPlugin/CloudServices.Tests/CloudServices.Tests.csproj referenced in the solution file, not found. Ignoring.
Project "/home/hs/MatterDevelop/MatterControl/MatterControl.sln" (default target(s)):
    Target ValidateSolutionConfiguration:
        Building solution configuration "Debug|Mixed Platforms".
    Target Build:
        Project "/home/hs/MatterDevelop/MatterControl/Submodules/agg-sharp/Tesselate/Tesselate.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target GenerateTargetFrameworkMonikerAttribute:
            Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
        Done building project "/home/hs/MatterDevelop/MatterControl/Submodules/agg-sharp/Tesselate/Tesselate.csproj".
        Project "/home/hs/MatterDevelop/MatterControl/Submodules/agg-sharp/VectorMath/VectorMath.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target GenerateTargetFrameworkMonikerAttribute:
            Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
        Done building project "/home/hs/MatterDevelop/MatterControl/Submodules/agg-sharp/VectorMath/VectorMath.csproj".
        Project "/home/hs/MatterDevelop/MatterControl/Submodules/agg-sharp/clipper_library/clipper_library.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target GenerateTargetFrameworkMonikerAttribute:
            Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
        Done building project "/home/hs/MatterDevelop/MatterControl/Submodules/agg-sharp/clipper_library/clipper_library.csproj".
        Project "/home/hs/MatterDevelop/MatterControl/Submodules/MatterSlice/MatterSlice.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target GenerateTargetFrameworkMonikerAttribute:
            Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug+ /optimize- /out:obj/Debug/MatterSlice.exe Comb.cs GCodePathConfig.cs GCodePlanner.cs Properties/AssemblyInfo.cs layerPart.cs sliceDataStorage.cs Slicer/SlicerLayer.cs Slicer/Slicer.cs NewSupport.cs utils/clipper.cs utils/floatpoint.cs main.cs Settings.cs timeEstimate.cs utils/IntpointHelper.cs utils/SplitCommandLine.cs utils/StringHelper.cs fffProcessor.cs gcodeExport.cs optimizedModel.cs SimpleModel.cs AvoidCrossingPerimeters.cs utils/PolygonHelper.cs PathOrderOptimizer.cs support.cs bridge.cs logoutput.cs infill.cs TopsAndBottoms.cs skirt.cs raft.cs multiVolumes.cs inset.cs /target:exe /unsafe- /define:"DEBUG;TRACE" /nostdlib /platform:x86 /reference:/usr/lib/mono/4.5/System.dll /reference:/usr/lib/mono/4.5/System.Core.dll /reference:/usr/lib/mono/4.5/mscorlib.dll /warn:4
Slicer/SlicerLayer.cs(137,5): warning CS0162: Unreachable code detected
Slicer/SlicerLayer.cs(613,10): warning CS0219: The variable `a' is assigned but its value is never used
NewSupport.cs(58,17): warning CS0219: The variable `selfSupportDistance' is assigned but its value is never used
Settings.cs(546,17): warning CS0219: The variable `lines' is assigned but its value is never used
Settings.cs(566,13): warning CS0219: The variable `value' is assigned but its value is never used
utils/IntpointHelper.cs(155,32): error CS0103: The name `PI' does not exist in the current context
fffProcessor.cs(785,6): warning CS0162: Unreachable code detected
            Task "Csc" execution -- FAILED
            Done building target "CoreCompile" in project "/home/hs/MatterDevelop/MatterControl/Submodules/MatterSlice/MatterSlice.csproj".-- FAILED
        Done building project "/home/hs/MatterDevelop/MatterControl/Submodules/MatterSlice/MatterSlice.csproj".-- FAILED
        Project "/home/hs/MatterDevelop/MatterControl/Launcher/Launcher.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target GenerateTargetFrameworkMonikerAttribute:
            Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
            Target _CopyAppConfigFile:
            Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
        Done building project "/home/hs/MatterDevelop/MatterControl/Launcher/Launcher.csproj".
/home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/MatterControlAuth/MatterControlAuth/MatterControlAuth.csproj'
/home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/MatterControlPictureCreator/PictureCreator/PictureCreator.csproj'
/home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/CloudServicesPlugin/CloudServices/CloudServices.csproj'
/home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/CloudServicesPlugin/PrintNotifications/PrintNotifications.csproj'
/home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/X3GDriver/X3GDriver/X3GDriver.csproj'
/home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/CloudServicesPlugin/Mono.Nat/Mono.Nat.csproj'
/home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/CloudServicesPlugin/CloudServices.Tests/CloudServices.Tests.csproj'
    Task "MSBuild" execution -- FAILED
    Done building target "Build" in project "/home/hs/MatterDevelop/MatterControl/MatterControl.sln".-- FAILED
Done building project "/home/hs/MatterDevelop/MatterControl/MatterControl.sln".-- FAILED

Build FAILED.

Warnings:

/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/MatterControlAuth/MatterControlAuth/MatterControlAuth.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/MatterControlPictureCreator/PictureCreator/PictureCreator.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/CloudServicesPlugin/CloudServices/CloudServices.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/CloudServicesPlugin/PrintNotifications/PrintNotifications.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/X3GDriver/X3GDriver/X3GDriver.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/CloudServicesPlugin/Mono.Nat/Mono.Nat.csproj referenced in the solution file, not found. Ignoring.
/home/hs/MatterDevelop/MatterControl/MatterControl.sln:  warning : Project file /home/hs/MatterDevelop/CloudServicesPlugin/CloudServices.Tests/CloudServices.Tests.csproj referenced in the solution file, not found. Ignoring.

/home/hs/MatterDevelop/MatterControl/MatterControl.sln (default targets) ->
(Build target) ->
/home/hs/MatterDevelop/MatterControl/Submodules/MatterSlice/MatterSlice.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

    Slicer/SlicerLayer.cs(137,5): warning CS0162: Unreachable code detected
    Slicer/SlicerLayer.cs(613,10): warning CS0219: The variable `a' is assigned but its value is never used
    NewSupport.cs(58,17): warning CS0219: The variable `selfSupportDistance' is assigned but its value is never used
    Settings.cs(546,17): warning CS0219: The variable `lines' is assigned but its value is never used
    Settings.cs(566,13): warning CS0219: The variable `value' is assigned but its value is never used
    fffProcessor.cs(785,6): warning CS0162: Unreachable code detected

Errors:

/home/hs/MatterDevelop/MatterControl/MatterControl.sln (default targets) ->
(Build target) ->
/home/hs/MatterDevelop/MatterControl/Submodules/MatterSlice/MatterSlice.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

    utils/IntpointHelper.cs(155,32): error CS0103: The name `PI' does not exist in the current context

/home/hs/MatterDevelop/MatterControl/MatterControl.sln (default targets) ->
(Build target) ->

    /home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/MatterControlAuth/MatterControlAuth/MatterControlAuth.csproj'
    /home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/MatterControlPictureCreator/PictureCreator/PictureCreator.csproj'
    /home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/CloudServicesPlugin/CloudServices/CloudServices.csproj'
    /home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/CloudServicesPlugin/PrintNotifications/PrintNotifications.csproj'
    /home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/X3GDriver/X3GDriver/X3GDriver.csproj'
    /home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/CloudServicesPlugin/Mono.Nat/Mono.Nat.csproj'
    /home/hs/MatterDevelop/MatterControl/MatterControl.sln: error : Could not find the project file '/home/hs/MatterDevelop/CloudServicesPlugin/CloudServices.Tests/CloudServices.Tests.csproj'

     13 Warning(s)
     8 Error(s)

Time Elapsed 00:00:01.6292240

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions