Includes and subdirectories
- Posted by Scott Murray <FaIkon1313 at AOL.COM> Apr 24, 1999
- 420 views
Is there a workaround or fix for the inability to include from subdirectories yet? I feel sure somebody must've found a way to do it, but I must've missed it. What I mean, is that I've got my .ex program source in a directory, and all the includes in a subdirectory, which works fine except that most of the includes include each other and they're not resolved properly by the interpretor. --c:\dev\euphoria\projects\test.ex include gui\all.e --works --c:\dev\euphoria\projects\gui\all.e include dialog.e --crashes with "can't open --c:\dev\euphoria\include\dialog.e or --c:\dev\euphoria\projects\dialog.e" include gui\dialog.e --seems to indicate that it should look in --c:\dev\euphoria\projects\gui\gui\, but --it doesn't, it looks in the right place, however --dialog.e includes another one of the files, so it --crashes anyway. :/ Of course, I can go through all 30 includes and resolve the pathnames manually, but that seems to obliviate the purpose of using relative pathnames... OTOH, I could just dump all 352 .e files on my hard drive into the EUDIR\Include directory, but besides the conflicts that'd just be messy. frustrated that I must've overlooked something obvious...