Sign in to follow this  
uncutno

Remember 8 character folder names!

Recommended Posts

Visual C++ 6.0, can't include files or libraries if they have folders with more then 8 character names in their filepaths... imagine my debugging problems to find this out! im upgrading :-) This post is ment to create a smal alarm back in your head, that fires when you get problems with your #includes and your linking. Im satisfied if this post makes ONE person skips the hasle to find this problem :-)

Share this post


Link to post
Share on other sites
You think that's annoying?

DJGPP refuses to work with files in the top-level directory 'dev' (presumably because it looks like UNIX's device path, not that I can see why it would require any special handling).
And of course I neatly keep all of my development projects there. It took a while to figure that one out..

Anyway.. That's strange, since it always worked for me. Even my unpatched version of VC5 used to handle them.
Try removing any special characters (especially spaces) out of the path just to be sure.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
It says that in the file 'readme.1st', which, as the name implies, is something you should have read first.

Quote:
WARNING: do NOT install DJGPP in a directory C:\DEV, D:\DEV, etc., or in any of their subdirectories: it will not work! See the FAQ for more details.


From the FAQ:

Quote:

22.21 The dark secrets of the /dev/ directory...

================================================



_*Q*: All DJGPP programs cannot find files in the `d:\dev' directory, but

work okay in other directories. What is going on here??_





_*Q*: I installed DJGPP in the `e:/dev/djgpp', and it doesn't work!_





*A*: This is an unfortunate side-effect of the special treatment given to the

`\dev' directory on each drive. DJGPP transparently supports Unix-style

devices such as `/dev/null' and `/dev/tty', so that programs ported from Unix

that refer to these devices will work. Unfortunately, due to a half-hearted

way DOS and Windows support devices, the DJGPP library must treat the `\dev'

directory specially. The net effect is that if you have a real directory by

that name, you will get erratic behavior.



A work-around is either to rename the `\dev' directory to some other name,

like `\devel', or move it down the directory hierarchy, for example make it

`d:\software\dev'. (The special treatment is only reserved to the `\dev'

directories immediately under the root of every drive.)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this