Kodi Community Forum

Full Version: Compiling master with VS11
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I'm trying to compile latest master for win32 using Visual Studio 2012.
Had some issues with some libraries but managed to solve them by compileing the libraries separetly with VS2012

Now I have hit a point where I do not know what the issue is. Feel like I am getting closer tho.

If I build the solution in Visual Studio, I get no errors.
But when I run the BuildSetup.bat, after 20 min I get the errors.

I've tried setting NOSAFESEH on the xbmc project but still same error.
Image
Update.
I managed to fix the errors regarding liblzo2.lib, downloaded source and re-compiled it with VS11.

So now I have 18 errors instead of 21.
Can't seem to do the same with libfribidi.lib, there are no win32 compile-files in the source. Does anyone have libfribidi.lib compiled with VS11?

Thanks
(2013-06-26, 14:39)Maniac Wrote: [ -> ]Update.
I managed to fix the errors regarding liblzo2.lib, downloaded source and re-compiled it with VS11.

So now I have 18 errors instead of 21.
Can't seem to do the same with libfribidi.lib, there are no win32 compile-files in the source. Does anyone have libfribidi.lib compiled with VS11?

Thanks

Have you upgrade the project(s) to VS11 runtime?
Yes, it does that by default when I opened it for the first time, otherwise I wouldn't have come this far.

I think the projects are fine. it's the libraries that xbmc uses that are not compatible with VS11.
(2013-06-26, 15:43)Maniac Wrote: [ -> ]Yes, it does that by default when I opened it for the first time, otherwise I wouldn't have come this far.

I think the projects are fine. it's the libraries that xbmc uses that are not compatible with VS11.

Yups,

Don't upgrade to the vs11 runtime, the GCC included with XBMC is too old to compile with the SAFESEH flag.
Ah I didn't know that it is not possible to build with VS11.
I did it now with VS10, worked like a charm Smile

Thanks mate.