Maybe you have wrong Folders names? Never have such problems
Anyway:
1)Remove all #include in all files
2)then add them to the project by editor
or you can edit main file .dbpro in any text editor
3) it is important to declare files in specific ways.( Many functions use globals and functions which must be declared first)
4) Also Evolved once said that #include works faster then including file with editor.I ve tested this and get the same compile speed
in both ways.So I use including file by editor not #include
This is correct .dbpro file:
; **** source file information ****
main=Terrain.dba
LineMain=9
include1=Include/Advanced Lighting.dba
LineInclude1=0
include2=Include/Advanced Lighting/AL_Effect.dba
LineInclude2=0
include3=Include/Advanced Lighting/AL_Object.dba
LineInclude3=0
include4=Include/Advanced Lighting/AL_Lighting.dba
LineInclude4=0
include5=Include/Advanced Lighting/AL_Spot.dba
LineInclude5=0
include6=Include/Advanced Lighting/AL_Point.dba
LineInclude6=0
include7=Include/Advanced Lighting/AL_Directional.dba
LineInclude7=0
include8=Include/Advanced Lighting/AL_PostFilter.dba
LineInclude8=0
include9=Include/Advanced Lighting/AL_Sky.dba
LineInclude9=0
include10=Include/Terrain.dba
LineInclude10=0
include11=Include/Water.dba
LineInclude11=0
include12=Include/Materials.dba
LineInclude12=0