Windows - Win32 x64 XBMC x64 port - work in progress

  Thread Rating:
  • 5 Vote(s) - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Karlson2k Offline
Team-Kodi Developer
Posts: 333
Joined: Oct 2010
Reputation: 9
Location: Moscow, Russia
Post: #46
(2013-03-15 15:04)Trem Wrote:  Afaik libmicrohttpd doesn't use much of Plibc functions. I got it to build with msvcrt functions and faking pipes with sockets instead. Was somewhat ugly but not by much and it removed a .dll to ship.

I think that work should be in my previously linked repo unless I forgot to push it.
This ugly and not right.
Some win32 functions is different on behavior unix functions with same name. PlibC is eliminating this difference.
find quote
Karlson2k Offline
Team-Kodi Developer
Posts: 333
Joined: Oct 2010
Reputation: 9
Location: Moscow, Russia
Post: #47
Well, some precompiled libs was added:
  • dlfcn-win32 r19
  • expat 2.1.0
  • gettext 0.18.2
  • glib 2.34.3
  • gmp 5.1.1
  • gnutls 3.1.9
  • libffi 3.0.12
  • libiconv 1.14
  • libxml2 2.9.0
  • nettle 2.6
  • PlibC 0.1.8k
  • pthreads-w32 cvs
  • xz 5.0.4
  • zlib 1.2.7
All in x32 and x64 form.
http://code.google.com/p/mingw64-further/downloads/list
find quote
Paxxi Offline
Team-Kodi Member
Posts: 238
Joined: May 2009
Reputation: 8
Location: Sweden
Post: #48
I started looking at the warnings in oncrpc and that led me down the rabbit hole. Trying to verify things with the old style C function declarations was a pain. Since this lib doesn't seem to get updated I decided to re-style it to more modern declarations and fixed up quite a bit of functions with no declared return type.

Warnings about size_t and socket types are fixed, there's still warnings about time_t that I will look into more.

I forked it at https://github.com/Paxxi/oncrpc-win32 . If you agree to the changes I can make a PR to merge it back into your repo Karlson2k.
find quote
Memphiz Offline
Kodi MVP
Posts: 16,016
Joined: Feb 2011
Reputation: 225
Location: germany
Post: #49
Sadly i have to say - you don't need oncrpc anymore. Just bump to libnfs 1.5 and get rid of this clunky dependency at all. I had no idea that someone would try to work on that one.

1.5 is not tagged yet.

https://github.com/sahlberg/libnfs/commi...35453e3d2c

AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
(This post was last modified: 2013-03-20 20:22 by Memphiz.)
find quote
Karlson2k Offline
Team-Kodi Developer
Posts: 333
Joined: Oct 2010
Reputation: 9
Location: Moscow, Russia
Post: #50
(2013-03-20 20:20)Memphiz Wrote:  Sadly i have to say - you don't need oncrpc anymore. Just bump to libnfs 1.5 and get rid of this clunky dependency at all. I had no idea that someone would try to work on that one.

1.5 is not tagged yet.

https://github.com/sahlberg/libnfs/commi...35453e3d2c
Thanks!
Could you help with libs list cleanup?
The list on first page reflect list of downloaded libs for win32.
Think it's not really fun to waste time on unneeded libs.
find quote
Memphiz Offline
Kodi MVP
Posts: 16,016
Joined: Feb 2011
Reputation: 225
Location: germany
Post: #51
Thats more of an incident that i have this info because i am the one who pulled in the libnfs and diddled with the windows version of oncrpc. I'm not aware of any other libs which are going to be deprecated (oncrpc is still a vaild dep atm - but as said can easily be ripped out by updating libnfs).

AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
(This post was last modified: 2013-03-21 00:54 by Memphiz.)
find quote
Skixbmc Offline
Member
Posts: 89
Joined: Sep 2012
Reputation: 1
Post: #52
Question:
Can somebody explain why libass is a standalone project? It is included in ffmpeg IMHO.....

Silverstone Grandia GD02-MT | AMD A8-3850 | Breakaway Audio Enhancer, HK AVR-365 | HKTS 30, Philips 50PFL7956H/12 21:9 3D
find quote
Skixbmc Offline
Member
Posts: 89
Joined: Sep 2012
Reputation: 1
Post: #53
SWIG,

Can a developer tell me where the definitions are for the Python template?
I know of the PythonSwig.cpp.template and the *.i files

Regards,
Fred

Silverstone Grandia GD02-MT | AMD A8-3850 | Breakaway Audio Enhancer, HK AVR-365 | HKTS 30, Philips 50PFL7956H/12 21:9 3D
(This post was last modified: 2013-06-23 16:22 by Skixbmc.)
find quote
Skixbmc Offline
Member
Posts: 89
Joined: Sep 2012
Reputation: 1
Post: #54
Found it Wink

Silverstone Grandia GD02-MT | AMD A8-3850 | Breakaway Audio Enhancer, HK AVR-365 | HKTS 30, Philips 50PFL7956H/12 21:9 3D
find quote
Skixbmc Offline
Member
Posts: 89
Joined: Sep 2012
Reputation: 1
Post: #55
Hmmm,

It is compiling but it is not starting because in.dll is missing Huh
Somebody can point me to the right direction of in.dll?

Thanks!

Silverstone Grandia GD02-MT | AMD A8-3850 | Breakaway Audio Enhancer, HK AVR-365 | HKTS 30, Philips 50PFL7956H/12 21:9 3D
find quote
Skixbmc Offline
Member
Posts: 89
Joined: Sep 2012
Reputation: 1
Post: #56
(2013-07-17 09:34)Skixbmc Wrote:  Hmmm,

It is compiling but it is not starting because in.dll is missing Huh
Somebody can point me to the right direction of in.dll?

Thanks!

It is early, Dependency walker Sleepy

FYI:
in.dll is a collection or entry points which are not found in the different dll's/lib's

Silverstone Grandia GD02-MT | AMD A8-3850 | Breakaway Audio Enhancer, HK AVR-365 | HKTS 30, Philips 50PFL7956H/12 21:9 3D
(This post was last modified: 2013-07-17 11:08 by Skixbmc.)
find quote
Skixbmc Offline
Member
Posts: 89
Joined: Sep 2012
Reputation: 1
Post: #57
<very frustrated>
Yep, first bug is the annoying appdata redirection bug which exists for ages......No
</very frustrated>

Silverstone Grandia GD02-MT | AMD A8-3850 | Breakaway Audio Enhancer, HK AVR-365 | HKTS 30, Philips 50PFL7956H/12 21:9 3D
(This post was last modified: 2013-07-18 10:23 by Skixbmc.)
find quote
Skixbmc Offline
Member
Posts: 89
Joined: Sep 2012
Reputation: 1
Post: #58
Yups, two more bugs with appdata redirection..

HDDirectory.cpp line 159:
strWPath1.Insert(0, L"\\\\?\\");

HDFile.cpp line 81:
path.Insert(0, "\\\\?\\");

Should CHDFile::OpenForWrite(const CURL& url, bool bOverWrite) not be CHDFile::OpenForWrite(const CURL &url, bool bOverWrite)?

Now that been said, I'm "fighting" with libs, dll's unresolved references but I'm not excepting this sort of annoying bugs which cost me lots of time Angry

Silverstone Grandia GD02-MT | AMD A8-3850 | Breakaway Audio Enhancer, HK AVR-365 | HKTS 30, Philips 50PFL7956H/12 21:9 3D
find quote
Memphiz Offline
Kodi MVP
Posts: 16,016
Joined: Feb 2011
Reputation: 225
Location: germany
Post: #59
& url and &url are the same ...

AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
find quote
Skixbmc Offline
Member
Posts: 89
Joined: Sep 2012
Reputation: 1
Post: #60
(2013-07-19 16:42)Memphiz Wrote:  & url and &url are the same ...

Are you sure?
I get a with the first one a memory read exception...

Silverstone Grandia GD02-MT | AMD A8-3850 | Breakaway Audio Enhancer, HK AVR-365 | HKTS 30, Philips 50PFL7956H/12 21:9 3D
find quote
Post Reply