Page 1 of 1

Compiling with MSVC6

Posted: Thu Sep 29, 2005 5:09 pm
by hannibar
When trying to compile I get the following errors when linking.
I just did a checkout, and also compiled intern.

Code: Select all

--------------------Configuration: blender - Win32 Release--------------------
Linking...
   Creating library ..\..\bin\blender.lib and object ..\..\bin\blender.exp
LINK : warning LNK4049: locally defined symbol ""public: bool __thiscall FTFont::CharMap(enum FT_Encoding_)" (?CharMap@FTFont@@QAE_NW4FT_Encoding_@@@Z)" imported
LINK : warning LNK4049: locally defined symbol ""public: __thiscall FTGLTextureFont::FTGLTextureFont(char const *)" (??0FTGLTextureFont@@QAE@PBD@Z)" imported
LINK : warning LNK4049: locally defined symbol ""public: __thiscall FTGLTextureFont::FTGLTextureFont(unsigned char const *,unsigned int)" (??0FTGLTextureFont@@QAE@PBEI@Z)" imported
LINK : warning LNK4049: locally defined symbol ""public: __thiscall FTGLPixmapFont::FTGLPixmapFont(char const *)" (??0FTGLPixmapFont@@QAE@PBD@Z)" imported
LINK : warning LNK4049: locally defined symbol ""public: __thiscall FTGLPixmapFont::FTGLPixmapFont(unsigned char const *,unsigned int)" (??0FTGLPixmapFont@@QAE@PBEI@Z)" imported
LINK : warning LNK4049: locally defined symbol ""public: virtual __thiscall FTGLPixmapFont::~FTGLPixmapFont(void)" (??1FTGLPixmapFont@@UAE@XZ)" imported
LINK : warning LNK4049: locally defined symbol ""public: virtual __thiscall FTGLTextureFont::~FTGLTextureFont(void)" (??1FTGLTextureFont@@UAE@XZ)" imported
LINK : warning LNK4049: locally defined symbol ""public: float __thiscall FTFont::Advance(unsigned short const *)" (?Advance@FTFont@@QAEMPBG@Z)" imported
LINK : warning LNK4049: locally defined symbol ""public: void __thiscall FTFont::BBox(unsigned short const *,float &,float &,float &,float &,float &,float &)" (?BBox@FTFont@@QAEXPBGAAM11111@Z)" imported
LINK : warning LNK4049: locally defined symbol "__iob" imported
BKE_blenkernel.lib(DerivedMesh.obj) : error LNK2001: unresolved external symbol _elbeemDebugOut
BL_src.lib(fluidsim.obj) : error LNK2001: unresolved external symbol _elbeemDebugOut
BL_src.lib(fluidsim.obj) : error LNK2001: unresolved external symbol _performElbeemSimulation
BL_src.lib(fluidsim.obj) : error LNK2001: unresolved external symbol _elbeemSetDebugLevel
..\..\bin\blender.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

blender.exe - 5 error(s), 10 warning(s)

Posted: Thu Sep 29, 2005 5:10 pm
by SirDude
do a cvs update and also do a make clean

that should fix it up.

Posted: Fri Sep 30, 2005 1:49 am
by hannibar
I hope I don't sound stupid, but how do you 'make clean' ? Is this a cvs feature? Or a MSVC6 feature? Or a make feature ? (which I don't use)

Posted: Fri Sep 30, 2005 7:32 am
by jesterKing
right click on a project (in the IDE) and choose clean. IIRC there is a clean all feature somewhere, too.

/Nathan

Posted: Sat Oct 01, 2005 6:15 pm
by bjornmose
The msvc6 projects are not up to date and
elbeem as it is on CVS does not compile
with msvc6 neither with scons nor with projects

see ->
http://projects.blender.org/pipermail/b ... 11952.html
and
http://projects.blender.org/pipermail/b ... 04576.html

BM

Posted: Mon Oct 10, 2005 1:59 pm
by hannibar
I tried compiling after n_l's recent commit that would solve the msvc6 compilation problems. It still doesn't work though. And I don't understand the code well enough to fix it myself.

These are the errors :

Code: Select all

F:\Blender Source\blender\intern\elbeem\intern\lbmfsgrsolver.h(2717) : error C2121: '#' : invalid character : possibly the result of a macro expansion
F:\Blender Source\blender\intern\elbeem\intern\lbmfsgrsolver.h(2717) : error C2121: '#' : invalid character : possibly the result of a macro expansion

Posted: Mon Oct 10, 2005 8:04 pm
by bjornmose
update your BF-tree and you'll have mscv6 project files + scons with msvc6 working :)

at least now 2005/10/10 20:00 CEST

BM