compiling error

Get help with installing and running the Cafu Engine here. This forum is also for general questions and discussion of all aspects regarding the Cafu Engine.
Post Reply
modified001
Posts: 3
Joined: 2012-02-23, 18:20

compiling error

Post by modified001 » 2012-02-23, 18:28

when i compile the engine i get this:

scons: done reading SConscript files.
scons: building Targets...
scons: building associated VariantDir targets: build\win32\vc10\x86\debug build\
win32\vc10\x86\release
scons: *** [build\win32\vc10\x86\release\Ca3DE\AppCafu.obj] Source `Ca3DE\AppCaf
u.cpp' not found, needed by target `build\win32\vc10\x86\release\Ca3DE\AppCafu.o
bj'.
scons: building terminated because of errors.


what do i do to fix this?
modified001
Posts: 3
Joined: 2012-02-23, 18:20

Re: compiling error

Post by modified001 » 2012-02-24, 03:15

well i fixed it ... kinda... it didn't create an .exe for anything tho... so what now
User avatar
Carsten
Site Admin
Posts: 2169
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: compiling error

Post by Carsten » 2012-02-24, 11:34

Hi modified001,
welcome to the Cafu forums! :welcome:
modified001 wrote: scons: *** [build\win32\vc10\x86\release\Ca3DE\AppCafu.obj] Source `Ca3DE\AppCafu.cpp' not found, needed by target `build\win32\vc10\x86\release\Ca3DE\AppCafu.obj'.
scons: building terminated because of errors.

what do i do to fix this?
Well, the error message is pretty clear, isn't it?
The question is why it couldn't find the Ca3DE\AppCafu.cpp source file. You didn't provide any information about that, but did you download the proper compressed source code archive, and did you un-zip it properly (preserving directory hierarchy)? Running from the right working directory?
well i fixed it ... kinda... it didn't create an .exe for anything tho... so what now
How did you "fix" it?
What is the output?
Best regards,
Carsten
modified001
Posts: 3
Joined: 2012-02-23, 18:20

Re: compiling error

Post by modified001 » 2012-02-24, 17:29

well i ended up having to copy everything into the folder that contained scons.
currently im completely reinstalling to fix the hierarchy that i ended up creating in the process. it was a travesty. basically, i was stumbling around in the dark until i figured out that everything was out of place. now i kinda have an idea of what to do. should all files have to be in the same dir as scons? because that was how i got it to compile.... finally.
User avatar
Carsten
Site Admin
Posts: 2169
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: compiling error

Post by Carsten » 2012-02-24, 23:21

If you unzip the downloaded archive file correctly (most programs do this right by default these days), your directory structure should like like this:
http://trac.cafu.de/browser/cafu/trunk

It should not be necessary to move around any files manually.

Once you got that, you should be able to proceed exactly as described at Getting Started with the Cafu Source Code.
Best regards,
Carsten
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests