• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 7
[PATCH] Building SDL/OpenGL port on Windows (Win32)
#46
Well, just tested it and can say: good job Big Grin
One thing, how to make it fullscreen? Linux method doesn't work
What about possibility to turn off / choose wchich mkv included / separate file subs to use?
Any chances for choosing decoder under Windows platform ? (like Cyberlink Vs CoreAVC Vs FFdshow possibility in MediaPortal)

Sorry for posting this here, but there is no "XBMC for Windows Users Only" subforum
Regards,
Embrion
Reply
#47
Indeed very impressive! Keep up the good work!

@embrion:
Fullscreen is working, here is my run_me_first.bat :
Quote:subst q: ..\..
subst p: q:\userdata
subst t: q:\userdata
subst z: q:\cache
XBMC_PC.exe -fs
subst q: /d
subst p: /d
subst t: /d
subst z: /d
Reply
#48
I think you may want to add a "md cache" as the first line to that batch file as otherwise it will not be able to map Z: to Q:\cache the first time (as it is not in the SVN).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#49
Any chance we could get something added to the wiki on how to build this one? I'd like to start digging into some of the problems I'm seeing with it like accessing shares and playing iso's once these patches get into svn.
cheers,

crazyivan
Reply
#50
There is an article in the wiki for it but it needs to be updated
http://www.xboxmediacenter.com/wiki/?tit...ource_code

By the way, any chance of adding WinLIRC for IR/IrDA (infrared) remote support under this Windows port?

Huh
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#51
Gamester17 Wrote:There is an article in the wiki for it but it needs to be updated
http://www.xboxmediacenter.com/wiki/?tit...ource_code

the wiki Wrote:1. Get the latest svn trunk

I thought this was based off the linuxport branch rather than the trunk, hence it being in the linux dev forum?
cheers,

crazyivan
Reply
#52
I had some time last night to start getting my changes cleaned up and merged against the latest SVN (as of yesterday at least). Once I do a final check I should have the new source patch up either tonight or tomorrow.
Reply
#53
New patch posted.

This incorporates all of the changes I have made thus far and includes all of the changes necessary to produce a properly working windows build. The only thing I haven't yet had the chance to do is update the VC2003 project files with the changes.
Reply
#54
Is that the correct link Art? Seems to be someone else's patch. Can't wait to get the project file updates so I can try building this myself.
cheers,

crazyivan
Reply
#55
Sorry about the bad link.

Here is the patch.

CrazyIvan Wrote:Is that the correct link Art? Seems to be someone else's patch. Can't wait to get the project file updates so I can try building this myself.
Reply
#56
Hi Art,

I have problems to build the solution with .Net 2003.
My steps are more or less "documented" here: http://mwiki.ws0.org/index.php/Compiling...indows_SDL
Your patch works with one rejection:
Code:
***************
*** 2678,2683 ****
        // so that rendering loop will not delay the next frame's presentation.
  #ifdef _LINUX
        if (SDL_SemWaitTimeout2(m_framesSem, 100) == 0)
          m_bPresentFrame = true;
  #endif
      }
--- 2680,2688 ----
        // so that rendering loop will not delay the next frame's presentation.
  #ifdef _LINUX
        if (SDL_SemWaitTimeout2(m_framesSem, 100) == 0)
+         m_bPresentFrame = true;
+ #elif _WIN32
+       if (SDL_SemWaitTimeout(m_framesSem, 100) == 0)
          m_bPresentFrame = true;
  #endif
      }

I was able to fix most of the missing dependencies but 3 are remaining:
Code:
int __cdecl filelib_write(char*, unsigned long)
_rip_manager_get_content_type
_set_rip_manager_options_defaults

Both latter ones are called in CFileShoutcast::Open but I can't find them in libshout_win32.lib.
Any hints?
Reply
#57
WiSo Wrote:Hi Art,

I was able to fix most of the missing dependencies but 3 are remaining:
Code:
int __cdecl filelib_write(char*, unsigned long)
_rip_manager_get_content_type
_set_rip_manager_options_defaults

Both latter ones are called in CFileShoutcast::Open but I can't find them in libshout_win32.lib.
Any hints?
We recently started using a newer version of the shoutcast library. Recompiling shoutcast should take care of these dependencies (assuming you've enabled Shoutcast support).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.


Image
Reply
#58
Sorry for the dump question but
1) how and where could I disable shoutcast (precompiler definitions?)
2) will there be there be an updated library soon?

tried to build it from linuxport/sources but it has a lot of dependencies and now is time for bed Wink

Thanks,
WiSo
Reply
#59
WiSo Wrote:Sorry for the dump question but
1) how and where could I disable shoutcast (precompiler definitions?)
2) will there be there be an updated library soon?

tried to build it from linuxport/sources but it has a lot of dependencies and now is time for bed Wink

Thanks,
WiSo

Turn off HAS_SHOUTCAST. Not sure how it's done in Windows, but it's defined in guilib/system.h.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Please read and follow the forum rules.
For troubleshooting and bug reporting, please make sure you read this first.


Image
Reply
#60
That was the file I'm looking for.
To get it compiled (quick fix) I had to remove the extern "C" around the dummy functions in fileshoutcast.cpp and had to return values for the non void functions.
But it works now.Laugh
Thanks for the help
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 7

Logout Mark Read Team Forum Stats Members Help
[PATCH] Building SDL/OpenGL port on Windows (Win32)0