Line 217 C:\Dev-Cpp\Include\irrlicht\aabbox3d.h unknown escape sequence `\D'
Line 217 C:\Dev-Cpp\Include\irrlicht\aabbox3d.h unknown escape sequence `\I'
Line 217 C:\Dev-Cpp\Include\irrlicht\aabbox3d.h unknown escape sequence `\i'
The problem does not seem to be code related, since the line numbers for the errors point to blank lines with error-free code before and after them.
(Line 217 is blank and there are no escape sequences near it)
Has anyone come accross this problem and know how to fix it?
Thanks
I'm sorry,
How did you installed the irrLicht engine ?
I've installed irrlicht in Dev-CPP without any devPack.
You must download the compressed file (http://prdownloads.sourceforge.net/irrl ... p?download) and extract it where do u want (ex. c:\irrlicht) and then set up options (Includes, Library, Bin) in Dev-CPP.
For your problem:
Line 217 C:\Dev-Cpp\Include\irrlicht\aabbox3d.h unknown escape sequence `\D'
probabily you've used an incorrect escape sequence. For example, if you want to specify a path you must use this sequence: c:/myDir/myImg/img.jpeg and not c:\mydir... Because the character \ is used to define some "special" code (ex. \", \n, \t) ok ?
xancithus wrote:I have the newest version of Dev C++ and I got the Irrlicht devpak but it comes up with an error when I try to compile the sample programs
Line 217 C:\Dev-Cpp\Include\irrlicht\aabbox3d.h unknown escape sequence `\D'
Line 217 C:\Dev-Cpp\Include\irrlicht\aabbox3d.h unknown escape sequence `\I'
Line 217 C:\Dev-Cpp\Include\irrlicht\aabbox3d.h unknown escape sequence `\i'
The problem does not seem to be code related, since the line numbers for the errors point to blank lines with error-free code before and after them.
(Line 217 is blank and there are no escape sequences near it)
Has anyone come accross this problem and know how to fix it?
Thanks
i believe ive come across this before, it normally means a file has a corrupt character somehow, try deleting the space it points to then re-writing anything you removed. (make sure to write down exactly what was there.)
I think Master85 pointed to the correct thing. Compare the error chars \D, \I, and \i with the path of the files: \Dev-Cpp\Include\irrlicht. You find exactly those chars in this path. So somewhere you wrote a backslash without esacping it with another backslash. Or use slashes if appropriate,
Yeah I had noticed that... but considering the devpak should install it properly I taught it was somethign else...
I had tried using the normal irrlicht download... but it gave me the same errors..
Where might there be a path that needs to be changed? In the compiler or the code? I'll have a look through the header files later and see if there is anything that needs to be changed
I find the using the "browse button" when linking to libs and folders works great.
Check your code where you are linking to a folder...models, textures, ect...
If it exists in the real world, it can be created in 3d
For your problem:
Line 217 C:\Dev-Cpp\Include\irrlicht\aabbox3d.h unknown escape sequence `\D'
probabily you've used an incorrect escape sequence. For example, if you want to specify a path you must use this sequence: c:/myDir/myImg/img.jpeg and not c:\mydir... Because the character \ is used to define some "special" code (ex. \", \n, \t) ok ?
Sounds like you have a path with the slashes going the wrong way to me.
I looked through the header files, the sample program and my compiler options and stuff and nothing seems to be wrong....
aabbox3d.h is where the error is meant to be... but there is nothing there. there are no paths (as far as I could tell) in any of the header files related to that one or in the sample program... I'm at a loss...
Maybe it's the include path you entered into your project settings. It might be a problem with including aabbox3d.h, not a problem inside the file. Try to remove the paths and set them using the file chooser.