SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

How to compile from source

Last post 09-06-2008 5:40 AM by iokadia. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 09-03-2008 7:35 AM

    How to compile from source

    Hi,

     I would like to know how i can go about compiling from source. 

  • 09-03-2008 11:26 AM In reply to

    Re: How to compile from source

    When you download the source code, you will see a \src folder. There you'll find a couple of batch files, the one you are looking for is called debugbuild.bat.

    Chris

  • 09-04-2008 6:06 AM In reply to

    Re: How to compile from source

    Thanks for replying.

    I get an error msg when i run debugbuild.bat. I downloaded the latest file using the link on the download page.

    This is what's in the bat file 

    %windir%\microsoft.net\framework\v3.5\msbuild SharpDevelop.sln "/p:BooBinPath=%CD%\AddIns\BackendBindings\Boo\RequiredLibraries" "/p:FSharpBuildTasksPath=%CD%\AddIns\BackendBindings\FSharp\RequiredLibraries"
    @IF %ERRORLEVEL% NEQ 0 PAUSE

     

    i get this error. 

    Build started 04/09/2008 12:04:44 AM.
    Project "C:\Users\Fatima\Downloads\sd\src\SharpDevelop.sln" on node 0 (default targets).
    C:\Users\Fatima\Downloads\sd\src\SharpDevelop.sln.cache(730,5): error MSB4126: The specified solution configuration "Debug|MCD" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration.
    Done Building Project "C:\Users\Fatima\Downloads\sd\src\SharpDevelop.sln" (default targets) -- FAILED.

    Build FAILED.

    "C:\Users\Fatima\Downloads\sd\src\SharpDevelop.sln" (default target) (1) ->
    (ValidateSolutionConfiguration target) ->
      C:\Users\Fatima\Downloads\sd\src\SharpDevelop.sln.cache(730,5): error MSB4126: The specified solution configuration "Debug|MCD" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration.

        0 Warning(s)
        1 Error(s)

    Time Elapsed 00:00:00.01

  • 09-04-2008 11:24 AM In reply to

    Re: How to compile from source

     Did you change some environment variable for MSBuild so that the "MCD" platform gets build by default?

    SharpDevelop does not have any platform settings except "Any CPU", so pass /p:Platform="Any CPU" to MSBuild.

    Daniel Grunwald
  • 09-05-2008 2:41 AM In reply to

    Re: How to compile from source

     I just downloaded the file and then unzipped it. I'm running Vist does that make a difference?

  • 09-05-2008 8:21 AM In reply to

    Re: How to compile from source

    After a quick search on Google, it seems that HP laptops set the Platform environment variable to MCD for some reason. This then gets passed to MSBuild and so SharpDevelop's build fails. The workaround is as Daniel posted, edit the DebugBuild.bat file and add the following to the MSBuild command line:

    /p:Platform="Any CPU"

  • 09-06-2008 5:40 AM In reply to

    Re: How to compile from source

     Okay that worked thanks guys.

    What do i do next. Is there some how to on this. Sorry very new to all this

     

Page 1 of 1 (7 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.