Run From VS2013
#1
Hi guys, i would like to build and run kodi from VS. I've already built and compiled everything and it seemed all was ok, no errors, until i pressed run and a pop-up message showed up "Error: Unable to create GUI, Exiting". I know a solution for this is updating the drivers but i've already have them up to date and if i install kodi from the normal .exe it works fine so i would like some help trying to solve this problem if anyone knew what's up.
Thanks,
Eduardo Reis
Reply
#2
Hi edureis95,

you provided very minimalistic informations about your workflow.

The first place to look for errors is Kodi's http://kodi.wiki/view/Log_file
If you don't find your error by yourself, you can post thr log e.g. on pastebin or something similiar.
Latest news about AudioDSP and my libraries is available on Twitter.

Developers can follow me on Github.
Reply
#3
Sorry, i've rebuilt and saved the build log aswell as the Kodi log,

- Build Log(http://pastebin.com/UWtSZGhy);
- Kodi Log(http://pastebin.com/wx0NPMXh).

On the Build Log i have a lot of lines like this:

mysqlclient.lib(aestables.obj) : warning LNK4099: PDB 'taocrypt.pdb' was not found with 'mysqlclient.lib(aestables.obj)'

and one like this

CrossGuidd.lib(guid.obj) : warning LNK4099: PDB 'vc120.pdb' was not found with 'CrossGuidd.lib(guid.obj)' or at

and on the Kodi Log i have an error at end:

20:49:06 T:10156 DEBUG: CRemoteControl::Connect - failed to connect
20:49:06 T:10156 INFO: CRemoteControl:Tonguerocess - failed to connect to irss, will keep retrying every 5 seconds
20:49:09 T:7508 NOTICE: special://profile/ is mapped to: special://masterprofile/
Reply
#4
You're pastebins have been removed.

Those warnings are ok and are there on every build. I'm running Kodi all the time directly from VS2013 so it's probably an issue in your setup.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#5
(2015-12-14, 09:35)Montellese Wrote: You're pastebins have been removed.

Those warnings are ok and are there on every build. I'm running Kodi all the time directly from VS2013 so it's probably an issue in your setup.

It's just the link, correct ones: http://pastebin.com/wx0NPMXh and http://pastebin.com/UWtSZGhy
Maybe something is wrong with the Windows 8.1 SDK as indicated at the end of the kodi log, but I can't read that language
Reply
#6
You need to install Graphics Tools. Press Win+I then System. > Apps & features -> Manage optional features -> Add a feature then select Graphics tools. Or don't use windows 10 if you doesn't know how.
Reply
#7
Ah it's win10, didn't checked that, thx @afedchin.
Reply
#8
(2015-12-14, 15:58)afedchin Wrote: You need to install Graphics Tools. Press Win+I then System. > Apps & features -> Manage optional features -> Add a feature then select Graphics tools. Or don't use windows 10 if you doesn't know how.

What a lovely answer as often Wink if something is mandatory then Wiki should be updated instead of such taunts.

Anyway I'll post here to not repost on the previous thread but after adding it I have the same problem that in release mode it does not work too Wink

Image

http://pastebin.com/KZraHx6i for the logs.
Reply
#9
(2015-12-30, 19:30)Tolriq Wrote: What a lovely answer as often Wink if something is mandatory then Wiki should be updated instead of such taunts.
But still you need to install DirectX Tools in order ot debug DirectX applications.

(2015-12-30, 19:30)Tolriq Wrote: Anyway I'll post here to not repost on the previous thread but after adding it I have the same problem that in release mode it does not work too Wink

http://pastebin.com/KZraHx6i for the logs.
Start from VS and look in debug window what goes wrong.
Reply
#10
There's no crash I can start playing media from JSON

The log from debug window in debut mode http://pastebin.com/pZppN1kP

There's just no GUI but when I reset configuration I can see popups of addons updating at first start over the background.

As a test I take a master build from Jenkins that do works, I just replace the exe and it gives that for the exact same git revision. And starting full fresh with dependencies compilations and everything fresh.
Reply
#11
Something compiled wrong or broken. Your log contains a lot of error about actions.
Quote:Debug Print: Keymapping error: no such action 'replacewindow(10000)' defined
Debug Print: CApplication::ExecuteXBMCAction: Tried translating, but failed to understand ReplaceWindow($INFO[System.StartupWindow])
I'm not familar with this.
Reply
#12
Well no possible problem with kodi install or dll since it work on changing exe.

No error when rebuilding from scratch in VS so it remains a problems with depends but I have no idea where to look and what to search because I did try to delete / rebuild depends and it's the exact same result Sad
Reply
#13
As it tries to launch and fails it's likely that it's either what @afedchin said or missing dll. Try running the buildsetup script once, it copies everything to the correct place and it should work from VS.
The janitor, cleaner of cruft, defender of style. Also known as the unfunny guy that doesn't understand signatures.
Reply
#14
Let met try again Smile

install a build from Jenkins that works : Replace the exe with the compiled exe : no more working Wink

There's no missing dll or anything and all the files are OK but the generated exe.

Maybe there's a problem with current dependencies and no one have tried a fresh build from scratch with latest master on Windows. (All works ok on the MAC)
Reply
#15
jenkins build is every time fresh build.
Reply

Logout Mark Read Team Forum Stats Members Help
Run From VS20130