Hello Guillermo,

On Apr 10, 2010, at 3:55 PM, Teo Fonrouge wrote:

> Hello Guillermo,
> 
> On Apr 10, 2010, at 2:50 PM, Guillermo Varona Silupú wrote:
> 
>> Gracias Teo, ya pude bajar los funtes del SVN, sin embargo, aun no he podido 
>> generar la LIB y por ende los ejemplos.
>> Solamente he bajado e instalado esto:
>> http://ufpr.dl.sourceforge.net/project/wxwindows/wxMSW/2.8.10/wxMSW-2.8.10-Setup.exe
>> luego compilo con esto:
>> D:\wxHarbour>\hrbmingw\bin\hbmk2 wxharbour.hbp
>> y obtengo esta lista de warnings y errores:
>> . . .
> 
> 
> Seems that you aren't yet builded the wxWidgets library, you just downloaded 
> it.
> 
> In order to build wxWidgets you need to execute the following:
> 
> ------------------------------------
> Using MinGW, In directory: C:\wxWidgets-2.8.10/build/msw:
> 
> mingw32-make.exe -f makefile.gcc INCLUDE="C:\MinGW/include" 
> LIB="C:\MinGW/lib" USE_XRC=1 BUILD=release UNICODE=1 WXUNIV=0 MONOLITHIC=0 
> USE_EXCEPTIONS=1 USE_ODBC=0 USE_OPENGL=0 USE_MEDIA=0 USE_RICHTEXT=1 
> USE_HTML=1 USE_XRC=1 USE_AUI=1 USE_GUI=1 RUNTIME_LIBS=dynamic SHARED=0 all
> 
> 
> ------------------------------------
> Using MSVC, In directory: C:\wxWidgets-2.8.10/build/msw:
> 
> nmake /nologo -f makefile.vc INCLUDE="C:\Program Files\Microsoft 
> SDKs\Windows\v6.0A\include;C:\Program Files\Microsoft Visual Studio 
> 9.0\vc\include" LIB="C:\Program Files\Microsoft 
> SDKs\Windows\v6.0A\lib;C:\Program Files\Microsoft Visual Studio 9.0\vc\lib" 
> USE_XRC=1 BUILD=release UNICODE=1 WXUNIV=0 MONOLITHIC=0 USE_EXCEPTIONS=1 
> USE_ODBC=0 USE_OPENGL=0 USE_MEDIA=0 USE_RICHTEXT=1 USE_HTML=1 USE_XRC=1 
> USE_AUI=1 USE_GUI=1 RUNTIME_LIBS=dynamic SHARED=0 all
> 
> ------------------------------------
> Using BCC 55, In directory: C:\wxWidgets-2.8.10/build/msw:
> 
> make -f makefile.bcc INCLUDE="C:\Borland\BCC55\include" 
> LIB="C:\Borland\BCC55\lib;C:\Borland\BCC55\lib\psdk" USE_XRC=1 BUILD=release 
> UNICODE=1 WXUNIV=0 MONOLITHIC=0 USE_EXCEPTIONS=1 USE_ODBC=0 USE_OPENGL=0 
> USE_MEDIA=0 USE_RICHTEXT=1 USE_HTML=1 USE_XRC=1 USE_AUI=1 USE_GUI=1 
> RUNTIME_LIBS=dynamic SHARED=0 all
> 
> 
> ------------------------------------


After checking the wxharbour.hb? files, I see that they are building/linking
against the NON-UNICODE version of the wxWidgets library.

So please change in the above commands the clause:

-----------------
UNICODE=1

to

UNICODE=0
-----------------

This in order to use the current wxharbour.hb? files in SVN.


Important: Also you need to set the HB_WITH_WX var to something like

set HB_WITH_WX=C:\wxWidgets-2.8.10\include


After following the above steps, the library & samples are builded ok by
using the hbmk2 utility with the wxharbour.hb? scripts.


best regards,

Teo

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to