I receive Error compiling hbide in vc9
What i have miss?

hbmk2 hbide.hbp
hbmk2: Processing environment options: -compiler=msvc
hbmk2: Processing configuration: c:\harbour\msvc\bin\hbmk.cfg
hbmk2: Compiling Harbour sources...
......
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_in
fo(class type_info const &)" (??0type_info@@a...@abv0@@Z) già definito in 
LIBCMT.
lib(typinfo.obj)
MSVCRT.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall
type_info::operator=(class type_info const &)" (??4type_info@@aaea...@abv0@@Z) g
ià definito in LIBCMT.lib(typinfo.obj)
LINK : warning LNK4098: la libreria predefinita 'MSVCRT' è in conflitto con l'ut
ilizzo di altre librerie; utilizzare /NODEFAULTLIB:libreria
hbide.exe : fatal error LNK1169: rilevato uno o più simboli definiti più volte
hbmk2: Error: Running linker. 1169

This is How i have build a qt for microsoft visual studio 2008
I have Removee from qt the following files
/3rdparty/webkit/WebCore/tmp/moc/{debug,release}_shared/mocinclude.tmp
download qt from http://qt.nokia.com/downloads/windows-cpp and
installed in c:\devl\qtvc

start from prompt of command of visual studio 2008
cd \devl\Qtvc\2009.04\qt
\devl\Qtvc\2009.04\qt\configure -platform win32-msvc2008
nmake

then compiled harbour from svn with
SET HB_WITH_QT=c:\devl\qtvc\2009.04\qt\include
set HB_DIR_QT=c:\devl\qtvc\2009.04\qt
SET HB_BUILD_IMPLIB=yes
SET HB_ARCHITECTURE=win
SET HB_COMPILER=msvc
SET HB_INSTALL_PREFIX=C:\harbour\%HB_COMPILER%\
call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
SET 
path=c:\devl\mingw32make;c:\harbour\%HB_COMPILER%\bin;c:\devl\qtvc\2009.04\qt\bin;%PATH%
mingw32-make clean instal
The compilation is long 4 hour
Anyone know a distribution of qt ready to use for microsoft


-- 
Massimo Belgrano
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to