Win Building addons
#6
(2015-04-24, 08:24)a1rwolf Wrote: Please make sure you did read the Readme.md of the corresponding addon:
https://github.com/kodi-game/game.libretro.nestopia

Under the Windows section there's explicitly stated that you need to install MinGW and add it to your path.
Seems you missed this one.

Good find! I came from garbears xbmc repo installation instructions which only mentioned "To build game add-ons, follow the building in-tree instructions from the game.libretro readme" which in this case doesnt mention that mingw path has to be set on win. Ill see if i can add that to the instructions there.

(2015-04-24, 10:02)Montellese Wrote: Concerning the PkgConfig problem see my comment in https://github.com/kodi-game/peripheral....f4e36ede60 as to why it happens.

@a1rwolf: It doesn't look like this was tested on win32 because we don't support pkg-config there. The commit linked above even says "Only linux side is handled ATM".

Ah your the one who build this, kudos for that, im having a hard time seeing through it Big Grin

Anyways.
So, i added the mingw path to the installation which is already there (came with kodis msys) and nestopia builds now. Can you provide a hint what has to be changed that cmake uses this automatically?

After that i tried the joystick lib again and came a bit further (http://pastebin.com/A0w1awhP):
Despite your sayings it seems to use the pkg-config from the mingw folder now.
Code:
4>  -- Found PkgConfig: D:/Dev/xbmc_dev/retroplayer/project/BuildDependencies/msys/mingw/bin/pkg-config.exe (found version "0.28")

Now it complains about missing sdl and some linux includes (syslog.h missing is breaking it), so i guess it really comes down that this part has not yet been adapted for the win32 buildsystem.

Code:
4>D:\Dev\xbmc_dev\retroplayer\project\cmake\addons\build\peripheral.joystick\src\log\LogSyslog.cpp(24): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "syslog.h": No such file or directory [D:\Dev\xbmc_dev\retroplayer\project\cmake\addons\build\peripheral.joystick-prefix\src\peripheral.joystick-build\peripheral.joystick.vcxproj]

I searched the mingw folder but it doesnt seem to include a syslog.h - whats the usual workaround for this on win?

@Montellese: What are the chances you can have look at this until garbear comes back in two month? Smile

Thanks so far for your help!
Reply


Messages In This Thread
Building addons - by aquiles2k - 2015-04-24, 00:27
RE: Building addons - by Montellese - 2015-04-24, 07:56
RE: Building addons - by a1rwulf - 2015-04-24, 08:24
RE: Building addons - by Montellese - 2015-04-24, 10:02
RE: Building addons - by a1rwulf - 2015-04-24, 10:09
RE: Building addons - by aquiles2k - 2015-04-24, 11:45
RE: Building addons - by a1rwulf - 2015-04-24, 12:50
RE: Building addons - by Montellese - 2015-04-24, 13:39
RE: Building addons - by a1rwulf - 2015-04-24, 14:07
RE: Building addons - by aquiles2k - 2015-04-24, 13:40
RE: Building addons - by aquiles2k - 2015-04-24, 13:42
RE: Building addons - by aquiles2k - 2015-04-30, 18:09
RE: Building addons - by Montellese - 2015-05-18, 09:55
RE: Building addons - by aquiles2k - 2015-05-18, 11:57
RE: Building addons - by Montellese - 2015-05-18, 14:26
RE: Building addons - by aquiles2k - 2015-05-18, 15:26
RE: Building addons - by GreatKicker - 2017-03-02, 21:43
Logout Mark Read Team Forum Stats Members Help
Building addons0