-
Notifications
You must be signed in to change notification settings - Fork 163
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
Fixes for building with VS 2013 #249
Conversation
…se pre-built third-party libs are compiled with VS2012)
… with it + compile more cpp files.
Thank you! A couple of comments:
|
Thanks for your quick response. |
Hi,
Maybe we could merge some of my modifications into the branch develop. By the way, it seems that the link to the continuous builds in readme.md are broken. What do you think? |
Hello, as @rkwright and @DennisPopovDn were mentioned in this discussion thread, GitHub will notify them via email. Regarding Jenkins continuous integration / automated build system: yes, the links are broken in the readium-sdk README: https://github.com/readium/readium-sdk/blob/develop/Readme.markdown |
PS: ideally this PR would be reviewed by Windows developers. |
I see you introduced zlib as an external dependencies (Git submodule) from https://github.com/madler/zlib |
OK, I will wait for @rkwright and @DennisPopovDn to provide some comments.
Do you know why @rkwright and @DennisPopovDn did not merge their work into develop? |
Related: #168 |
Similar PR? |
This issue (I believe) is independent from the managed / CXX layers (WinRT, etc.) implementations: #112 |
I finally understand the sequence of issues that I faced.
For a newbie, it is really confusing. |
I propose the following actions: In repo SDKLauncher-Windows
In repo readium-sdk
Is it ok for you ? |
@menuet The problems with this approach are many, unfortunately. The work was done a long time ago by myself and Dennis Popov. The work done by Dennis included some changes to how memory was managed which will potentially impact both iOS and Android (since the code is shared). Before we can merge the code even into develop, the changes that Dennis made need to be reviewed by one (or more) of the iOS developers and one (or more) of the Android developers. None of the iOS or Android developers has volunteered to do this work. In addition, the code in the Launcher feature branch needs to be upgraded to VS2015. Another missing part is that there is additional non-trivial work that needs to be done to the Windows Launcher to make it truly functional. This includes the MathJax injection, Reading System Object work and obfuscated fonts support. What I suggest is that you attend next week's Readium SDK engineering meeting (1600 UTC on Wednesday, 6 July. Then we can all discuss this live and try to work out a plan. We would love to have have you participate, but it needs to be done carefully as the SDK is production code used by a number of companies for commercial use. Please let me know your email address and I can be sure to send you the meeting's agenda. Alternatively, you could simply join the Readium mailing list. Also see the Communication page here: http://readium.github.io/communication.html |
@rkwright, thanks for your explanations. |
@rkwright @menuet I am working on a port of code for visual studio 2015 and (2013 if expected). |
Great ! If the readium-sdk can be built using the same meta-build system in every platforms, this would be awesome. (although I don't like gyp very much because of its akward documentation) |
This pull request is a Work In Progress
I have fixed many warnings and errors when trying to build with VS 2013.
I had to change many things in ePub3/_compiler.h. I don't know if I made the right decisions. So feel free to tell me if you think it is not appropriate.
At least, my modifications should not affect non-VS compilers.
I have added the submodule in ePub3/ThirdParty/zlib so that when we build the project ePub3.vcxproj, it first builds the library zlib with cmake and then link with it instead of the prebuilt library Prebuilt\Lib\Platform\zlib.lib.
On my machine this compiles and links without error.
But there are still some link warnings due to the fact that we link with the VS2012-prebuilt libxml.
I plan to fix that problem later.