Help with Compilation Errors from CVS (1 Viewer)

M

MadAxeMan

Guest
OK, installed VS2003.NET, DirectX SDK and downloaded source via WinCVS (both non tagged and most recently a clean 0.1.0.0.7 version). Any which way I seem to be getting the same compile errors where it is failing to find a namespace:

Code:
------ Build started: Project: Core, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...

The project is up-to-date.
Building satellite assemblies...



------ Build started: Project: Databases, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...

The project is up-to-date.
Building satellite assemblies...



------ Build started: Project: TVCapture, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...
c:\development\mediaportal\tvcapture\dvbsections.cs(1576,9): warning CS0219: The variable 'a' is assigned but its value is never used
c:\development\mediaportal\tvcapture\dvbsections.cs(1836,18): error CS1501: No overload for method 'GetSatChannelName' takes '2' arguments
c:\DEVELOPMENT\mediaportal\TVCapture\bin\Debug\Databases.dll: (Related file)
c:\development\mediaportal\tvcapture\dvbsections.cs(1852,18): error CS1501: No overload for method 'GetSatChannelName' takes '2' arguments
c:\DEVELOPMENT\mediaportal\TVCapture\bin\Debug\Databases.dll: (Related file)
c:\development\mediaportal\tvcapture\dvbsections.cs(1884,21): error CS1501: No overload for method 'GetSatChannelName' takes '2' arguments
c:\DEVELOPMENT\mediaportal\TVCapture\bin\Debug\Databases.dll: (Related file)
c:\development\mediaportal\tvcapture\dvbsections.cs(1905,23): error CS1501: No overload for method 'GetSatChannelName' takes '2' arguments
c:\DEVELOPMENT\mediaportal\TVCapture\bin\Debug\Databases.dll: (Related file)
C:\DEVELOPMENT\mediaportal\TVCapture\DVBSkyStar2Helper.cs(523,10): warning CS0219: The variable 'b' is assigned but its value is never used
C:\DEVELOPMENT\mediaportal\TVCapture\DVBTeletext.cs(432,4): warning CS0168: The variable 'ex' is declared but never used
C:\DEVELOPMENT\mediaportal\TVCapture\DVBTeletext.cs(434,9): warning CS0219: The variable 'a' is assigned but its value is never used

Build complete -- 4 errors, 4 warnings
Building satellite assemblies...
Satellite assemblies could not be built because the main project output is missing.


------ Build started: Project: WindowPlugins, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\FormOSD.cs(9,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUIFullscreenTeletext.cs(13,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUIFullScreenTV.cs(12,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUIRecordedTV.cs(8,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUIRecordedTVChannel.cs(8,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUIRecordedTVGenre.cs(8,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUITVGuide.cs(13,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUITVHome.cs(13,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUITVMSNOSD.cs(8,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUITVOSD.cs(8,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUITVOverlay.cs(7,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUITVScheduler.cs(8,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUITVSearch.cs(8,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUITVTeletext.cs(13,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUIVideoFiles\GUIVideoMSNOSD.cs(8,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUITVTeletext.cs(37,3): error CS0246: The type or namespace name 'DVBTeletext' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\WindowPlugins\GUITV\GUIFullscreenTeletext.cs(31,3): error CS0246: The type or namespace name 'DVBTeletext' could not be found (are you missing a using directive or an assembly reference?)

Build complete -- 17 errors, 0 warnings
Building satellite assemblies...
Satellite assemblies could not be built because the main project output is missing.


------ Build started: Project: TagReaderPlugins, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...

Build complete -- 0 errors, 0 warnings
Building satellite assemblies...



------ Build started: Project: TVGuideScheduler, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...

Build complete -- 0 errors, 0 warnings
Building satellite assemblies...



------ Build started: Project: ProcessPlugins, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...
C:\DEVELOPMENT\mediaportal\ProcessPlugins\NVPPowerScheduler\NVPPowerScheduler.cs(5,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)

Build complete -- 1 errors, 0 warnings
Building satellite assemblies...
Satellite assemblies could not be built because the main project output is missing.


------ Build started: Project: ExternalPlayers, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...

Build complete -- 0 errors, 0 warnings
Building satellite assemblies...



------ Build started: Project: SubtitlePlugins, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...

Build complete -- 0 errors, 0 warnings
Building satellite assemblies...



------ Build started: Project: MediaPortal.Configuration, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...
C:\DEVELOPMENT\mediaportal\Configuration\Sections\DVBSSS2.cs(9,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\Sections\TVCaptureCards.cs(11,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
c:\development\mediaportal\configuration\analogtvtuningform.cs(13,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
c:\development\mediaportal\configuration\analogtvtuningform.cs(14,7): error CS0246: The type or namespace name 'TVCapture' could not be found (are you missing a using directive or an assembly reference?)
c:\development\mediaportal\configuration\analogtvtuningform.cs(22,63): error CS0246: The type or namespace name 'AutoTuneCallback' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\EditCaptureCardForm.cs(11,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\EditCaptureCardForm.cs(13,7): error CS0246: The type or namespace name 'TVCapture' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\EditCaptureCardForm.cs(22,10): error CS0246: The type or namespace name 'CaptureCardDefinitions' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\EditCaptureCardForm.cs(1299,35): error CS0246: The type or namespace name 'TVCaptureDevice' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\EditCaptureCardForm.cs(1604,10): error CS0246: The type or namespace name 'TVCaptureDevice' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\EditCaptureCardForm.cs(2022,10): error CS0246: The type or namespace name 'TVCaptureDevice' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\EditCaptureCardForm.cs(2024,29): error CS0246: The type or namespace name 'TVCaptureDevice' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\EditCaptureCardForm.cs(2029,9): error CS0246: The type or namespace name 'TVCaptureDevice' could not be found (are you missing a using directive or an assembly reference?)
c:\development\mediaportal\configuration\analogtvtuningform.cs(34,3): error CS0246: The type or namespace name 'ITuning' could not be found (are you missing a using directive or an assembly reference?)
c:\development\mediaportal\configuration\analogtvtuningform.cs(38,3): error CS0246: The type or namespace name 'TVCaptureDevice' could not be found (are you missing a using directive or an assembly reference?)
c:\development\mediaportal\configuration\analogtvtuningform.cs(237,10): error CS0246: The type or namespace name 'ITuning' could not be found (are you missing a using directive or an assembly reference?)
c:\development\mediaportal\configuration\analogtvtuningform.cs(244,10): error CS0246: The type or namespace name 'TVCaptureDevice' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\Sections\TVCaptureCards.cs(62,31): error CS0246: The type or namespace name 'TVCaptureDevice' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\Sections\DVBSSS2.cs(131,11): error CS0246: The type or namespace name 'DVBSections' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\Sections\DVBSSS2.cs(132,11): error CS0246: The type or namespace name 'DVBSkyStar2Helper' could not be found (are you missing a using directive or an assembly reference?)
C:\DEVELOPMENT\mediaportal\Configuration\Sections\DVBSSS2.cs(133,11): error CS0246: The type or namespace name 'DVBSections' could not be found (are you missing a using directive or an assembly reference?)

Build complete -- 21 errors, 0 warnings
Building satellite assemblies...
Satellite assemblies could not be built because the main project output is missing.


------ Build started: Project: MediaPortal, Configuration: Debug .NET ------

Preparing resources...
Updating references...
Performing main compilation...
C:\DEVELOPMENT\mediaportal\xbmc\MediaPortal.cs(27,22): error CS0234: The type or namespace name 'Recording' does not exist in the class or namespace 'MediaPortal.TV' (are you missing an assembly reference?)

Build complete -- 1 errors, 0 warnings
Building satellite assemblies...
Satellite assemblies could not be built because the main project output is missing.


---------------------- Done ----------------------

    Build: 6 succeeded, 5 failed, 0 skipped

I'm more at homw with VS6 and C++, so this is a bit new, so it's probably a simple fix (hopefully?). Anyone?
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
It seems like Sourceforge is out of sync again. Just wait a couple of hours (heard of several days) and you can get the correct sources again. It's an automatism to sync the builder's sources with the anonymous sources. Nothing else helps.
 
M

MadAxeMan

Guest
That's a pain. Maybe a source tarball could be made available for each release?
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
The releases are tagged, you should be able to get the sources for them. But the development continues every second, so the latest CVS versions are no release versions. (Well, that's actually the coolest thing about it! :wink: )
But I think you're looking for the latest "stable" CVS. You can help yourself by checking out the files at an earlier date, yesterday's midnight, for example. Then you should be fine with it as long as the SF sync-stuff is a bit broken.
BTW, I'm also eagerly waiting for it to be fixed.
 
M

MadAxeMan

Guest
Aha, I see. I will cleanup and download 0.1.0.0.6. I just want to get it compiling and get a handle on things before delving in with some coding.

Thanks.
 

dman_lfc

Retired Team Member
  • Premium Supporter
  • July 28, 2004
    1,772
    30
    UK
    Home Country
    New Zealand New Zealand
    Please in the future be patient when downloading and compiling CVS builds as depending on the time you download it may be out of synch and such errors may exist.

    The devs will know about this and will usually fix it in due course as the coding is in a state of flux.

    The forum is not the best place to highlight that the CVS is out of synch. Please use IRC - sometimes the dev team will be able to dcc you the latest build if you ask nicely enough. :wink:

    Many thanks.

    DMAN
     
    M

    MadAxeMan

    Guest
    Excuse my ignorance all, not used CVS or C# before so assumed it was a simple fix in my configuration. I still think it would be good to do a source tarball with the latest release.

    Also not a user of IRC, just don't get the time to chat much :(
     

    Mr.Mitchell

    Retired Team Member
  • Premium Supporter
  • May 13, 2004
    227
    0
    the Netherlands
    The releases in CVS are tagged so you can always get the code at the same state as when the release was made by specifiying the correct TAG. If you work on the HEAD the sometimes it won't compile but it doesn't happen very often.
     

    Users who are viewing this thread

    Similar threads

    It's ok I have sorted it now code was fine I had a corrupt installation, reinstalled and all works fine now.
    It's ok I have sorted it now code was fine I had a corrupt installation, reinstalled and all works fine now.
    Hi All, Developing a TVServer Plugin, but get the following when attempting to run: PluginManager: TvEngine.TVHController is...
    Replies
    1
    Views
    821
    • Sticky
    • Article
    Ok, thanks :)
    Ok, thanks :)
    We are proud to present MediaPortal 2.4.1 MediaPortal 2.4.1 is a full-blown media center software that addresses most common user...
    Replies
    3
    Views
    1K
    I have added missing fields to schedule structure, with "-1" as default for margins. According to comments this should apply the configured pre- and post record margins of TvMosaic. Please extract the TvMosaic.API.dll into ProgramFiles\Team MediaPortal\MP2-Client\Plugins\SlimTv.TvMosaicProvider and then create a new schedule. Please...
    I have added missing fields to schedule structure, with "-1" as default for margins. According to comments this should apply the...
    The current TV engine (TVE3) for Media Portal 1 and 2 was developed long time before and is not state of the art any more...
    Replies
    328
    Views
    37K
    Good job, nice release as usual (y)
    Good job, nice release as usual (y)
    We are proud to present MediaPortal 2.4 MediaPortal 2.4 is a full-blown media center software that addresses most common user...
    Replies
    5
    Views
    2K
    OK, this is specifically for people in Belgium (Vlaanderen) who are using Telenet Cable with MediaPortal 2. Next year (Edit: this year, in march 2020) the Telenet provider will stop broadcasting Analog TV and Radio signals on their cable, and make the switch to Digital (DVB-C). The radio signals will disappear completely, so you'll...
    OK, this is specifically for people in Belgium (Vlaanderen) who are using Telenet Cable with MediaPortal 2. Next year (Edit: this...
    OK, this is specifically for people in Belgium (Vlaanderen) who are using Telenet Cable with MediaPortal 2. Next year (Edit: this...
    Replies
    0
    Views
    2K
    Top Bottom