Compiling issue since VS2010 (2 Viewers)

UNOPARATOR

MP Donator
  • Premium Supporter
  • September 19, 2007
    231
    70
    Istanbul
    Home Country
    Turkey Turkey
    Also when using MSBUILD_Rebuild_Release_TVServer_Client.bat for creating a SVN setup package, "\TvEngine3\TVLibrary\TVServer.Base\TuningParameters\dvbt\Ísland.Skagafjörður.xml" file gives an error, resulting the failure of TVClient setup file.

    Here is the log file: TVServer_Client_Release.log
    Code:
    File: failed opening file "..\..\..\TvEngine3\TVLibrary\TVServer.Base\TuningParameters\dvbt\Ísland.Skagafjör?ur.xml"
    Error in script "..\TvEngine3\TVLibrary\Setup\setup.nsi" on line 380 -- aborting creation process
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Also when using MSBUILD_Rebuild_Release_TVServer_Client.bat for creating a SVN setup package, "\TvEngine3\TVLibrary\TVServer.Base\TuningParameters\dvbt\Ísland.Skagafjörður.xml" file gives an error, resulting the failure of TVClient setup file.

    Here is the log file: TVServer_Client_Release.log
    Code:
    File: failed opening file "..\..\..\TvEngine3\TVLibrary\TVServer.Base\TuningParameters\dvbt\Ísland.Skagafjör?ur.xml"
    Error in script "..\TvEngine3\TVLibrary\Setup\setup.nsi" on line 380 -- aborting creation process

    Rename the Ísland.Skagafjörður.xml to something else. There is known issue in NSIS installer with specific localized versions of OS and specific character encodings.
     

    UNOPARATOR

    MP Donator
  • Premium Supporter
  • September 19, 2007
    231
    70
    Istanbul
    Home Country
    Turkey Turkey
    I already did that (renaming), but what I'm interested in is how are you going to solve it? Or else how do you create the installer of public releases???
     

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi there,

    NSIS is an open source installer - and is not written/maintained by the MePo team.

    I would have thought you need to speak to the team that support that??

    J.
     

    Vasilich

    Portal Pro
    August 30, 2009
    3,394
    1,170
    Germany, Mayence
    Home Country
    Russian Federation Russian Federation
    unoparator, building MP with NSIS works if you have set any western (e.g. german/netherland/france) codepage for nonunicode programs in windows.
    The problem is that NSIS still doesn't support unicode officially, so you have to live with it (ot you can use unicode NSIS from sf.net, but you need to do some modifications for scripts).
     

    UNOPARATOR

    MP Donator
  • Premium Supporter
  • September 19, 2007
    231
    70
    Istanbul
    Home Country
    Turkey Turkey
    unoparator, building MP with NSIS works if you have set any western (e.g. german/netherland/france) codepage for nonunicode programs in windows.
    The problem is that NSIS still doesn't support unicode officially, so you have to live with it (ot you can use unicode NSIS from sf.net, but you need to do some modifications for scripts).
    :D for the detailed information!!! I can live with it, just wanted to make sure I'm not missing anything... :sorry:
     

    GetWell

    Portal Pro
    October 4, 2006
    205
    32
    Home Country
    Denmark Denmark
    Hi,

    Are the solution to the bassregistration.dll still the workarounds or is it possible to update the bassregistration.dll to support 64?
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Hi,

    Are the solution to the bassregistration.dll still the workarounds or is it possible to update the bassregistration.dll to support 64?

    If you fix that the problem moves on to another binary, and then another and then another... This ends up with some libraries which we are unable to re-compile as any-cpu so even changing a couple of binaries we can will not allow compilation directly in VS 2010. There are some workarounds being used. I will see whether we can apply any of these to SVN to allow compilation in VS
     

    mattjcurry

    Retired Team Member
  • Premium Supporter
  • October 24, 2011
    261
    207
    44
    I am running into the same issue. What is the easiest workaround to instrument? Are you guys adding <ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture> to every project file?

    I am using sharpdevelop and everything compile fine in a 32 bit environment, just not a 64 bit one.
     

    uxDesign

    Portal Pro
    December 10, 2011
    85
    54
    near Munich
    Home Country
    Germany Germany
    Hi Folks,

    that's what I did to get it compiled under Win7 x64

    As described here MSBuild 4.0 or Visual Studio 2010 may fail to compile a 32-bit application targeted for .Net Framework 3.5, 3.0 or 2.0 on x64 machine.

    From the Visual Studio Tools subfolder, open an elevated “Visual Studio Command Prompt (2010)” (using “Run as administrator” option). Change directory to "<system_drive>:\Program Files (x86)\Microsoft SDKs\Windows\v<x.xx>\bin\”.

    backup the file ResGen.exe

    execute corflags /32bit+ ResGen.exe /force

    This didn't work for me in the first attempt, got some strange compiler errors afterwards. The backup was my rescue!

    Open
    - MediaPortal.Configuration.csproj
    - TvEngine3\TVLibrary\Plugins\PluginBase\PluginBase.csproj
    - TvEngine3\TVLibrary\SetupControls\SetupControls.csproj
    - TvEngine3\TVLibrary\TvService\TvService.csproj
    - TvEngine3\TVLibrary\SetupTv\SetupTv.csproj
    - TvEngine3\TVLibrary\TestApp\TestApp.csproj
    - TvEngine3\TVLibrary\Plugins\ConflictsManager\ConflictsManager.csproj
    - TvEngine3\TVLibrary\Plugins\ServerBlaster\ServerBlaster\ServerBlaster.csproj
    - TvEngine3\TVLibrary\Plugins\ServerBlaster\ServerBlaster (Learn)\Blaster (Learn).csproj
    - TvEngine3\TVLibrary\Plugins\TvMovie\TvMovie.csproj
    - TvEngine3\TVLibrary\Plugins\WebEPG\WebEPGPlugin\WebEPGImport.csproj
    - TvEngine3\TVLibrary\Plugins\XmlTvImport\XmlTvImport.csproj
    - TvEngine3\TVLibrary\Plugins\PowerScheduler\PowerScheduler.csproj
    - TvEngine3\TVLibrary\Plugins\ComSkipLauncher\ComSkipLauncher.csproj
    - TvEngine3\TVLibrary\Plugins\PersonalTVGuide\PersonalTVGuide.csproj

    in an editor and add the following property
    <ResGenToolArchitecture>Managed32Bit</ResGenToolArchitecture> under the PropertyGroup with the <TargetFrameworkVersion> tag section.

    Hope this helps,
    uxDesign
     

    Users who are viewing this thread

    Top Bottom