Page 1 of 1

compile trouble DNA.C not found

Posted: Mon Aug 04, 2003 8:51 am
by monocult
Hi

I have compile tuhopuu some times without any trouble, but now I become an error about makesdna DNA.C not found??

pleas help.

Image

Posted: Mon Aug 04, 2003 10:27 am
by Timothy
is it there? and readable? if not make it so,..

`

Posted: Mon Aug 04, 2003 10:44 am
by monocult
Timothy wrote:is it there? and readable? if not make it so,..

`
there is no file called DNA.C but in the directory is a makesdna.o and a makesdna.exe

Posted: Mon Aug 04, 2003 1:50 pm
by EvilEngel
I had the same "problem" when I first tried to compile blender.

DNA.c does not exist in the source tree. It is generated by the makesdna program. If you look in the makesdna makefiles you'll see some notes about that. It is supposed to be created by the build process, but until you figure out why it wasn't, run makesdna in the directory where you want it. You will probably have to move the DNA_*.h files to the directory where makesdna expects them. (I can't give you specific details, as I'm compiling in windows). Let me know how it goes.

Posted: Tue Aug 05, 2003 4:19 am
by Hos
Is your disk full?

Chris

Re: compile trouble DNA.C not found

Posted: Wed Aug 06, 2003 11:16 am
by _florian_
try to delete the files in obj/windows/blender/makesdna.
then make again. i had exactly the same error and this helped.

florian

*edit* oops: delete files in obj/windows/blender/makesdna/debug/

Posted: Wed Aug 06, 2003 12:44 pm
by monocult
thank you

i have try your tips but the error is always the same.

Posted: Wed Aug 06, 2003 1:03 pm
by _florian_
monocult wrote:thank you

i have try your tips but the error is always the same.
fu**. cvs diff didn't report correctly yesterday. i have changed a line.


sorry!!

here the diff. its just an added slash so you can edit your Makefile in blender/source/blender/makesdna/inter/ manually...

florian

Code: Select all

Index: Makefile
===================================================================
RCS file: /cvsroot/tuhopuu/blender/source/blender/makesdna/intern/Makefile,v
retrieving revision 1.3
diff -r1.3 Makefile
92c92
< $(DIR)/$(SHARED_DIR)$(DEBUG_DIR)DNA.o: $(DIR)/$(DEBUG_DIR)DNA.c
---
> $(DIR)/$(SHARED_DIR)/$(DEBUG_DIR)DNA.o: $(DIR)/$(DEBUG_DIR)DNA.c