Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Instructions #35

Closed
marcosatti opened this issue Jan 13, 2016 · 6 comments
Closed

Build Instructions #35

marcosatti opened this issue Jan 13, 2016 · 6 comments

Comments

@marcosatti
Copy link

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
Copy link
Author

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

@lordmulder
Copy link
Owner

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
#35.

@lordmulder
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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 😉

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

@marcosatti
Copy link
Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants