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

Windows Visual Studio 2015 error C2177: constant too big #47

Closed
bho008 opened this issue Apr 29, 2016 · 10 comments
Closed

Windows Visual Studio 2015 error C2177: constant too big #47

bho008 opened this issue Apr 29, 2016 · 10 comments
Labels

Comments

@bho008
Copy link

bho008 commented Apr 29, 2016

Hello, I'm trying to build VizDoom using Windows 10 x64 and I'm getting tons of error of constant too big. I followed all the directions listed on zdoom, which worked perfectly fine. After adding the boost libraries and using the ViZDoom source, there's thousands of errors of constant too big.

@wjaskowski
Copy link
Collaborator

For Windows we recommend the binary version. Anyway, could you show the
error log?

Wojciech Jaśkowski, Ph.D.
Laboratory of Intelligent Decision Support Systems
Institute of Computing Science
Poznan University of Technology, Poland
http://www.cs.put.poznan.pl/wjaskowski

On 29 April 2016 at 05:34, bho008 [email protected] wrote:

Hello, I'm trying to build VizDoom using Windows 10 x64 and I'm getting
tons of error of constant too big. I followed all the directions listed on
zdoom, which worked perfectly fine. After adding the boost libraries and
using the ViZDoom source, there's thousands of errors of constant too big.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#47

@bho008
Copy link
Author

bho008 commented Apr 29, 2016

vizdoomErrorLog.txt

Here's an error log. I'm having trouble running the python scripts on the precompiled binaries using Windows x64 also, but I'm still investigating that.

@wjaskowski
Copy link
Collaborator

Not a solution but two relevant stories:

  1. https://community.trinitycore.org/topic/12039-i-have-this-problem

http://quabr.com/34597039/compiling-with-boost-in-windows-10-results-in-errors-asio

On 29 April 2016 at 06:51, bho008 [email protected] wrote:

vizdoomErrorLog.txt
https://github.com/Marqt/ViZDoom/files/241786/vizdoomErrorLog.txt

Here's an error log. I'm having trouble running the python scripts on the
precompiled binaries using Windows x64 also, but I'm still investigating
that.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#47 (comment)

@VSZM
Copy link

VSZM commented Aug 13, 2016

Is there any workaround for this one? I started out my project on ubuntu, but I couldn't find a working .wad editor.. Slade couldn't compile the scripts due to the lack of ACC.

I figured I try it on windows, and there I could edit the maps to my liking. This I did in windows fine, but building VizDOOM has been a half a day nighmare and I'm stuck at this issue now..

@mwydmuch
Copy link
Member

mwydmuch commented Aug 14, 2016

Yeah, building Windows version is a little pain due to all these paths. That's why we are providing compiled version. Why do you want to do it by yourself?

I'm using Win7, VS2013, CMake 2.8, Boost 1.59 to build ViZDoom for Windows and I haven't encountered any problem when compiling.

I found the information that downgrading CMake may help.
I would try also to select older Platform Toolset.
Also, ViZDoom's CMake generates only x64 targets so maybe some 32/64bit version conflict?

Sorry if that wasn't much help, I don't have knowledge about all that Win/VS stuff.

@VSZM
Copy link

VSZM commented Aug 14, 2016

Compiled version? Ohh crap, I kind of missed the line in the Readme.md.. thanks!

@mwydmuch
Copy link
Member

There is information in README.md under Building -> Windows.

Link to 1.1.0pre version:
https://github.com/Marqt/ViZDoom/releases/download/1.1.0pre-CIG2016-warm-up-fixed/ViZDoom-1.1.0pre-CIG2016-warm-up-Win-x86_64.zip

For other versions see "releases" tab.

@neroes
Copy link

neroes commented Nov 21, 2016

seems to be a incompatibility issue with windows 10 and the windows 8.1 sdk which is used in zdoom

@neroes
Copy link

neroes commented Nov 21, 2016

essentially it uses a variable to know what to do depending on os, no such value exist for windows 10 and it causes it to just read from memmory

@mwydmuch
Copy link
Member

Good to know, thank you @neroes. Probably it will be fixed in next ZDoom released, then we will update engine version.

akolishchak pushed a commit to akolishchak/ViZDoom that referenced this issue May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants