Re: [mico-devel] Compile MICOLIB under visual studio

2008-08-25 Thread Sorin Mustaca


Hello,
Sorry for the delay, but this is the holiday season ;)

The errors you have normally appear when you don't have the right
environment set.
So, please make sure you start the compiling environment from the
corresponding Command Prompt and from there
execute
nmake -f makefile.win32

Let me know if this solves the problem.

Syber said the following on 20.08.2008 23:03:
 Hi

 I'm trying to compile MICOLIB (2.3.12\13) under vs7.1 and vs8.0...
 There are many errors like that:


 Error 272 error C2039: 'ActiveMsgQueue' : is not a member of 'MICO'   
 d:\mico\orb\message.cc  79
 Error 255 error C2039: 'check_msg' : is not a member of 'MICO'
 d:\mico\orb\message.cc  54
 Error 320 error C2039: 'copy' : is not a member of 'MICO' 
 d:\mico\orb\mt_dispatcher.cc92
 Error 264 error C2039: 'get_msg' : is not a member of 'MICO'  
 d:\mico\orb\message.cc  66
 Error 260 error C2039: 'msg_type' : is not a member of 'MICO' 
 d:\mico\orb\message.cc  65
 Error 328 error C2039: 'msg_type' : is not a member of 'MICO' 
 d:\mico\orb\mt_dispatcher.cc106
 Error 293 error C2039: 'MTDispatcher' : is not a member of 'MICO' 
 d:\mico\orb\mt_dispatcher.cc59
 Error 303 error C2039: 'MTDispatcher' : is not a member of 'MICO' 
 d:\mico\orb\mt_dispatcher.cc76
 Error 304 error C2039: 'MTDispatcher' : is not a member of 'MICO' 
 d:\mico\orb\mt_dispatcher.cc76
 Error 323 error C2039: 'MTDispatcher' : is not a member of 'MICO' 
 d:\mico\orb\mt_dispatcher.cc95
 Error 316 error C2039: 'Operation' : is not a member of 'MICO'
 d:\mico\orb\mt_dispatcher.cc91
 Error 377 error C2039: 'OperationInfoNode' : is not a member of 'MICO'
 d:\mico\orb\operation.cc50
 Error 382 error C2039: 'OperationInfoNode' : is not a member of 'MICO'
 d:\mico\orb\operation.cc60
 Error 299 error C2039: 'ORB' : is not a member of 'MICO'  
 d:\mico\orb\mt_dispatcher.cc66
 Error 314 error C2039: 'ORB' : is not a member of 'MICO'  
 d:\mico\orb\mt_dispatcher.cc80
 Error 327 error C2039: 'process' : is not a member of 'MICO'  
 d:\mico\orb\mt_dispatcher.cc106
 Error 338 error C2039: 'ThreadPool' : is not a member of 'MICO'   
 d:\mico\orb\mt_manager.cc   54
 Error 383 error C2039: 'ThreadPool' : is not a member of 'MICO'   
 d:\mico\orb\operation.cc60
 Error 256 error C2039: 'WorkerThread' : is not a member of 'MICO' 
 d:\mico\orb\message.cc  54
 Error 268 error C2059: syntax error : ')' d:\mico\orb\message.cc  66
 Error 324 error C2061: syntax error : identifier 'MTDispatcher'   
 d:\mico\orb\mt_dispatcher.cc95
 Error 385 error C2065: '_tp' : undeclared identifier  
 d:\mico\orb\operation.cc60
 Error 258 error C2065: 'kt' : undeclared identifier   
 d:\mico\orb\message.cc  54
 Error 330 error C2065: 'msg' : undeclared identifier  
 d:\mico\orb\mt_dispatcher.cc106
 Error 329 error C2065: 'msg_type' : undeclared identifier 
 d:\mico\orb\mt_dispatcher.cc106
 Error 308 error C2065: 'op' : undeclared identifier   
 d:\mico\orb\mt_dispatcher.cc77
 Error 265 error C2065: 'OP_id_type' : undeclared identifier   
 d:\mico\orb\message.cc  66
 Error 300 error C2065: 'ORB' : undeclared identifier  
 d:\mico\orb\mt_dispatcher.cc66
 Error 537 error C2065: 'PTHREAD_START_ROUTINE' : undeclared identifier
 c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h   
   283
 Error 384 error C2065: 'ThreadPool' : undeclared identifier   
 d:\mico\orb\operation.cc60
 Error 340 error C2065: 'tp_lock' : undeclared identifier  
 d:\mico\orb\mt_manager.cc   57
 Error 536 error C2065: 'WINAPI' : undeclared identifier   c:\program 
 files\microsoft visual studio 8\vc\platformsdk\include\winbase.h 283
 Error 257 error C2065: 'WorkerThread' : undeclared identifier 
 d:\mico\orb\message.cc  54
 Error 306 error C2143: syntax error : missing ',' before ''  
 d:\mico\orb\mt_dispatcher.cc76
 Error 261 error C2143: syntax error : missing ';' before '*'  
 d:\mico\orb\message.cc  65
 Error 317 error C2143: syntax error : missing ';' before '*'  
 d:\mico\orb\mt_dispatcher.cc91
 Error 387 error C2143: syntax error : missing ';' before ':'  
 d:\mico\orb\operation.cc60
 Error 269 error C2143: syntax error : missing ';' before '{'  
 d:\mico\orb\message.cc  67
 Error 266 error C2146: syntax error : missing ')' before identifier 
 'nextOP_id'   d:\mico\orb\message.cc  66
 Error 491 error C2146: syntax error : missing ';' before identifier 
 'bInheritHandle'  c:\program files\microsoft visual studio 
 8\vc\platformsdk\include\winbase.h 243
 Error 509 error C2146: syntax error : missing ';' before identifier 
 'dwHighDateTime'  c:\program files\microsoft visual studio 
 8\vc\platformsdk\include\winbase.h  

[mico-devel] Compile MICOLIB under visual studio

2008-08-20 Thread Syber
Hi

I'm trying to compile MICOLIB (2.3.12\13) under vs7.1 and vs8.0...
There are many errors like that:


Error   272 error C2039: 'ActiveMsgQueue' : is not a member of 'MICO'   
d:\mico\orb\message.cc  79
Error   255 error C2039: 'check_msg' : is not a member of 'MICO'
d:\mico\orb\message.cc  54
Error   320 error C2039: 'copy' : is not a member of 'MICO' 
d:\mico\orb\mt_dispatcher.cc92
Error   264 error C2039: 'get_msg' : is not a member of 'MICO'  
d:\mico\orb\message.cc  66
Error   260 error C2039: 'msg_type' : is not a member of 'MICO' 
d:\mico\orb\message.cc  65
Error   328 error C2039: 'msg_type' : is not a member of 'MICO' 
d:\mico\orb\mt_dispatcher.cc106
Error   293 error C2039: 'MTDispatcher' : is not a member of 'MICO' 
d:\mico\orb\mt_dispatcher.cc59
Error   303 error C2039: 'MTDispatcher' : is not a member of 'MICO' 
d:\mico\orb\mt_dispatcher.cc76
Error   304 error C2039: 'MTDispatcher' : is not a member of 'MICO' 
d:\mico\orb\mt_dispatcher.cc76
Error   323 error C2039: 'MTDispatcher' : is not a member of 'MICO' 
d:\mico\orb\mt_dispatcher.cc95
Error   316 error C2039: 'Operation' : is not a member of 'MICO'
d:\mico\orb\mt_dispatcher.cc91
Error   377 error C2039: 'OperationInfoNode' : is not a member of 'MICO'
d:\mico\orb\operation.cc50
Error   382 error C2039: 'OperationInfoNode' : is not a member of 'MICO'
d:\mico\orb\operation.cc60
Error   299 error C2039: 'ORB' : is not a member of 'MICO'  
d:\mico\orb\mt_dispatcher.cc66
Error   314 error C2039: 'ORB' : is not a member of 'MICO'  
d:\mico\orb\mt_dispatcher.cc80
Error   327 error C2039: 'process' : is not a member of 'MICO'  
d:\mico\orb\mt_dispatcher.cc106
Error   338 error C2039: 'ThreadPool' : is not a member of 'MICO'   
d:\mico\orb\mt_manager.cc   54
Error   383 error C2039: 'ThreadPool' : is not a member of 'MICO'   
d:\mico\orb\operation.cc60
Error   256 error C2039: 'WorkerThread' : is not a member of 'MICO' 
d:\mico\orb\message.cc  54
Error   268 error C2059: syntax error : ')' d:\mico\orb\message.cc  66
Error   324 error C2061: syntax error : identifier 'MTDispatcher'   
d:\mico\orb\mt_dispatcher.cc95
Error   385 error C2065: '_tp' : undeclared identifier  
d:\mico\orb\operation.cc60
Error   258 error C2065: 'kt' : undeclared identifier   
d:\mico\orb\message.cc  54
Error   330 error C2065: 'msg' : undeclared identifier  
d:\mico\orb\mt_dispatcher.cc106
Error   329 error C2065: 'msg_type' : undeclared identifier 
d:\mico\orb\mt_dispatcher.cc106
Error   308 error C2065: 'op' : undeclared identifier   
d:\mico\orb\mt_dispatcher.cc77
Error   265 error C2065: 'OP_id_type' : undeclared identifier   
d:\mico\orb\message.cc  66
Error   300 error C2065: 'ORB' : undeclared identifier  
d:\mico\orb\mt_dispatcher.cc66
Error   537 error C2065: 'PTHREAD_START_ROUTINE' : undeclared identifier
c:\program files\microsoft visual studio 8\vc\platformsdk\include\winbase.h 
283
Error   384 error C2065: 'ThreadPool' : undeclared identifier   
d:\mico\orb\operation.cc60
Error   340 error C2065: 'tp_lock' : undeclared identifier  
d:\mico\orb\mt_manager.cc   57
Error   536 error C2065: 'WINAPI' : undeclared identifier   c:\program 
files\microsoft visual studio 8\vc\platformsdk\include\winbase.h 283
Error   257 error C2065: 'WorkerThread' : undeclared identifier 
d:\mico\orb\message.cc  54
Error   306 error C2143: syntax error : missing ',' before ''  
d:\mico\orb\mt_dispatcher.cc76
Error   261 error C2143: syntax error : missing ';' before '*'  
d:\mico\orb\message.cc  65
Error   317 error C2143: syntax error : missing ';' before '*'  
d:\mico\orb\mt_dispatcher.cc91
Error   387 error C2143: syntax error : missing ';' before ':'  
d:\mico\orb\operation.cc60
Error   269 error C2143: syntax error : missing ';' before '{'  
d:\mico\orb\message.cc  67
Error   266 error C2146: syntax error : missing ')' before identifier 
'nextOP_id'   d:\mico\orb\message.cc  66
Error   491 error C2146: syntax error : missing ';' before identifier 
'bInheritHandle'  c:\program files\microsoft visual studio 
8\vc\platformsdk\include\winbase.h 243
Error   509 error C2146: syntax error : missing ';' before identifier 
'dwHighDateTime'  c:\program files\microsoft visual studio 
8\vc\platformsdk\include\winbase.h 262
Error   506 error C2146: syntax error : missing ';' before identifier 
'dwLowDateTime'   c:\program files\microsoft visual studio 
8\vc\platformsdk\include\winbase.h 261
Error   500 error C2146: syntax error : missing ';' before identifier 
'dwProcessId' c:\program files\microsoft visual studio 
8\vc\platformsdk\include\winbase.h 249
Error   503