This is a bit cryptic, but here's the info I have...
My Makefile looks something like:
Code:
INCDIR = -I~/HDKProjects/Hydrous2/WaveTools2/WaveTools/ \
-I~/HDKProjects/MLInclude/ \
-I~/HDKProjects/Hydrous2/OPs/Standalone
# ....
%.o: %.C
$(CC) $(OBJFLAGS) $(INCDIR) -DMAKING_DSO $(TAGINFO) $< $(OBJOUTPUT)$@
#.....
... there's more to it, but those are the important bits & what I'm currently trying to compile.
The first file it tries to compile has an include like so:
Code:
#include <SampledWave.h>
Where SampledWave.h is in ~/HDKProjects/Hydrous2/WaveTools2/WaveTools/
However, when I try to compile, I get a "fatal error, can not open included file 'SampledWave.h': No such file or directory."
I've checked that I have read permissions. I've copy/pasted all paths from the make file into cygwin to be sure there are no spelling/capitalization errors, I've tried removing the '~' & using the full path, I've tried with a space after the "-I" & without. I've tried putting a link to ~/HDKProjects/Hydrous2/WaveTools2/WaveTools/ in /usr/include & then changed the #include to be <foo/SampledWave.h>. Nothing seems to work.
If it helps, this is what the makefile spits out for the compile line:
Code:
> make
c:/Progra~1/Micros~1.net/Vc7/bin/cl -TP -MD -GX -GR -c -DVERSION="8.0.383" -DI38
6 -DWIN32 -DSWAP_BITFIELDS -DDLLEXPORT="__declspec(dllexport)" -DSESI_LITTLE_END
IAN -DOFSTREAM_PERMISSIONS=", 0666" -Ic:/HFS80~1.383/toolkit/include -Ic:/HFS80
~1.383/custom/include -Ic:/Progra~1/Micros~1.net/Vc7/include -Od -I/home/BrianK
_Labs/HDKProjects/Hydrous2/WaveTools2/WaveTools/ -I~/HDKProjects/MLInclude/ -I~/
HDKProjects/Hydrous2/OPs/Standalone -DMAKING_DSO -DUT_DSO_TAGINFO='"3262197cbf3f
480637af0c866b3b93ef0b43d0e2cc37cbbd73a8c3063d69ee812b972985db32267a5946d9fd22da
42591beee110fdd3e354470c2fe1779ae5d85bac55b0e8b84994a3268d0847ba11bef254d59d8ef0
8d6df2b8711915198141fe4ce6558d2b83"' HT_Ocean.C -FoHT_Ocean.o
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
HT_Ocean.C
c:\cygwin\home\BrianK_Labs\HDKProjects\Hydrous2\Vex\HT_Liquid.h(25) : fatal erro
r C1083: Cannot open include file: 'SampledWave.h': No such file or directory
ideas?