Compiling with MSVC6

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
hannibar
Posts: 50
Joined: Wed Oct 16, 2002 3:02 pm

Compiling with MSVC6

Post by hannibar » Thu Sep 29, 2005 5:09 pm

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)

SirDude
Posts: 233
Joined: Sun Oct 13, 2002 7:37 pm
Location: University of Minnesota (USA)
Contact:

Post by SirDude » Thu Sep 29, 2005 5:10 pm

do a cvs update and also do a make clean

that should fix it up.

hannibar
Posts: 50
Joined: Wed Oct 16, 2002 3:02 pm

Post by hannibar » Fri Sep 30, 2005 1:49 am

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)

jesterKing
Site Admin
Posts: 207
Joined: Fri Oct 18, 2002 12:48 pm
Location: Finland

Post by jesterKing » Fri Sep 30, 2005 7:32 am

right click on a project (in the IDE) and choose clean. IIRC there is a clean all feature somewhere, too.

/Nathan

bjornmose
Posts: 0
Joined: Tue Nov 25, 2003 5:27 pm
Location: Denzenberg, could walk to Hölderling-Tower
Contact:

Post by bjornmose » Sat Oct 01, 2005 6:15 pm

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

hannibar
Posts: 50
Joined: Wed Oct 16, 2002 3:02 pm

Post by hannibar » Mon Oct 10, 2005 1:59 pm

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

bjornmose
Posts: 0
Joined: Tue Nov 25, 2003 5:27 pm
Location: Denzenberg, could walk to Hölderling-Tower
Contact:

Post by bjornmose » Mon Oct 10, 2005 8:04 pm

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

Post Reply