Hi,

I'd like to build Stellarium for Windows 8.1 (64-bit) using VS2015. I
followed the instructions on the wiki as closely as possible with a couple
of (hopefully unimportant) changes:

* I'm using Visual Studio 2015
* I'm using Qt 5.3.2 (msvc2013_64_opengl)

I installed the dependencies (including PATH and zlib although these may
not be needed anymore). CMake executed fine with the following output:

Found Qt5: F:/Qt5/5.3/msvc2013_64_opengl/bin/qmake.exe (found suitable
version "5.3.2")

Configuring done

Generating done


I then created a new project in Visual Studio with the path
F:/Stellarium-Source/stellarium (note my build path is
F:/Stellarium-Source/builds/trunk-msvc).


When I select "Build" after clicking Stellarium in the solution explorer I
receive lots of missing headers errors such as:


1>------ Build started: Project: Stellarium, Configuration: Debug x64 ------
1>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(936,5):
warning MSB8027: Two or more files with the name of main.cpp will produce
outputs to the same location. This can lead to an incorrect build result.
The files involved are src\main.cpp, util\locations-editor\main.cpp.
1>  main.cpp
1>f:\stellarium-source\stellarium\util\locations-editor\main.cpp(21): fatal
error C1083: Cannot open include file: 'QApplication': No such file or
directory
1>  LocationListModel.cpp
1>f:\stellarium-source\stellarium\util\locations-editor\locationlistmodel.hpp(24):
fatal error C1083: Cannot open include file: 'QAbstractTableModel': No such
file or directory


I tried adding the Qt include and library path to the project configuration
but it's still failing.


Has anyone else tried VS2015?


Many thanks,

Thomas
------------------------------------------------------------------------------
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to