Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUESTION re: building... #1

Open
ianken opened this issue Jul 20, 2012 · 3 comments
Open

QUESTION re: building... #1

ianken opened this issue Jul 20, 2012 · 3 comments
Assignees

Comments

@ianken
Copy link

ianken commented Jul 20, 2012

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

@ghost ghost assigned carlospuk Jul 23, 2012
@carlospuk
Copy link
Owner

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.

@ianken
Copy link
Author

ianken commented Jul 25, 2012

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:
#1 (comment)

@piet5211
Copy link

piet5211 commented Aug 9, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants