Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Compilation Errors #10

Open
ghost opened this issue Mar 28, 2017 · 11 comments
Open

Compilation Errors #10

ghost opened this issue Mar 28, 2017 · 11 comments

Comments

@ghost
Copy link

ghost commented Mar 28, 2017

I am using Windows 10 and I have been following the instructions on http://fw4spl.readthedocs.io/en/dev/Installation/src/WindowsInstall.html. In the cmake-gui, I did not use the generator NMake Makefiles JOM but instead I used Visual Studio 15 2017 Win64. The generation was successful. Now I used Microsoft Visual Studio 2017 to compile the dependencies by using the BinPkgs solution file but I am getting these errors below.

I also have log files: logfiles.zip

capture

By the way, I have read in https://github.com/fw4spl-org/fw4spl-deps/issues/9 that you mentioned that a precompiled binary will be released for Windows, are there any available?

@greenjava
Copy link
Member

Hi,
Thank you for your interest with fw4spl and submitting your issue.
Visual Studio 2017 in not yet supported to build fw4spl and fw4spl-deps.

Currently only Visual 2015 (as mentioned in the doc) is officially supported.

Precompiled dependencies for Windows/Linux/macOS and Visual 2017 support is planned in the coming months.

Sorry for the inconvenience

@ghost
Copy link
Author

ghost commented Mar 29, 2017

Hi, this time I used the Visual Studio 14 2015 Win64 generator in the cmake-gui and the generation was successful. Now I used Microsoft Visual Studio 2015 to compile the dependencies by using the BinPkgs solution file and I am getting some errors. Can you help me out?

I also have log files: Logfiles.zip

capture

If you do not have precompiled binaries for Visual 2017, do you have any for 2015?

@greenjava
Copy link
Member

Hi,
OK, I recommend using the generator "NMake Makefiles JOM" to compile the dependencies (it's faster and it's the method we use here). I note the issue with this generator, thank you for your comment.
I'll try to upload MSVC2015 binaries today.

@ghost
Copy link
Author

ghost commented Mar 29, 2017

Hi, I did not use Jom since there were again errors occurring during the source code compilation which I could not solve. Jom also provides precompiled binaries but their link is broken (even the archives for the older versions). I had no choice but to use the Visual Studio generator.

Thanks, I appreciate your help and I'll be looking forward to the binaries.

@greenjava
Copy link
Member

hum, strange, I have no problem to download jom (did you look here: https://wiki.qt.io/Jom ?)

The compilation with Visual Studio generator (compared to the Makefile generator) is different for some project, libarchive for example adds specific flags /weXXXX for debug build 😞. It requires to patch many lib.

I'll run the build to provide a clean precompiled version (we'll try to automate this for future versions 😉).

@ghost
Copy link
Author

ghost commented Mar 29, 2017

Yes, this is the page that is redirected when I try to download Jom. I also tried emailing the server administrator but didn't get any response from them. Could you possibly upload the file for me here? Maybe if I can install Jom, maybe creating the binary would be easier for you.

capture1

@greenjava
Copy link
Member

Ok, the download mirror site proposed is down (jaist.ac.jp), embarrassing...
You can force the download on another mirror here:
Https://download.qt.io/official_releases/jom/jom_1_1_2.zip.mirrorlist
(http://master.qt.io/official_releases/jom/jom_1_1_2.zip seems ok)

@ghost
Copy link
Author

ghost commented Mar 29, 2017

Thanks I'll try it out. Please let me know when the binaries are ready!

@greenjava
Copy link
Member

greenjava commented Mar 29, 2017

I've uploaded a debug and release version (tag 11.0.4) of the dependencies (built with Visual 2015 in x64):

It's not yet "official" versions (kind of beta version), the process need to be automated in build farms.

@ghost
Copy link
Author

ghost commented Mar 30, 2017

Thanks for your help!

Sorry to bother you :( but I'm also having trouble building fw4spl in the cmake-gui with fw4spl-ar and fw4spl-ogre as the ADDITIONAL_PROJECTS. What could be the problem? Would it be too much to ask for a precompiled binary for fw4spl also? Thanks.

capture

1

2

@greenjava
Copy link
Member

Hi,
The problem here is in ADDITIONAL_PROJECTS value,
you must write CMake path in unix-style, with "/":
C:/FW4SPL/fw4spl/Dev/Src/fw4spl-ar;C:/FW4SPL/fw4spl/Dev/Src/fw4spl-ogre

Precompiled binary version for fw4spl is planned (it's the next cool feature), but this requires a lot of work for everything work properly (due to the particular 'bundle' architecture of fw4spl).

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

No branches or pull requests

1 participant