Thread: Small problem compiling

Small problem compiling

From
Chris Leahy
Date:
Hi All
I manage to get so far with 3.1.2 and 3.1.4.
This is what stops:

if g++ -DHAVE_CONFIG_H -I. -I. -I..
-DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g -I../src/include
-I../src/agent/include -I/usr/include -DSSL
-I/usr/local/lib/wx/include/x11univ-unicode-release-2.6
-I/usr/local/include/wx-2.6 -D__WXUNIVERSAL__ -D__WXX11__
-I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-D_LARGEFILE_SOURCE=1 -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\"
-Wall -g -I../src/include -I../src/agent/include -g -O2 -MT sysSettings.o -MD
-MP -MF ".deps/sysSettings.Tpo" -c -o sysSettings.o `test -f
'utils/sysSettings.cpp' || echo './'`utils/sysSettings.cpp; \
then mv -f ".deps/sysSettings.Tpo" ".deps/sysSettings.Po"; else rm -f
".deps/sysSettings.Tpo"; exit 1; fi
utils/sysSettings.cpp: In constructor `sysSettings::sysSettings(const
   wxString&)':
utils/sysSettings.cpp:114: no matching function for call to `wxFont::wxFont(
   wxString&)'

This is going on a Redhat WS3 box.  As you can see, I have used wx for x11.

Has anybody got any ideas how to solve the issue?

Regards Chris

Re: Small problem compiling

From
"Dave Page"
Date:

> -----Original Message-----
> From: pgadmin-hackers-owner@postgresql.org
> [mailto:pgadmin-hackers-owner@postgresql.org] On Behalf Of Chris Leahy
> Sent: 26 January 2006 06:48
> To: pgadmin-hackers@postgresql.org
> Subject: [pgadmin-hackers] Small problem compiling
>
> Hi All
> I manage to get so far with 3.1.2 and 3.1.4.
> This is what stops:
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I..
> -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
> -I../src/include
> -I../src/agent/include -I/usr/include -DSSL
> -I/usr/local/lib/wx/include/x11univ-unicode-release-2.6
> -I/usr/local/include/wx-2.6 -D__WXUNIVERSAL__ -D__WXX11__
> -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D_LARGEFILE_SOURCE=1
> -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\"
> -Wall -g -I../src/include -I../src/agent/include -g -O2 -MT
> sysSettings.o -MD
> -MP -MF ".deps/sysSettings.Tpo" -c -o sysSettings.o `test -f
> 'utils/sysSettings.cpp' || echo './'`utils/sysSettings.cpp; \
> then mv -f ".deps/sysSettings.Tpo" ".deps/sysSettings.Po"; else rm -f
> ".deps/sysSettings.Tpo"; exit 1; fi
> utils/sysSettings.cpp: In constructor `sysSettings::sysSettings(const
>    wxString&)':
> utils/sysSettings.cpp:114: no matching function for call to
> `wxFont::wxFont(
>    wxString&)'
>
> This is going on a Redhat WS3 box.  As you can see, I have
> used wx for x11.
>
> Has anybody got any ideas how to solve the issue?

Use wxGTK. We only support that, wxMac and wxMsw. wxX11 will never work
because it lacks Unicode support which is required.

Regards, Dave.