|
From: Venkat R. <ven...@ef...> - 2004-09-28 10:28:21
|
Hi Dave,
Thanks for your time. Appreciate your help. We are facing following =
issues in
implementing the UI using wx4j.=20
1. We can't find any layout option other than null. Are there any other
layouts available in wx4j?
2. Can't find similar option like setPreferredSize() (which is available
in Java) in wx4j? Is there any workaround?
3. Can we have buttons with images (both in enabled and disabled state)
4. Can't find any option to set the background color of List cells. Is
there any workaround.
5. Not able to find components like Table, Tab and Slider? These are not
available currently. Any workarounds or any easy approach to get these =
into
wx4j?
Apart from this we are facing the following error on wx4j source code
compilation:
-------------------------------------------------------------------------=
---
[exec] g++ -shared -o wx4j.dll helpers.o JNIHelper.o SmartJObject.o
wxJApp.o wxJCallback.o wxJInputStream.o wxJTreeItemData.o wxJTreeCtrl.o
wxJEvent.o wxJCommandEvent.o wxJListCtrlItemSorter.o wxJClientData.o
wxJFileSystemHandler.o wxJListCtrl.o wxJValidator.o wx_wrapper.o
-LD:/wxWindows-2.4.2/lib -LD:/wxWindows-2.4.2/contrib/lib -L/lib \
[exec] D:/wxWindows-2.4.2/lib/libwxxrc.a -lwxmsw -lregex -ljpeg =
-lpng
-ltiff -lzlib -lole32 -lgdi32 -lcomctl32 -lwsock32 -lcomdlg32 -loleaut32
-luuid -Wl,--add-stdcall-alias
[exec] Warning: .drectve `%.*s' unrecognized
......................
......................
\wxWindows-2.4.2: undefined reference to `??3@YAXPAX@Z'
[exec]
D:/wxWindows-2.4.2/lib\wxmsw.lib(/wxWindows-2.4.2/Release/clipcmn.obj)(.t=
ext+
0x17):D:\wxWindows-2.4.2: undefined reference to `??3@YAXPAX@Z'
[exec]
D:/wxWindows-2.4.2/lib\wxmsw.lib(/wxWindows-2.4.2/Release/clipcmn.obj)(.t=
ext+
0x3):D:\wxWindows-2.4.2: undefined reference to `??2@YAPAXI@Z'
[exec] mingw32-make: *** [wx4j.dll] Error 1
-------------------------------------------------------------------------=
---
Here is the brief up of our setup:
Win 2000
Ant 1.6.2
MinGW 3.2.3
G++ 3.2.3
SWIG Version 1.3.22
wxWindows 2.4.2
wx4j 0.2.0
Any help is greatly appreciated.
Regards,
-Venkat
-----Original Message-----
From: Dave Dribin [mailto:da...@dr...]=20
Sent: Thursday, September 23, 2004 7:59 PM
To: Suresh Tummala
Cc: wx4...@li...; Venkat Reddy
Subject: Re: wx4j build -link errors
I don't know what's causing that. I haven't built wx4j on Windows in=20
many months, sorry. The build instructions are at the end of the=20
INSTALL document.
-Dave
On Sep 23, 2004, at 6:30 AM, Suresh Tummala wrote:
> HI Dave and all,
>
> Can you please help us to fix the following build errors.
>
> We are trying to build wx4j source code and end up with following link =
> errors.
>
> =A0
>
> Build Errors :
>
> =A0=A0=A0=A0 [exec] make: *** [wx4j.dll] Error 1120
>
> =A0=A0=A0=A0 [exec] LINK : warning LNK4049: locally defined symbol =
""public:=20
> int __cdecl
>
> =A0wxString::Printf(char const *,...)" (?Printf@wxString@@QAAHPBDZZ)"=20
> imported
>
> =A0=A0=A0=A0 [exec] LINK : warning LNK4049: locally defined symbol =
""public:=20
> class wxWCh
>
> arBuffer const=A0 __thiscall wxMBConv::cMB2WC(char const *)const "=20
> (?cMB2WC@wxMBCo
>
> nv@@QBE?BVwxWCharBuffer@@PBD@Z)" imported
>
> =A0=A0=A0=A0 [exec] wxxrc.lib(xh_spin.obj) : error LNK2001: unresolved =
> external symbol "
>
> __declspec(dllimport) public: __thiscall=20
> wxSpinButtonBase::wxSpinButtonBase(void
>
> )" (__imp_??0wxSpinButtonBase@@QAE@XZ)
>
> =A0=A0=A0=A0 [exec] wx4j.dll : fatal error LNK1120: 1 unresolved =
externals
>
> =A0
>
> BUILD FAILED
>
> =A0
>
> =A0
>
> Could you please let us know what could be the wrong?
>
> Please let us know where can we find the wx4j build procedure =
document?
>
> =A0
>
> Thanks in advance,
>
> =A0
>
> Regards,
>
> Suresh Tummala
>
> =A0
|