About Store Forum Documentation Contact



Post Reply 
Header include bug
Author Message
Rubeus Offline
Member

Post: #1
Header include bug
When including a file in EE 2 by clicking the properties of the application, it flips the first backslash to a forwards slash and gives a "Fatal error, can't find!" error.
Code:
C:\esenthel\projects\_build_\application 1\stdafx.h(1): fatal error C1083: Cannot open include file: 'C:/test.h': No such file or directory

Subsequent slashes face the correct direction.
(This post was last modified: 10-11-2013 06:48 PM by Rubeus.)
10-11-2013 06:47 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Header include bug
Hi,
I've tried using "d:\test\include.h" in app settings
and it generates: #include "d:/test/include.h" in code
which properly compiles on my VS 2008 pro.

Are you sure you've specified correct path?
On my PC (Win8) I can't even create files in root of "C:" system drive.
10-12-2013 01:59 AM
Find all posts by this user Quote this message in a reply
Rubeus Offline
Member

Post: #3
RE: Header include bug
It looks like it was just a bug with Win8/VS2012. After a massive update, it started working. Though I may have to 'downgrade'-2012 is just about as slow as molasses in the middle of winter.

FYI I had the test file in C:\ to help eliminate typos. It's just a matter of permission.
10-12-2013 01:52 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Header include bug
I'm still on VS 2008 as it's the fastest smile
10-12-2013 11:04 PM
Find all posts by this user Quote this message in a reply
Post Reply