Re: failed to build ROOT v5.26.00b using MSVC

From: Bertrand Bellenot <bertrand.bellenot_at_cern.ch>
Date: Tue, 6 Apr 2010 22:02:21 +0200


Hi Wei,

OK, very good!
And I usually start root from a command prompt, and not from bash, as I remember some cases where this was causing some weird behavior...

Cheers, Bertrand.

Wei Xie wrote:
> Hi Bertrand
>
> It really works now except I have to do the following in bash
>
> export PYTHIA8DATA=D:\\pythia8135\\xmldoc
>
> Thanks
> --Wei
>
> Bertrand Bellenot wrote:
>> Hi Wei,
>>
>> So you managed to build ROOT? Good!
>>
>> Then, there is no pythia8 dll, it is a static library. To be able to
>> execute the macro (and to use Pythia8 on Windows) you have to set the
>> PYTHIA8DATA environment variable. For example, for me, it looks like
>> this:
>> set PYTHIA8DATA=C:\Users\bertrand\Pythia\pythia8135\xmldoc
>> Then you can run the pythia8.C macro without any problem (just ignore
>> the error message about the dll not found)
>>
>> Cheers, Bertrand.
>>
>> Wei Xie wrote:
>>> Hi Bertrand
>>>
>>> Now I'm building pythia8 with ROOT using MSVC. I have all the pythia
>>> related libraries built including libpythia.lib, libEGpythia.dll and
>>> libEGpythia.lib. The missing one is shared libpythia.dll. So I have
>>> problem running the exam "pythia8.C". In your make file for w32,
>>> there's no option to build this shared lib. Would you be able to add
>>> it in? It could be my misunderstanding on how it works but please
>>> let me know.
>>>
>>> Thanks
>>> --Wei
>>>
>>> Wei Xie wrote:
>>>> Hi Bertrand
>>>>
>>>> Shall the env.exe be placed in the following directories?
>>>>
>>>> ROOT Builder/Ming Build Tools/bin
>>>>
>>>> Thanks
>>>> --Wei
>>>>
>>>> Bertrand Bellenot wrote:
>>>>> Hi Wei,
>>>>>
>>>>> It is apparently due to a missing env.exe in the ROOT builder
>>>>> binaries.
>>>>> Could you try to add it and let me know, please? You can take it
>>>>> from there:
>>>>> http://bellenot.web.cern.ch/bellenot/Public/env.exe
>>>>>
>>>>> And if it solves the problem I will ask Gordon to add it in the
>>>>> Official distribution of the ROOT builder.
>>>>>
>>>>> Cheers, Bertrand.
>>>>>
>>>>> -----Original Message-----
>>>>> From: owner-roottalk_at_root.cern.ch
>>>>> [mailto:owner-roottalk_at_root.cern.ch]
>>>>> On Behalf Of Wei Xie
>>>>> Sent: Saturday, April 03, 2010 03:13
>>>>> To: roottalk (Mailing list discussing all aspects of the ROOT
>>>>> system.)
>>>>> Subject: [ROOT] failed to build ROOT v5.26.00b using MSVC
>>>>> I have no problem building ROOT v5.24.00b using "ROOT builder" and
>>>>> MSVC but when building V5.26.00b, I got the following errors. Any
>>>>> helps are appreciated.
>>>>>
>>>>> --Wei
>>>>> ==================================================
>>>>> ==> lib/libCore.dll done
>>>>> bin/bindexplib libReflexDict cint/reflex/src/G__Reflex.o >
>>>>> lib/libReflexDict.def
>>>>> bin/bindexplib vector cint/cint/lib/dll_stl/G__cpp_vector.o >
>>>>> cint/cint/stl/vector.def
>>>>> lib -ignore:4049,4206,4217,4221 -nologo -MACHINE:IX86
>>>>> -out:lib/libReflexDict.lib cint/reflex/src/G__Reflex.o
>>>>> -def:lib/libReflexDict.def
>>>>> lib -ignore:4049,4206,4217,4221 -nologo -MACHINE:IX86
>>>>> -out:cint/cint/stl/vector.lib
>>>>> cint/cint/lib/dll_stl/G__cpp_vector.o -def:cint/cint/stl/vector.def
>>>>> Creating library lib/libReflexDict.lib and object
>>>>> lib/libReflexDict.exp
>>>>> build/win/makelib.sh: bin/root-config: No such file or directory
>>>>> build/win/ld.sh -DLL -nologo -ignore:4049,4075,4217,4221
>>>>> -incremental:no
>>>>>
>>>>> -o bin/libReflexDict.dll cint/reflex/src/G__Reflex.o
>>>>> lib/libReflexDict.exp lib/libReflex.lib lib/libCintex.lib
>>>>> lib/libReflex.lib lib/libCore.lib lib/libCint.lib kernel32.lib
>>>>> advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib
>>>>> comctl32.lib
>>>>> Creating library cint/cint/stl/vector.lib and object
>>>>> cint/cint/stl/vector.exp
>>>>> build/win/makelib.sh: bin/root-config: No such file or directory
>>>>> build/win/ld.sh -DLL -nologo -ignore:4049,4075,4217,4221
>>>>> -incremental:no
>>>>>
>>>>> -o cint/cint/stl/vector.dll cint/cint/lib/dll_stl/G__cpp_vector.o
>>>>> cint/cint/stl/vector.exp core/metautils/src/stlLoader_vector.o
>>>>> lib/libCintex.lib lib/libReflex.lib lib/libCore.lib
>>>>> lib/libCint.lib kernel32.lib advapi32.lib user32.lib gdi32.lib
>>>>> comdlg32.lib winspool.lib
>>>>>
>>>>> comctl32.lib
>>>>> LINK : fatal error LNK1181: cannot open input file
>>>>> 'lib/libCintex.lib'
>>>>> make: *** [lib/libReflexDict.dll] Error 157
>>>>> make: *** Waiting for unfinished jobs....
>>>>> LINK : fatal error LNK1181: cannot open input file
>>>>> 'lib/libCintex.lib'
>>>>> make: *** [cint/cint/stl/vector.dll] Error 157
>>>>> rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
>>>>>
>>>>
>>>
>>
>
Received on Tue Apr 06 2010 - 22:02:55 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 07 2010 - 05:50:03 CEST