Normal
Ok, not having any solution for the issue described at https://forum.team-mediaportal.com/threads/tv-server-doesnt-start-up-in-time-on-resume.132250/#post-1154390 , I'm now trying to build and debug MP, so that I can try to find the screen where the connection message appears and add some kind of retry functionality. (Having contributed financially to the project - something I hope to do again - it would also be good to be able to contribute as a developer in whatever way.)After building, MP does not seem ready to run (dlls not found - see below), and I'd like to know if there are some further required steps that I've not found in the how-to-build documentation.Environment: Windows 7 Ultimate 64-bit, Visual Studio 2013, MP 1.12 client already installed and working.So, I installed all the build prerequisites (except NSIS since I don't want to build an installer) listed at http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/4_Development/Building_MediaPortal_from_source/1_Git_SetupI cloned the git repo.The batch file MSBUILD_Rebuild_All_MediaPortal_Release.bat appears to complete ok, though it occasionally emits lines like: File not found - _BuildReport_Files Building TV Server... Error occurred while loading document 'Build_Report_Debug_TvLibrary.xml'.More importantly, opening the solution in VS2013, building works fine and I can launch stuff.I can run configuration.exe as described at http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/4_Development/Debugging and hit 'ok' to accept the defaults.If I then try to launch MediaPortal in the debugger, it fails with System.DllNotFoundException in GUIFont constructor (eventually getting stuck with a blank screen):Unable to load DLL 'fontEngine.dll'This dll along with a number of others can be found in the MP installation dir. Are these dlls targets of the C++ code that's described as "C++ sourced binaries have been removed from the repository as of April, 2013"? Is there some additional step I should be taking after build to allow execution?As a workaround, if I just copy all the dlls from my MP installation dir to some other dir and then include that in the path, I can launch MP in the debugger ok ... but that's a workaround sure to cause problems, plus some important things still don't work (like I can't open the settings screen).Can anyone advise as to what I should be doing to build and debug MP? Should it be possible to run/debug straight after build (having run configuration.exe), or does it need some installer-like script?Thanks in advance for any info.
Ok, not having any solution for the issue described at https://forum.team-mediaportal.com/threads/tv-server-doesnt-start-up-in-time-on-resume.132250/#post-1154390 , I'm now trying to build and debug MP, so that I can try to find the screen where the connection message appears and add some kind of retry functionality. (Having contributed financially to the project - something I hope to do again - it would also be good to be able to contribute as a developer in whatever way.)
After building, MP does not seem ready to run (dlls not found - see below), and I'd like to know if there are some further required steps that I've not found in the how-to-build documentation.
Environment: Windows 7 Ultimate 64-bit, Visual Studio 2013, MP 1.12 client already installed and working.
So, I installed all the build prerequisites (except NSIS since I don't want to build an installer) listed at http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/4_Development/Building_MediaPortal_from_source/1_Git_Setup
I cloned the git repo.
The batch file MSBUILD_Rebuild_All_MediaPortal_Release.bat appears to complete ok, though it occasionally emits lines like:
File not found - _BuildReport_Files
Building TV Server...
Error occurred while loading document 'Build_Report_Debug_TvLibrary.xml'.
More importantly, opening the solution in VS2013, building works fine and I can launch stuff.
I can run configuration.exe as described at http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/4_Development/Debugging and hit 'ok' to accept the defaults.
If I then try to launch MediaPortal in the debugger, it fails with System.DllNotFoundException in GUIFont constructor (eventually getting stuck with a blank screen):
Unable to load DLL 'fontEngine.dll'
This dll along with a number of others can be found in the MP installation dir. Are these dlls targets of the C++ code that's described as "C++ sourced binaries have been removed from the repository as of April, 2013"? Is there some additional step I should be taking after build to allow execution?
As a workaround, if I just copy all the dlls from my MP installation dir to some other dir and then include that in the path, I can launch MP in the debugger ok ... but that's a workaround sure to cause problems, plus some important things still don't work (like I can't open the settings screen).
Can anyone advise as to what I should be doing to build and debug MP? Should it be possible to run/debug straight after build (having run configuration.exe), or does it need some installer-like script?
Thanks in advance for any info.