lordmulder / LameXP

Audio Encoder Front-End
http://lordmulder.github.io/LameXP
Other
184 stars 18 forks source link

Build Instructions #35

Closed marcosatti closed 8 years ago

marcosatti commented 8 years ago

Hi, how do we get this to build on VS2015? I have downloaded both the Qt 4.8.6 (.7 does not exist?) and 5.5.1 sources, but they both do not completely achieve a build. It seems like some source files require 4.8 and others 5.5... Havent used the Qt library before so Im not sure about that.

I am trying to build the Debug/Win32 config if that matters.

In the end I want to add support for encoding all tags across conversions. The nero acc tagger supports this so it should be possible... I'm trying to organise my music library by tagging them first with musicbrainz picard then converting. Of course I could do it after conversion but I figure this would make Lamexp better.

marcosatti commented 8 years ago

Should also add that I followed the docs/manual.html guide when I git cloned the repo.

lordmulder commented 8 years ago

LameXP requires Qt 4.x, it is not ported to Qt 5.x yet. And the last time I tried Qt 5.x there were still some issues. Porting everything to Qt 5.x is on my "TODO" list for a future release.

You can find the official Qt 4.8.7 release here: http://download.qt.io/official_releases/qt/4.8/4.8.7/

You will need to install this in order to get the Qt tools (moc, uic, etc.) and the required Qt header files. Don't forget to set QTDIR environment variable to your install dir! But, as you see, there is no package for VS2013 or VS2015. So you can not use the pre-compiled .lib and .dll files they provide.

You have to build Qt 4.8.7 yourself with VisualStudio 2015, which can take a couple of hours. Either that, or you just grab my Qt builds for VS2013 and VS2015 from here: http://sourceforge.net/projects/lamexp/files/Miscellaneous/Qt%20Libraries/4.8.7/MSVC-2015/

Finally, getting your first build to work will probably be easier using my "all in one" package: LameXP.2015-12-12.Source-AllInclusive.tar.xz

Regards, MuldeR

Hi, how do we get this to build on VS2015? I have downloaded both the Qt 486 (7 does not exist?) and 551 sources, but they both do not completely achieve a build It seems like some source files require 48 and others 55 Havent used the Qt library before so Im not sure about that

I am trying to build the Debug/Win32 config if that matters

In the end I want to add support for encoding all tags across conversions The nero acc tagger supports this so it should be possible I'm trying to organise my music library by tagging them first with musicbrainz picard then converting Of course I could do it after conversion but I figure this would make Lamexp better

— Reply to this email directly or view it on GitHub https://github.com/lordmulder/LameXP/issues/35.

lordmulder commented 8 years ago

I further improved the build instructions today: https://github.com/lordmulder/LameXP/blob/master/doc/Manual.md#developer-center

Please let me know if there are any open questions...

Regards, MuldeR

marcosatti commented 8 years ago

Sorry for the late reply, been a bit busy lately. I tried again building about a week ago and got further this time.

The Qt part compiled correctly this time (had to do a build clean as the 5.x was conflicting with the 4.x).

Everything compiled correctly, but at runtime it said could not find MSVCR100D.DLL (or it could have been 110D.DLL) which I believe is the VS2010 DLL... Some component is still configured for VS2010 but not sure which. I'll have to look into it.

lordmulder commented 8 years ago

What Visual Studio version are you using to build LameXP? Unless you are using VS2010 or V2008, you can not use the pre-compiled Qt 4.8.x DLL's from the Qt web-site! For VS2013 or VS2015, you have to build the Qt 4.8.x DLL's yourself. Or you simply grab my binaries, which are also linked in the guide.

Anyway, be sure you exactly follow the guide – especially the sections about the Directory Layout and the Environment variables are important! Be sure to set up all the Qt stuff correctly :wink:

BTW: You can always use Dependency Walker to see which DLL dependencies you have. Very useful!

marcosatti commented 8 years ago

Hi, got it to build the debug and static configurations eventually. Didnt have the Qt libraries in the correct place. Silly me :)

Thanks for the help!

(By Qt libraries I mean the ones you provided)