[cosmic-users] CIAO Quoter tutorial build problem

James H. Hill hillj at cs.iupui.edu
Wed Feb 1 18:54:52 CST 2012


Hi Marianne,

Since I kind of have some insight your workspace setup, did you build the DOC middleware with versioned namespace support? If so, did you make sure you added 

  -features versioned_namespace=1

to your mwc.pl command?

Thanks,

James

On Feb 1, 2012, at 7:37 PM, Marianne Rieckmann wrote:

> Hi,
> I have attempted the Quoter tutorial with some problems in the build process. I
> have tried following the tutorial or just using all the files supplied. Can
> anyone can suggest a fix?
> 
> The tutorial used was located in the svn folder
> \ACE_wrappers\TAO\CIAO\tutorials\Quoter\Simple
> 
> To build the following command was used to create visual studio solution
> workspace from given MPC files.
> %ACE_ROOT%/bin/mwc.pl -type vc9
> 
> Build in Visual Studio 2008 resulted in;
> Build: 6 succeeded, 13 failed, 0 up-to-date, 0 skipped
> 
> Errors displayed were like the following;
> ------ Build started: Project: Stock_Base_stub, Configuration: Debug Win32
> ------
> Compiling...
> Stock_BaseC.cpp
> Compiling manifest to resources...
> Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
> Copyright (C) Microsoft Corporation.  All rights reserved.
> Linking...
>   Creating library ..\lib\Stock_Base_stubd.lib and object
> ..\lib\Stock_Base_stubd.exp
> Stock_BaseC.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: __thiscall TAO::unbounded_value_sequence<unsigned
> char>::unbounded_value_sequence<unsigned char>(unsigned int,class
> ACE_Message_Block const *)"
> (__imp_??0?$unbounded_value_sequence at E@TAO@@QAE at IPBVACE_Message_Block@@@Z)
> referenced in function "public: __thiscall Stock::ImageBlob::ImageBlob(unsigned
> int,class ACE_Message_Block const *)"
> (??0ImageBlob at Stock@@QAE at IPBVACE_Message_Block@@@Z)
> Stock_BaseC.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: class TAO::unbounded_value_sequence<unsigned
> char> & __thiscall TAO::unbounded_value_sequence<unsigned char>::operator=(class
> TAO::unbounded_value_sequence<unsigned char> const &)"
> (__imp_??4?$unbounded_value_sequence at E@TAO@@QAEAAV01 at ABV01@@Z) referenced in
> function "public: class Stock::ImageBlob & __thiscall
> Stock::ImageBlob::operator=(class Stock::ImageBlob const &)"
> (??4ImageBlob at Stock@@QAEAAV01 at ABV01@@Z)
> Stock_BaseC.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: virtual __thiscall CORBA::Object::~Object(void)"
> (__imp_??1Object at CORBA@@UAE at XZ) referenced in function "protected: void
> __thiscall Stock::StockQuoter::`vbase destructor'(void)"
> (??_DStockQuoter at Stock@@IAEXXZ)
> Stock_BaseC.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) protected: virtual __thiscall
> CORBA::ValueBase::~ValueBase(void)" (__imp_??1ValueBase at CORBA@@MAE at XZ)
> referenced in function "protected: void __thiscall Stock::StockName::`vbase
> destructor'(void)" (??_DStockName at Stock@@IAEXXZ)
> etc...
> 
> Regards,
> Marianne.
> _______________________________________________
> cosmic-users mailing list
> cosmic-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/cosmic-users



More information about the cosmic-users mailing list