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

Visual Studio 2015 Compile #936

Open
wazahuis opened this issue Sep 15, 2016 · 3 comments
Open

Visual Studio 2015 Compile #936

wazahuis opened this issue Sep 15, 2016 · 3 comments

Comments

@wazahuis
Copy link

Hi,

Can we have updated instructions on how to compile with the most recent versions as VS 2010 is very old: (as I have VS 2015 already installed on my system)

Windows 10 (x64)
Visual Studio 2015
QT 5.7

I tried with VS 2015, downloading latest Java x32, QT 5.7 x32, cmake 3.6.2 x32. GIT appears to be already installed on my system.

However I get the following
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:5 (project):
No CMAKE_C_COMPILER could be found.

CMake Error at CMakeLists.txt:5 (project):
No CMAKE_CXX_COMPILER could be found.

-- Configuring incomplete, errors occurred!
See also "C:/build/CMakeFiles/CMakeOutput.log".
See also "C:/build/CMakeFiles/CMakeError.log".

@satsuper
Copy link
Contributor

Did you change the cmake generator?
It will need to be cmake -G "Visual Studio 14 2015"

There might be breaking changes so its not as simple as updating the instructions.
I suggest checking out this stackoverflow answer to get a link to download VS2010 http://stackoverflow.com/questions/3061811/how-to-get-download-link-to-vs2010-express-for-use-in-a-download-manager

@wazahuis
Copy link
Author

Thanks so much for the reply. No "Visual Studio 14 2015" option still came up with same error. I was hoping to use an existing VS2015 to avoid installing a new VM for this (don't want to corrupt my VS2015 dev environment) so...

Anyway I created a new machine Windows 10 (x64) machine with those instructions. One difference I noted is " QMake path e.g C:\QtSDK\bin" but QT default installs to C:\QT\Qt5.2.1. so I assume the path should point to: C:\Qt\Qt5.2.1\5.2.1\msvc2010\bin

Anyway I have done as per the instructions but fails....

C:\build>cmake -G "Visual Studio 10" ..\webodf
-- WebODF version 0.5.10-10-g788820e
-- external downloads will be stored/expected in: C:/build/downloads
-- Android was not found: APK will not be built.
No license was found for ..\programs\editor\FileSaver.js
CMake Error at webodf/CMakeLists.txt:12 (include):
include could not find load file:

C:/build/jsfileslist.txt

-- Configuring incomplete, errors occurred!

@satsuper
Copy link
Contributor

Thats a generated file from memory, I would see if the step to generate it ran correctly here https://github.com/kogmbh/WebODF/blob/master/webodf/CMakeLists.txt#L8

I don't have a working build of this myself so you may have to do further debugging of these dependencies on your own.

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