error compilen: Cannot open source file

Apr 2, 2009 at 12:09pm
Hi,
I get this error when i compile:

Compiling...
baddie.cpp
c1xx : fatal error C1083: Cannot open source file: '..\baddie.cpp': No such file or directory
boxgun.cpp
c1xx : fatal error C1083: Cannot open source file: '..\boxgun.cpp': No such file or directory
buffer.cpp
c1xx : fatal error C1083: Cannot open source file: '..\buffer.cpp': No such file or directory
bullet.cpp
c1xx : fatal error C1083: Cannot open source file: '..\bullet.cpp': No such file or directory
camera.cpp
c1xx : fatal error C1083: Cannot open source file: '..\camera.cpp': No such file or directory
client.cpp
c1xx : fatal error C1083: Cannot open source file: '..\client.cpp': No such file or directory
clutter.cpp
c1xx : fatal error C1083: Cannot open source file: '..\clutter.cpp': No such file or directory
explosion.cpp
c1xx : fatal error C1083: Cannot open source file: '..\explosion.cpp': No such file or directory
gun.cpp
c1xx : fatal error C1083: Cannot open source file: '..\gun.cpp': No such file or directory
hud.cpp
c1xx : fatal error C1083: Cannot open source file: '..\hud.cpp': No such file or directory
human.cpp
c1xx : fatal error C1083: Cannot open source file: '..\human.cpp': No such file or directory
item.cpp
c1xx : fatal error C1083: Cannot open source file: '..\item.cpp': No such file or directory
level.cpp
c1xx : fatal error C1083: Cannot open source file: '..\level.cpp': No such file or directory
menu.cpp
c1xx : fatal error C1083: Cannot open source file: '..\menu.cpp': No such file or directory
minigun.cpp
c1xx : fatal error C1083: Cannot open source file: '..\minigun.cpp': No such file or directory
particle.cpp
c1xx : fatal error C1083: Cannot open source file: '..\particle.cpp': No such file or directory
pawn.cpp
c1xx : fatal error C1083: Cannot open source file: '..\pawn.cpp': No such file or directory
player.cpp
c1xx : fatal error C1083: Cannot open source file: '..\player.cpp': No such file or directory
region.cpp
c1xx : fatal error C1083: Cannot open source file: '..\region.cpp': No such file or directory
save.cpp
c1xx : fatal error C1083: Cannot open source file: '..\save.cpp': No such file or directory
Generating Code...
Compiling...
securityc.cpp
c1xx : fatal error C1083: Cannot open source file: '..\securityc.cpp': No such file or directory
shoot.cpp
c1xx : fatal error C1083: Cannot open source file: '..\shoot.cpp': No such file or directory
shotgun.cpp
c1xx : fatal error C1083: Cannot open source file: '..\shotgun.cpp': No such file or directory
soundmanager.cpp
c1xx : fatal error C1083: Cannot open source file: '..\soundmanager.cpp': No such file or directory
surprise.cpp
c1xx : fatal error C1083: Cannot open source file: '..\surprise.cpp': No such file or directory
texmanager.cpp
c1xx : fatal error C1083: Cannot open source file: '..\texmanager.cpp': No such file or directory
wall.cpp
c1xx : fatal error C1083: Cannot open source file: '..\wall.cpp': No such file or directory
wallmark.cpp
c1xx : fatal error C1083: Cannot open source file: '..\wallmark.cpp': No such file or directory
Generating Code...

I found much artikles about this problem, but i don't found how to solve this problem.

please help...
thank you
Apr 2, 2009 at 1:31pm
Do the files exist in the currect directory or the parent directory? The compiler is looking in the parent directory.
Apr 17, 2009 at 3:07pm
ok thank you!
Topic archived. No new replies allowed.