when i generating the dictionary, i met probelm in stl.
the content of the extlib.h
#include <vector>
#include <string>
using namespce std;
struct tagCurveInfo
{
tagCurveInfo()
{
a = 5;
};
int a;
};
int func1(vector<tagCurveInfo> &a);
int func2(vector<vector<string>> b);
how could this change?
in the new version makecint, it doesn’t need to use the “-cint -M0x10” parameter.
but when i run “make” in the cygwin:
$ make
cl -DG__CXXLINK_ON -IC:/cint//inc -o G__main.obj -c G__main.cxx
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
G__main.cxx
/cygdrive/c/cint/cint.exe -w0 -zLeadData -nG__cpp_LeadData.cxx -D__MAKECINT__
-DG__MAKECINT -p -c-1 -A -IC:/cint//inc -DG__REDIRECTIO -DG__SHAREDLIB -DG__UNI
X -DG__WIN32 -DVISUAL_CPLUSPLUS -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -
D_SECURE_SCL=0 -D_HAS_ITERATOR_DEBUGGING=0 -DG__HAVE_CONFIG -DG__NOMAKEINFO Da
taCommonBase.h DataInterface_Base.h LeadIOCurve.h LeadIOStream.h LeadIOTable.h L
eadIOTDT.h LeadIOWell.h LeadLog.h LeadStruct.h NotifiedItem.h
364600_cint.cxx
6646078_cint.cxx
C:\cint\stl\_vector(14) : fatal error C1083: can not open file:“prec_stl/vector
”: No such file or directory
Error: external preprocessing failed. (0)
!!!Removing G__cpp_LeadData.cxx G__cpp_LeadData.h !!!
make: *** [G__cpp_LeadData.cxx] Error 1
i thout it is the reson of lackness of prec_stl,so i copy the prec_stl dir from src to the c:\cint\include,then run make
$ make
cl -DG__CXXLINK_ON -IC:/cint//inc -o G__main.obj -c G__main.cxx
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
G__main.cxx
/cygdrive/c/cint/cint.exe -w0 -zLeadData -nG__cpp_LeadData.cxx -D__MAKECINT__
-DG__MAKECINT -p -c-1 -A -IC:/cint//inc -DG__REDIRECTIO -DG__SHAREDLIB -DG__UNI
X -DG__WIN32 -DVISUAL_CPLUSPLUS -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -
D_SECURE_SCL=0 -D_HAS_ITERATOR_DEBUGGING=0 -DG__HAVE_CONFIG -DG__NOMAKEINFO Da
taCommonBase.h DataInterface_Base.h LeadIOCurve.h LeadIOStream.h LeadIOTable.h L
eadIOTDT.h LeadIOWell.h LeadLog.h LeadStruct.h NotifiedItem.h
3560_cint.cxx
65693_cint.cxx
1056265_cint.cxx
Error: no such template typenameiterator_traits<vector<tagCurveInfo,allocator<ta
gCurveInfo> >::iterator> c:\cint/include\prec_stl/iterator(477)
Error: no such template typenameiterator_traits<vector<tagCurveInfo,allocator<ta
gCurveInfo> >::iterator> c:\cint/include\prec_stl/iterator(477)
Error: no such template typenameiterator_traits<vector<tagCurveInfo,allocator<ta
gCurveInfo> >::iterator> c:\cint/include\prec_stl/iterator(477)
Error: no such template typenameiterator_traits<vector<tagCurveInfo,allocator<ta
gCurveInfo> >::iterator> c:\cint/include\prec_stl/iterator(477)
Error: no such template typenameiterator_traits<vector<tagCurveInfo,allocator<ta
gCurveInfo> >::iterator> c:\cint/include\prec_stl/iterator(477)
!!!Removing G__cpp_LeadData.cxx G__cpp_LeadData.h !!!
make: *** [G__cpp_LeadData.cxx] Error 1