MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Help on Development » General Development (no feature request here!)


General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here.

Reply
 
Thread Tools Display Modes
Old 2004-04-25, 15:00   #1 (permalink)
Anonymous
Guest
 
Posts: n/a


Default Compile problems

I checked out all sources from sourceforge. But when I try to compile with VS.NET 2003 i got a lot of error messages like:

E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicAlbums.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicAlbums.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicArtists.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicArtists.cs(7): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicFiles.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicFiles.cs(7): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicGenres.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicGenres.cs(7): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUImu sicPlaylist.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUImu sicPlaylist.cs(6): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicTop100.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusic\GUIMu sicTop100.cs(7): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIMusicOverla y\GUIMusicOverlay.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIPictures\GU IPictures.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIPictures\GU ISlideShow.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUITV\GUITVHom e.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoActors.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoActors.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoFiles.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoFiles.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoGenres.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoGenres.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoPlaylist.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoPlaylist.cs(6): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoTitle.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoTitle.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoYear.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFiles\ GUIVideoYear.cs(8): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFullSc reen\FormOSD.cs(7): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFullSc reen\GUIVideoFullscreen.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoFullSc reen\GUIVideoOSD.cs(6): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\GUIVideoOverla y\GUIVideoOverlay.cs(4): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\PlayList\PlayL istPlayer.cs(5): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(67): The type 'Microsoft.MediaPlayer.Interop.IWMPMedia' is defined in an assembly that is not referenced. You must add a reference to assembly 'wmppia'.
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(68): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'play'
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(68): The type 'Microsoft.MediaPlayer.Interop.IWMPControls' is defined in an assembly that is not referenced. You must add a reference to assembly 'wmppia'.
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(83): The type 'Microsoft.MediaPlayer.Interop.WMPPlayState' is defined in an assembly that is not referenced. You must add a reference to assembly 'wmppia'.
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(83): A value of an integral type expected
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(85): 'Microsoft.MediaPlayer.Interop.WMPPlayState' is inaccessible due to its protection level
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(116): 'Microsoft.MediaPlayer.Interop.IWMPMedia' does not contain a definition for 'duration'
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(126): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'currentPosition'
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(135): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'play'
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(139): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'pause'
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(177): 'Microsoft.MediaPlayer.Interop.IWMPControls' does not contain a definition for 'stop'
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(195): 'Microsoft.MediaPlayer.Interop.IWMPSettings' does not contain a definition for 'volume'
E:\projects\mediaportal\mediaportal\VideoPlayer\Au dioPlayerWMP9.cs(195): The type 'Microsoft.MediaPlayer.Interop.IWMPSettings' is defined in an assembly that is not referenced. You must add a reference to assembly 'wmppia'.
E:\projects\mediaportal\mediaportal\xbmc\d3dapp.cs (14): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\xbmc\MediaPort al.cs(11): The type or namespace name 'Player' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
E:\projects\mediaportal\mediaportal\xbmc\MediaPort al.cs(13): The type or namespace name 'Playlists' does not exist in the class or namespace 'MediaPortal' (are you missing an assembly reference?)
The dependency 'wmppia' could not be found.
The referenced component 'WMPLib' could not be found. A wrapper assembly is not registered for this type library.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'MusicDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'PictureDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'Settings' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'TVDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteClient, Version=1.0.1411.3769, Culture=neutral' in project 'VideoDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteClient, Version=1.0.1411.3771, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'MusicDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'PictureDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'Settings' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'TVDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.
Warning: The dependency 'SQLiteProxy, Version=1.0.1411.3769, Culture=neutral' in project 'VideoDatabase' cannot be copied to the run directory because it would overwrite the reference 'SQLiteProxy, Version=1.0.1411.3772, Culture=neutral'.

Any idea?

bernmic
  Reply With Quote
Old 2004-04-28, 21:49   #2 (permalink)
Anonymous
Guest
 
Posts: n/a


Default

Here is what you need to do:
1. Under the Player project, expand References... You'll see that WMPLib has a warning. That means that it can't find the .dll, You need to run the register.bat file under Setup/postsetup.
2. Right click on References
3. Select Add References
4. Click on Browse
5. Search for the wmppia from the Setup /postsetup
6. Rebuild project....

That should do...
  Reply With Quote
Reply

Bookmarks

Tags
compile

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
List of problems with TVengine3 Bram Get Support 13 2006-12-18 14:18
still basic problems ... wewe The old Bugreport Forum 4 2006-08-13 06:42
EPIA VIA M-10000 Video Playback Problems TylerDurden Codecs, External Players 1 2006-07-23 17:50
Attempt at updated Howto Compile Guide slapout General Development (no feature request here!) 1 2006-06-11 07:49
Problems last 4~5 days with Astra19.2E (i.e. Dutch chan.)? ronald2oo2 General Support 2 2006-05-21 15:22


All times are GMT +1. The time now is 11:20.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress