remotepotato icon indicating copy to clipboard operation
remotepotato copied to clipboard

QUESTION re: building...

Open ianken opened this issue 12 years ago • 3 comments

1- I'm building in VS2010. So not sure if that's the source of my grief. You noted you're using 2012. I could not get the installer project to work under 2012 RC even after installing the InstallShield goo. 2- The installer project reference art assets that are not in the GIT. (favico and bannerlogo) easily worked around. 3- The project reference the easfuscator.net product. I REMed it out in the project properties.

Anyway, I have it building but the resultant installed bits show no thumb nails and does not stream. I made no changes to the code.

There are the following warnings:

Warning 5 Unable to find dependency 'ULTRAID3LIB' (Signature='(null)' Version='0.9.6.8') of assembly 'ShellUtilities.dll' C:\Users\Ian Kennedy\Desktop\RP\Server\RemotePotatoSetup\RemotePotatoSetup.vdproj RemotePotatoSetup Warning 6 Unable to find dependency 'MICROSOFT.WINDOWSAPICODEPACK.SHELL' (Signature='(null)' Version='1.1.0.0') of assembly 'ShellUtilities.dll' C:\Users\Ian Kennedy\Desktop\RP\Server\RemotePotatoSetup\RemotePotatoSetup.vdproj RemotePotatoSetup Warning 7 Processing COM reference "WMPLib" from path "C:\Windows\system32\wmp.dll". Type library importer encountered a property getter 'sessionPlaylistCount' on type 'WMPLib.IWMPNowPlayingHelperDispatch' without a valid return type. The importer will attempt to import this property as a method instead. RPServer Warning 8 Processing COM reference "WMPLib" from path "C:\Windows\system32\wmp.dll". At least one of the arguments for 'IWMPGraphEventHandler.NotifyAcquireCredentials' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate. RPServer Warning 9 Two or more objects have the same target location ('[targetdir]\commonepg.dll') C:\Users\Ian Kennedy\Desktop\RP\Server\RemotePotatoSetup\RemotePotatoSetup.vdproj RemotePotatoSetup Warning 10 Two or more objects have the same target location ('[targetdir]\commonepg.dll') C:\Users\Ian Kennedy\Desktop\RP\Server\RemotePotatoSetup\RemotePotatoSetup.vdproj RemotePotatoSetup

ianken avatar Jul 20 '12 06:07 ianken

Thanks for posting and thanks for being the first guinea pig test builder!

  • You should indeed be building in VS2010, the 2012 is a typo which will be corrected.
  • I'll update the repository to include that missing artwork, and get rid of the build command for Eazfuscator which is no longer required.

Looking at those errors:

  • The WMPLib errors are completely normal and can be safely ignored.
  • The CommonEPG 'same target location' error can be fixed by removing one of these files from the Setup project.
  • Those missing references are in the repository:
    • UltraID3Lib is in ShellUtilities/Libraries
    • WindowsApiCodecPack.Shell is in ShellUtilities/Libraries/Release and/or ShellUtilities/Libraries/Debug

Looking at the lack of streaming, are you sure that's a build issue and not something else? Is there anything in the server logs? You should check that ffmpeg.exe and pThreadGC2.dll have both installed to the correct location, i.e.: C:\Program Files (x86)\FatAttitude\Remote Potato\toolkit

One other approach might be to do a normal install of Remote Potato from the current stable download and compare to check there are no missing files. You could also consider just building the server DLLs and overwriting them on top of your current stock installation.

carlospuk avatar Jul 23 '12 15:07 carlospuk

I built the streaming support DLL and attempted to replace the release bits in a default install and just broke streaming. :-) The build succeeded with no errors.

I'll give it a try again next week.

Carl Partridge [email protected] wrote:

Thanks for posting and thanks for being the first guinea pig test builder!

  • You should indeed be building in VS2010, the 2012 is a typo which will be corrected.
  • I'll update the repository to include that missing artwork, and get rid of the build command for Eazfuscator which is no longer required.

Looking at those errors:

  • The WMPLib errors are completely normal and can be safely ignored.
  • The CommonEPG 'same target location' error can be fixed by removing one of these files from the Setup project.
  • Those missing references are in the repository:
    • UltraID3Lib is in ShellUtilities/Libraries
    • WindowsApiCodecPack.Shell is in ShellUtilities/Libraries/Release and/or ShellUtilities/Libraries/Debug

Looking at the lack of streaming, are you sure that's a build issue and not something else? Is there anything in the server logs? You should check that ffmpeg.exe and pThreadGC2.dll have both installed to the correct location, i.e.: C:\Program Files (x86)\FatAttitude\Remote Potato\toolkit

One other approach might be to do a normal install of Remote Potato from the current stable download and compare to check there are no missing files. You could also consider just building the server DLLs and overwriting them on top of your current stock installation.


Reply to this email directly or view it on GitHub: https://github.com/carlospuk/remotepotato/issues/1#issuecomment-7180896

ianken avatar Jul 25 '12 03:07 ianken

Those missing references are indeed in the repository:

  • UltraID3Lib is in ShellUtilities/Libraries
  • WindowsApiCodecPack.Shell is in ShellUtilities/Libraries/Release and/or ShellUtilities/Libraries/Debug

And they were in the ShellUtilities References in the project.

Removing and re-adding them in ShellUtilities didn't solve the problem.

However removing, adding them to a different project (e.g. RPSerevr), build, removing them again, and re-add them to ShellUtilities did solve it.

piet5211 avatar Aug 09 '12 11:08 piet5211