compile trouble DNA.C not found

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
monocult
Posts: 17
Joined: Wed Oct 16, 2002 2:28 pm
Location: Siegburg (germany)
Contact:

compile trouble DNA.C not found

Post 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

Timothy
Posts: 93
Joined: Sun Sep 29, 2002 3:20 pm
Contact:

Post by Timothy »

is it there? and readable? if not make it so,..

`

monocult
Posts: 17
Joined: Wed Oct 16, 2002 2:28 pm
Location: Siegburg (germany)
Contact:

Post 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

EvilEngel
Posts: 6
Joined: Wed Oct 16, 2002 1:09 am

Post 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.

Hos
Posts: 185
Joined: Wed Oct 16, 2002 12:06 am

Post by Hos »

Is your disk full?

Chris

_florian_
Posts: 35
Joined: Wed Oct 16, 2002 10:17 am

Re: compile trouble DNA.C not found

Post 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/

monocult
Posts: 17
Joined: Wed Oct 16, 2002 2:28 pm
Location: Siegburg (germany)
Contact:

Post by monocult »

thank you

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

_florian_
Posts: 35
Joined: Wed Oct 16, 2002 10:17 am

Post 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

Post Reply