Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: compile problem


  • From: Tim Stahlhut <stahta01(at)highstream(dot)net>
  • To: pgadmin-hackers(at)postgresql(dot)org
  • Subject: Re: compile problem
  • Date: Tue, 13 Mar 2007 13:49:56 +0000 (UTC)
  • Message-id: <et6a63$tsu$1(at)sea(dot)gmane(dot)org>

Dave Page wrote:

> Tim Stahlhut wrote:
>> Dave Page wrote:
>> 
>>> Giuseppe Sacco wrote:
>>>> Hi all,
>>>> I am testing pgadmin3 and wxwidget, both from CVS head on a GNU/Linux
>>>> system. Once I compiled and installaed wxwidget and its "contrib"
>>>> directory, I get this error while compiling pgAdmin3:
>>>>
>>>> ./frm/frmBackupServer.cpp: In member function ‘void frmBackupServer::OnSelectFilename(wxCommandEvent&)’:
>>>> ./frm/frmBackupServer.cpp:96: error: ‘wxSAVE’ was not declared in this scope
>>>>
>>>> Is this a problem in my configuration?
>>> It might be a change in wxWidgets CVS head. We only support 2.8.0 at the
>>> moment. pgAdmin SVN trunk certainly builds OK for me on Linux.
>> 
>> Sorry if this is a duplicate, I waited over two hours and my first post
>> never showed.
>
> Sorry, I was sleeping - and you did email to say cancel the post!
>
>>  ‘wxSAVE’  was renamed to wxFD_SAVE when WXWIN_COMPATIBILITY_2_6=0 which
>> is the default for 2.9 builds now (cvs head is 2.9)
>
> Thanks, will fix.
>
> Regards, Dave.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match

Sorry, about my misunderstanding the permission system.
Here's a subset of a patch I did for codeblocks to get 2.9 to work, they
 are maintaining 2.6 support as primary. These constants were everywhere
so I added the below code to the application common header.

See wx/filedlg.h for the changes.

#if wxCHECK_VERSION(2, 8, 0) && !(WXWIN_COMPATIBILITY_2_6)
    // Note the following defines need removed
    // when CodeBlocks support for wxWidgets 2.6 is dropped
    #define wxOPEN wxFD_OPEN
    #define wxFILE_MUST_EXIST wxFD_FILE_MUST_EXIST
    #define wxMULTIPLE wxFD_MULTIPLE
    #define wxSAVE wxFD_SAVE
    #define wxOVERWRITE_PROMPT wxFD_OVERWRITE_PROMPT
    #define wxCHANGE_DIR wxFD_CHANGE_DIR
#endif





Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group