Greetings,
This helps! It turns out to be my link.exe was using VC6.0. Path problem. Now it is running nicely.
Thanks,
Weijun
On 9/11/06, Bertrand Bellenot <Bertrand.Bellenot_at_cern.ch> wrote:
>
> Hi,
>
> I cannot reproduce the problem :
>
> root [0] .L clib.cxx+
> Info in <TWinNTSystem::ACLiC>: creating shared library
> C:\home\bellenot\public\clib_cxx.dll
> 2286493_cint.cxx
> s35s_.cxx
>   Creating library C:\home\bellenot\public\clib_cxx.lib and object
> C:\home\bellenot\public\clib_cxx.exp
> root [1] printstr()
> clib: test for compiling a DLL with makecint for pure c code...
> root [2]
>
> Maybe you can check compiler version (type "cl" in the command line). It
> should print something like this :
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for
> 80x86
> Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
>
> And same for "link" :
> Microsoft (R) Incremental Linker Version 7.10.3077
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> Cheers,
> Bertrand.
>
> -----Original Message-----
> From: Rene Brun
> Sent: Thursday, September 07, 2006 10:15 AM
> To: Weijun Guo; Bertrand Bellenot; Axel Naumann
> Subject: Re: [ROOT] ACLiC warning
>
> Axel, Bertrand,
>
> Could one of you follow this problem? I already replied that I cannot
> reproduce this problem with my version of Windows.
>
> Rene
>
> Weijun Guo wrote:
> > Hi, Rene,
> >
> > I installed root with "root_v5.12.00.win32gdk.msi".  My Visual Studio
> > .Net 2003 is 7.1.3088.
> >
> > Include variable:
> > C:\VSNET03\Vc7\include;C:\VSNET03\Vc\PlatformSDK\Include;c:\VSNET03\SD
> > K\v1.1\include\;C:\root\include\;
> >
> > Lib variable:
> > C:\VSNET03\Vc7\lib;C:\VSNET03\Vc7\PlatformSDK\Lib;c:\VSNET03\SDK\v1.1\
> > Lib\;C:\root\lib\;
> >
> > Path variable:
> > C:\root\bin;C:\VSNET03\Vc7\bin;C:\VSNET03\Common7\IDE\;C:\Program
> > Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program
> > Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program
> > Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft
> > Visual Studio\VC98\bin;C:\Cygwin\bin;C:\Cygwin\usr\X11R6\bin
> >
> > ROOTSYS:  C:\root\
> >
> > Thanks,
> >
> > Weijun
> >
> >
> >
> > On 9/6/06, *Rene Brun* <Rene.Brun_at_cern.ch <mailto:Rene.Brun_at_cern.ch>>
> > wrote:
> >
> >     I cannot reproduce this problem.
> >     Which version did you install? 5.12, 5.13 ?
> >     Did you install from source or take the binaries?
> >
> >     Rene Brun
> >
> >     Weijun Guo wrote:
> >     > Greetings,
> >     >
> >     > I installed Visual Studio .NET 2003, then I instaled ROOT (.Net
> >     > version).  Added those lib and include diretories in the
> >     environmental
> >     > variables.
> >     >
> >     > Tried to ".L clib.cxx+", it reported the following warnings:
> >     >
> >     > >
> >     > >Info in <TWinNTSystem::ACLiC>: creating shared library
> >     > e:\coding\root\clib\clib_cxx.dll
> >     > >22656130_cint.cxx
> >     > >s2eo_.cxx
> >     > >s2eo_.obj : warning LNK4044: unrecognized option
> >     > "alternatename:__imp_??$?6U?$char_traits_at_D @std@@@st
> >     > >d@@YAAAV?$basic_ostream_at_DU?$char_traits@
> >     D_at_std@@@0_at_AAV10@PBD_at_Z=__imp_??6std@@YAAAV?$basic_ostream_at_DU
> >     > <mailto:d@
> >
> <mailto:d@>@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z=_
> _imp_??6std@@YAAAV?$basic_ostream_at_DU>?
> >     > >$char_traits@ D_at_std@@@0_at_AAV10@PBD_at_Z
> >     > <mailto:$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z>"; ignored
> >     >  >  Creating library e:\coding\root\clib\clib_cxx.lib and object
> >     > e:\coding\root\clib\clib_cxx.exp
> >     > >s2eo_.obj : warning LNK4044: unrecognized option
> >     > "alternatename:__imp_??$?6U?$char_traits_at_D@std@@@st
> >     > >
> >     >
> >
> d@@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z=__imp_??6s
> td@@YAAAV?$basic_ostream_at_DU
> >     > <mailto: d@
> >
> <mailto:d@>@YAAAV?$basic_ostream_at_DU?$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z=_
> _imp_??6std@@YAAAV?$basic_ostream_at_DU>?
> >     > >$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z
> >     > <mailto:$char_traits_at_D@std@@@0_at_AAV10@PBD_at_Z>"; ignored
> >     > >
> >     >
> >     > But it seems the clib_cxx.dll can be loaded with no problem.  I
> >     > appreciate your suggestions if this indicates a problem on my
> system
> >     > configuration.
> >     >
> >     > Thanks,
> >     >
> >     > Weijun
> >     >
> >     >
> >     >
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > #include "clib.h"
> >     >
> >     > void printstr()
> >     > {
> >     >     cout << "clib: test for compiling a DLL with makecint for
> >     pure c code..." << endl;
> >     > }
> >     >
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > #include <iostream>
> >     >
> >     > void printstr();
> >     >
> >
> >
>
>
Received on Mon Sep 11 2006 - 15:43:40 MEST
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET