Compiling Blender

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Compiling Blender

Post by jimbo »

hallo all,

i know there are a lot of threads about this, but i dont get it work.
here my informations about my system:
- Windows2000
- Microsoft Development Environment 2002 Version 7.0.9955
- Microsoft .Net Framework 1.0 Version 1.0.3705

did it how this tutorial wrote, but dont work.

http://home.pacbell.net/c_keith/project ... strap.html

want to compile C:\blender\blender\intern\make\msvc_6_0
build_install_all and get errors like this here

MEM_Allocator<_Tp>kann nicht in MEM_Allocator<_TP> konvertiert werden.

and many more. did anybody have a good tutorial for me????


best regards

jimbo

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

hi hallo,

so i have changed in the *.vcproj the value 7.10 to 7.00 and now i can use the projekt for .net.
so i only have one error.
when i want to build blender.vcproj i get the error

blender fatal error LNK1104: Datei 'ftgl_static.lib' kann nicht geoeffnet werden

i cant find this file. does anybody know where i can get it.

best regards,

jimbo

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

now i found it.
but my next problem is that i dont have *.lib files under for example líb/windows/SoundSystem/... generated only *.a files. what did i wrong???

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

hallo all,

know i got everything right, i think.
i have compiled the intern projekts, extern projekts but when i going to compile the blender.sln then i get a lot of compiler errors like "semicolon is missing" and so on. but everything is allright with the code.
what could that be???

hope someone can help me

best regards

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv »

The first error msg is always more important than the last ones.

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

ok here is my first compiler error. (german)
error LNK2001: Nichtaufgeloestes externes Symbol _datatoc_Bfont

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

hallo stiv,
know i gave you my first error. can you help me know???
it is really important for me.

error LNK2001: not dissolved external symbol _datatoc_bfont

i hope this is the correct translation

best regards

jimbo

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv »

not dissolved external symbol
A better translation is "unresolved external symbol".
This means the linker could not find a name.

Usually, either a file did not get compiled or a library was
not named in the link command.

Look for problems with Bfont.o or libsrc.a

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

hallo stiv,

perhaps this is my problem.
i dont have these files.
i only have the Bfont.obj but this must be the same as *.o?

best regards

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv »

Doh! I am having the same problem translating from unix that you are having translating from deutsch. Sorry.

*.o == *.obj
*.a == *.lib

If Bfont is getting compiiled, and put into library, then the problem is because the library is not linked.

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

hello all,

im getting mad. i dont get blender work.
today i download the latest blender source via cvs. know i get new errors when i will compile the intern project. i have .net 7.0 so i use the project for visual studio 6.
here are my errors.

- error c440:default argument: MEM_Allocator<_Tp> cant be converted to MEM_Allocator<_Typ> (my translation :-) )
- error PRJ0019: Error from Python freeze
so i looked in my project options and i found an entry which will use the freeze.bat file but i dont have this file. how can i get it.

please help

jimbo

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

hallo all,

can someone give me a link to a tutorial.
i have really big problems with compiling blender.

please help me!!!!

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

hallo all,

know i have done a lot!!!
so i can compile the complete intern project.
but if i want to compile the blender project i get this errors.
Project->BPY_python:
error C2078: to many initializers (my translation)
fatal error C2083: cant find include file "strings.h"
what is strings.h???

best regards

jimbo

stiv
Posts: 0
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Post by stiv »

strings.h is one of the standard C include files. Not finding this means your compiler environment is not set up properly.

Python freeze stuff is old and no longer used.

Did you see this:
http://www.blender3d.org/cms/Building_B ... 117.0.html

jimbo
Posts: 0
Joined: Tue May 30, 2006 8:56 am

Post by jimbo »

hi stiv,

thank you for your help.
is strings.h a standard C include i thought only string.h.
at what version of blender is freeze no longer in use?

best regards

jimbo

Post Reply