error building dll with borland c++ builder

Chris Elliott biol75 at york.ac.uk
Sat May 24 11:37:21 PDT 2008


I don't see a bug with turbo explorer: (5.82) -both the library and a  
sample build ok
chris


C:\wx\wxWidgets\samples\aui>make -f makefile.bcc -DSHARED=1 -DCFG=BDS
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
         if not exist bcc_mswuddllBDS mkdir bcc_mswuddllBDS
         bcc32 -q -c -P -obcc_mswuddllBDS\auidemo_auidemo.obj -tWR -IC: 
\wx\borlan
d\BDS\4.0\Bin\..\include -v   -Od -tWM -D__WXMSW__    - 
D__WXDEBUG__      -D_UNIC
ODE     -I.\..\..\lib\bcc_dllBDS\mswud -I.\..\..\include -I. - 
DWXUSINGDLL   -I.\
..\..\samples -DNOPCH -a8 -g0  .\auidemo.cpp
.\auidemo.cpp:
         brcc32 -32 -r -fobcc_mswuddllBDS\auidemo_sample.res -iC:\wx 
\borland\BDS\
4.0\Bin\..\include -d__WXMSW__  -d__WXDEBUG__    -d_UNICODE   -i.\..\.. 
\lib\bcc_
dllBDS\mswud -i.\..\..\include -i. -dWXUSINGDLL -i.\..\..\samples - 
dNOPCH .\..\.
.\samples\sample.rc
Borland Resource Compiler  Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
         ilink32 -Tpe -q  -LC:\wx\borland\BDS\4.0\Bin\..\lib -LC:\wx 
\borland\BDS\
4.0\Bin\..\lib\psdk -v -L.\..\..\lib\bcc_dllBDS -aa @MAKE0000.@@@
C:\wx\wxWidgets\samples\aui>make -f makefile.bcc -DSHARED=1 -DCFG=BDS
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
         if not exist bcc_mswuddllBDS mkdir bcc_mswuddllBDS
         bcc32 -q -c -P -obcc_mswuddllBDS\auidemo_auidemo.obj -tWR -IC: 
\wx\borlan
d\BDS\4.0\Bin\..\include -v   -Od -tWM -D__WXMSW__    - 
D__WXDEBUG__      -D_UNIC
ODE     -I.\..\..\lib\bcc_dllBDS\mswud -I.\..\..\include -I. - 
DWXUSINGDLL   -I.\
..\..\samples -DNOPCH -a8 -g0  .\auidemo.cpp
.\auidemo.cpp:
         brcc32 -32 -r -fobcc_mswuddllBDS\auidemo_sample.res -iC:\wx 
\borland\BDS\
4.0\Bin\..\include -d__WXMSW__  -d__WXDEBUG__    -d_UNICODE   -i.\..\.. 
\lib\bcc_
dllBDS\mswud -i.\..\..\include -i. -dWXUSINGDLL -i.\..\..\samples - 
dNOPCH .\..\.
.\samples\sample.rc
Borland Resource Compiler  Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
         ilink32 -Tpe -q  -LC:\wx\borland\BDS\4.0\Bin\..\lib -LC:\wx 
\borland\BDS\
4.0\Bin\..\lib\psdk -v -L.\..\..\lib\bcc_dllBDS -aa @MAKE0000.@@@


On 23 May 2008, at 18:06, Guru Kathiresan wrote:

> Hello,
> I'm creating a dll that uses the wx Library (which is successfully  
> compiled
> with bcb) and I'm receiving a whole bunch of error. Can anyone tell  
> me what
> are the settings I have to change ? BTW, I did followed the  
> instructions
> given in the wxWiki (for building exe for this project) and I get  
> the same
> result. Any help with this is greatly appreciated.
>
> Sample Error Msg:
> wx/buffer.h(127,44): Error error 2141: E2141 Declaration syntax error
> wx/buffer.h(129,64): Error error 2141: E2141 Declaration syntax error
> wx/strconv.h(52,22): Error error 2141: E2141 Declaration syntax error
> wx/strconv.h(171,22): Error error 2141: E2141 Declaration syntax error
>
>
> -regards,
> Guru Kathiresan
>
> _______________________________________________
> wx-users mailing list
> wx-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wx-users



More information about the wx-users mailing list