Jump to content

Trouble compiling under WinXP


Recommended Posts

Hey Guys, I've written an HDK Pop at work which is working great.. I wanted to see if I could get it compiled at home (much to my wife's shagrin). I've never compile a houdini dso under windows before.

I have VisualStudio .NET 2003

I ran the "hdkinstall"

Then tried to compile one of the samples.. POP_LocalForce.C

Here's the output I get:

D:\Houdini\toolkit\samples\POP>hcustom POP_LocalForce.C

Making 'POP_LocalForce.o' and 'C:/Documents and Settings/Daniel/My Documents/hou

dini7.0/dso\POP_LocalForce.dll' from 'POP_LocalForce.C'

Microsoft ® 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for 80x86

Copyright © Microsoft Corporation 1984-2001. All rights reserved.

POP_LocalForce.C

C:/Program Files\Microsoft Visual Studio .NET\Vc7\include\useoldio.h(29) : warni

ng C4995: '_OLD_IOSTREAMS_ARE_DEPRECATED': name was marked as #pragma deprecated

Microsoft ® Incremental Linker Version 7.00.9466

Copyright © Microsoft Corporation.  All rights reserved.

/out:POP_LocalForce.dll

/dll

/implib:POP_LocalForce.lib

"/libpath:C:/Program Files/Microsoft Visual Studio .NET/Vc7/lib"

"/libpath:C:/Program Files/Microsoft Visual Studio .NET/Vc7/PlatformSDK/lib"

D:/Houdini/custom/houdini/dsolib/libarray.a

D:/Houdini/custom/houdini/dsolib/libAU.a

D:/Houdini/custom/houdini/dsolib/libBM.a

D:/Houdini/custom/houdini/dsolib/libBR.a

D:/Houdini/custom/houdini/dsolib/libBV.a

D:/Houdini/custom/houdini/dsolib/libCH.a

D:/Houdini/custom/houdini/dsolib/libCHOP.a

D:/Houdini/custom/houdini/dsolib/libCHOPNET.a

D:/Houdini/custom/houdini/dsolib/libCHOPZ.a

D:/Houdini/custom/houdini/dsolib/libCHUI.a

D:/Houdini/custom/houdini/dsolib/libCL.a

D:/Houdini/custom/houdini/dsolib/libCLO.a

D:/Houdini/custom/houdini/dsolib/libCMD.a

D:/Houdini/custom/houdini/dsolib/libCOP2.a

D:/Houdini/custom/houdini/dsolib/libCOPNET.a

D:/Houdini/custom/houdini/dsolib/libCOPZ.a

D:/Houdini/custom/houdini/dsolib/libCPUI.a

D:/Houdini/custom/houdini/dsolib/libDD.a

D:/Houdini/custom/houdini/dsolib/libDM.a

D:/Houdini/custom/houdini/dsolib/libDOP.a

D:/Houdini/custom/houdini/dsolib/libDOPZ.a

D:/Houdini/custom/houdini/dsolib/libdxf.a

D:/Houdini/custom/houdini/dsolib/libEXPR.a

D:/Houdini/custom/houdini/dsolib/libFPAINT.a

D:/Houdini/custom/houdini/dsolib/libFS.a

D:/Houdini/custom/houdini/dsolib/libFUI.a

D:/Houdini/custom/houdini/dsolib/libFUSE.a

D:/Houdini/custom/houdini/dsolib/libGB.a

D:/Houdini/custom/houdini/dsolib/libGD.a

D:/Houdini/custom/houdini/dsolib/libGDT.a

D:/Houdini/custom/houdini/dsolib/libGEO.a

D:/Houdini/custom/houdini/dsolib/libGOP.a

D:/Houdini/custom/houdini/dsolib/libGP.a

D:/Houdini/custom/houdini/dsolib/libGQ.a

D:/Houdini/custom/houdini/dsolib/libGR.a

D:/Houdini/custom/houdini/dsolib/libGR2D.a

D:/Houdini/custom/houdini/dsolib/libGU.a

D:/Houdini/custom/houdini/dsolib/libGUI.a

D:/Houdini/custom/houdini/dsolib/libGVEX.a

D:/Houdini/custom/houdini/dsolib/libHbrowserComponents.a

D:/Houdini/custom/houdini/dsolib/libHoudiniConnection.a

D:/Houdini/custom/houdini/dsolib/libIFD.a

D:/Houdini/custom/houdini/dsolib/libIM.a

D:/Houdini/custom/houdini/dsolib/libIMG.a

D:/Houdini/custom/houdini/dsolib/libIMG3D.a

D:/Houdini/custom/houdini/dsolib/libIMGUI.a

D:/Houdini/custom/houdini/dsolib/libIMH.a

D:/Houdini/custom/houdini/dsolib/libIMP.a

D:/Houdini/custom/houdini/dsolib/libIMS.a

D:/Houdini/custom/houdini/dsolib/libJEDI.a

D:/Houdini/custom/houdini/dsolib/libJIVE.a

D:/Houdini/custom/houdini/dsolib/libjpeg.a

D:/Houdini/custom/houdini/dsolib/libKIN.a

D:/Houdini/custom/houdini/dsolib/libLA.a

D:/Houdini/custom/houdini/dsolib/libLM.a

D:/Houdini/custom/houdini/dsolib/libMATUI.a

D:/Houdini/custom/houdini/dsolib/libMC.a

D:/Houdini/custom/houdini/dsolib/libMCS.a

D:/Houdini/custom/houdini/dsolib/libMDS.a

D:/Houdini/custom/houdini/dsolib/libMGR.a

D:/Houdini/custom/houdini/dsolib/libMH.a

D:/Houdini/custom/houdini/dsolib/libMIDI.a

D:/Houdini/custom/houdini/dsolib/libMOT.a

D:/Houdini/custom/houdini/dsolib/libMPI.a

D:/Houdini/custom/houdini/dsolib/libMPS.a

D:/Houdini/custom/houdini/dsolib/libMSS.a

D:/Houdini/custom/houdini/dsolib/libMT.a

D:/Houdini/custom/houdini/dsolib/libMV.a

D:/Houdini/custom/houdini/dsolib/libMWS.a

D:/Houdini/custom/houdini/dsolib/libOBJ.a

D:/Houdini/custom/houdini/dsolib/libOH.a

D:/Houdini/custom/houdini/dsolib/libOP.a

D:/Houdini/custom/houdini/dsolib/libOP3D.a

D:/Houdini/custom/houdini/dsolib/libopenexrh.a

D:/Houdini/custom/houdini/dsolib/libOPUI.a

D:/Houdini/custom/houdini/dsolib/libpaudio.a

D:/Houdini/custom/houdini/dsolib/libPFB.a

D:/Houdini/custom/houdini/dsolib/libPHYS.a

D:/Houdini/custom/houdini/dsolib/libPI.a

D:/Houdini/custom/houdini/dsolib/libpngh.a

D:/Houdini/custom/houdini/dsolib/libPOP.a

D:/Houdini/custom/houdini/dsolib/libPOPNET.a

D:/Houdini/custom/houdini/dsolib/libPOPUI.a

D:/Houdini/custom/houdini/dsolib/libPOPZ.a

D:/Houdini/custom/houdini/dsolib/libPRM.a

D:/Houdini/custom/houdini/dsolib/libPSI2.a

D:/Houdini/custom/houdini/dsolib/libRBD.a

D:/Houdini/custom/houdini/dsolib/libRE.a

D:/Houdini/custom/houdini/dsolib/libROP.a

D:/Houdini/custom/houdini/dsolib/libRU.a

D:/Houdini/custom/houdini/dsolib/libSHOP.a

D:/Houdini/custom/houdini/dsolib/libSI.a

D:/Houdini/custom/houdini/dsolib/libSIM.a

D:/Houdini/custom/houdini/dsolib/libSIMZ.a

D:/Houdini/custom/houdini/dsolib/libSOP.a

D:/Houdini/custom/houdini/dsolib/libSOPZ.a

D:/Houdini/custom/houdini/dsolib/libSS.a

D:/Houdini/custom/houdini/dsolib/libSYS.a

D:/Houdini/custom/houdini/dsolib/libTAKE.a

D:/Houdini/custom/houdini/dsolib/libTBF.a

D:/Houdini/custom/houdini/dsolib/libTHOR.a

D:/Houdini/custom/houdini/dsolib/libtiff.a

D:/Houdini/custom/houdini/dsolib/libTIL.a

D:/Houdini/custom/houdini/dsolib/libtools.a

D:/Houdini/custom/houdini/dsolib/libTS.a

D:/Houdini/custom/houdini/dsolib/libUI.a

D:/Houdini/custom/houdini/dsolib/libUT.a

D:/Houdini/custom/houdini/dsolib/libVEX.a

D:/Houdini/custom/houdini/dsolib/libVMAT.a

D:/Houdini/custom/houdini/dsolib/libVOP.a

D:/Houdini/custom/houdini/dsolib/libVOPNET.a

D:/Houdini/custom/houdini/dsolib/libVRAY.a

D:/Houdini/custom/houdini/dsolib/libzlib.a

"-out:C:/Documents and Settings/Daniel/My Documents/houdini7.0/dso/POP_LocalForc

e.dll"

POP_LocalForce.o

  Creating library POP_LocalForce.lib and object POP_LocalForce.exp

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual in

t __thiscall GEO_Detail::loadVertex(class istream &,class GB_Vertex &,int)" (?lo

adVertex@GEO_Detail@@UAEHAAVistream@@AAVGB_Vertex@@H@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual in

t __thiscall GEO_Detail::saveVertex(class ostream &,class GB_Vertex const &,int)

const " (?saveVertex@GEO_Detail@@UBEHAAVostream@@ABVGB_Vertex@@H@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual in

t __thiscall GEO_Detail::load(class istream &,int,int)" (?load@GEO_Detail@@UAEHA

AVistream@@HH@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual in

t __thiscall GEO_Detail::save(class ostream &,int)const " (?save@GEO_Detail@@UBE

HAAVostream@@H@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual in

t __thiscall POP_Node::doDeferredWrite(class OP_Context &,class ostream &,int,cl

ass POP_VariableList *)" (?doDeferredWrite@POP_Node@@UAEHAAVOP_Context@@AAVostre

am@@HPAVPOP_VariableList@@@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual in

t __thiscall POP_Node::tryWriteCode(class OP_Context &,class ostream &,int,class

POP_VariableList *)" (?tryWriteCode@POP_Node@@UAEHAAVOP_Context@@AAVostream@@HP

AVPOP_VariableList@@@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual in

t __thiscall POP_Node::writeCode(class OP_Context &,class ostream &,class UT_Str

ing &,int,class POP_VariableList *)" (?writeCode@POP_Node@@UAEHAAVOP_Context@@AA

Vostream@@AAVUT_String@@HPAVPOP_VariableList@@@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual bo

ol __thiscall OP_Network::syncContents(class istream &)" (?syncContents@OP_Netwo

rk@@UAE_NAAVistream@@@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "protected: virtual

enum UT_ErrorSeverity __thiscall OP_Network::load(class istream &,int,char cons

t *,int,char const *)" (?load@OP_Network@@MAE?AW4UT_ErrorSeverity@@AAVistream@@H

PBDH1@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "protected: virtual

int __thiscall OP_Node::loadPacket(class istream &,short,short,char const *)" (

?loadPacket@OP_Node@@MAEHAAVistream@@FFPBD@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "protected: virtual

int __thiscall OP_Node::loadPacket(class istream &,char const *,char const *)"

(?loadPacket@OP_Node@@MAEHAAVistream@@PBD1@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "protected: virtual

enum UT_ErrorSeverity __thiscall OP_Node::save(class ostream &,class OP_SaveFla

gs const &,char const *)" (?save@OP_Node@@MAE?AW4UT_ErrorSeverity@@AAVostream@@A

BVOP_SaveFlags@@PBD@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "protected: virtual

enum UT_ErrorSeverity __thiscall OP_Node::saveIntrinsic(class ostream &,class O

P_SaveFlags const &)" (?saveIntrinsic@OP_Node@@MAE?AW4UT_ErrorSeverity@@AAVostre

am@@ABVOP_SaveFlags@@@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual vo

id __thiscall OP_Node::saveDialogScriptExtraInfo(class ostream &)" (?saveDialogS

criptExtraInfo@OP_Node@@UAEXAAVostream@@@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual en

um UT_ErrorSeverity __thiscall OP_Network::saveCommand(class ostream &,char cons

t *,int,int,int,int,int,int,int,int,int,int,float,float,char const *)" (?saveCom

mand@OP_Network@@UAE?AW4UT_ErrorSeverity@@AAVostream@@PBDHHHHHHHHHHMM1@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual vo

id __thiscall OP_Node::saveIntrinsicCommand(class ostream &,char const *)" (?sav

eIntrinsicCommand@OP_Node@@UAEXAAVostream@@PBD@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "private: virtual i

nt __thiscall POP_Node::loadCookedData(class istream &,int,char const *)" (?load

CookedData@POP_Node@@EAEHAAVistream@@HPBD@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "private: virtual i

nt __thiscall POP_Node::saveCookedData(class ostream &,class OP_Context &,int)"

(?saveCookedData@POP_Node@@EAEHAAVostream@@AAVOP_Context@@H@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual vo

id __thiscall OP_Node::executeCommand(char const *,class ostream *,class ostream

*)const " (?executeCommand@OP_Node@@UBEXPBDPAVostream@@1@Z)

POP_LocalForce.o : error LNK2001: unresolved external symbol "public: virtual vo

id __thiscall OP_Operator::getRefreshPICommands(class OP_Node *,class ostream &)

" (?getRefreshPICommands@OP_Operator@@UAEXPAVOP_Node@@AAVostream@@@Z)

C:/Documents and Settings/Daniel/My Documents/houdini7.0/dso/POP_LocalForce.dll

: fatal error LNK1120: 20 unresolved externals

Anything there jump out at you as the cause? Probably just something not in my path?

Thanks for any help. I'm running H7.0.315

daniel

Link to comment
Share on other sites

Not really sure why ... did you try running hcustom from the "Command Line Tools" in the Start Menu > Side Effects Software > ... ?

16135[/snapback]

Yes, I did that. Also tried going to my vc7/bin dir and running vcvars32.bat which is supposed to setup env variables for cmdline compiles.. no dice.

I only just installed the compiler and houdini.. maybe an install is screwed

d

Link to comment
Share on other sites

Is it possible you have a different Visual C++ compiler in your path? I have .NET 2003, and my compiler version reports 13.10.3077 with a 2002 Copyright date. Come to think of it, I'm pretty sure 13.00.xx should be the .NET 2002 compiler (since we usually refer to this as VC++ 7.0 vs 7.1), and the name mangling is likely different...

I have Win2K installed, but if it helps, here is the batch file I run from the Houdini Command tools prompt to set up compiling...

set path=%PATH%;c:\applic\houdin~1.231\bin;C:\applic\Houdin~1.231\toolkit\bin
set HOME=c:\temp\home
set HFS=c:\applic\houdin~1.231
rem set SESI_TAGINFO="    : paulf 2004"
set MSVCdir=c:/Progra~1/Micros~2.net/vc7
call c:\progra~1\micros~2.net\vc7\bin\vcvars32.bat

Link to comment
Share on other sites

Is it possible you have a different Visual C++ compiler in your path?  I have .NET 2003, and my compiler version reports 13.10.3077 with a 2002 Copyright date.  Come to think of it, I'm pretty sure 13.00.xx should be the .NET 2002 compiler (since we usually refer to this as VC++ 7.0 vs 7.1), and the name mangling is likely different...

I have Win2K installed, but if it helps, here is the batch file I run from the Houdini Command tools prompt to set up compiling...

set path=%PATH%;c:\applic\houdin~1.231\bin;C:\applic\Houdin~1.231\toolkit\bin
set HOME=c:\temp\home
set HFS=c:\applic\houdin~1.231
rem set SESI_TAGINFO="    : paulf 2004"
set MSVCdir=c:/Progra~1/Micros~2.net/vc7
call c:\progra~1\micros~2.net\vc7\bin\vcvars32.bat

Hmm.. thanks for the advice.  I did have an earlier ver installed, which I uninstalled.. but maybe something is still hanging around on my system... I tried you're bat file, but still get same results.  I'll keep digging.. thanks

d

16138[/snapback]

Link to comment
Share on other sites

Got it working. Lot of voodoo involved.. entailed hunting though the regestry, removing net framework 1.1.. removing a couple of dll's.. reinstalling framework1.1 and re-installing vs2003.

thnx for the version number discrepency.. that gave me what I needed to track this down

d

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...