Lists: | pgadmin-hackers |
---|
From: | Dave Page <dpage(at)postgresql(dot)org> |
---|---|
To: | Jeff Boehmer <jeff_boehmer(at)hotmail(dot)com>, pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Using VC++ Express to develop pgAdmin3 |
Date: | 2007-03-06 17:02:48 |
Message-ID: | [email protected] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-hackers |
Jeff Boehmer wrote:
> David,
>
> Thanks for your reply. It's been a long time since I did any c/c++
> development. For the last 10 years it's been a lot of Java, VB, web,
> and database work. I have some free time right now because I am between
> jobs so I thought I would look into open source.
>
> Since I haven't used VC development tools in a long while I have had to
> start from scratch. Just getting the VC Express, the PDK, Postgres, and
> wxWidgets setup and/or compiled has taken me a number of days.
> Obviously I still have something messed up in my setup somewhere.
>
> Since this error pops up before any break points that I set, do you
> think it's a missing dll reference or something. Any suggestions would
> be helpful.
[Please keep replies on list]
No, I don't think so - it's pretty good about warning for things like
that. Can you run the wxWidgets sample apps OK?
Regards, Dave
From: | "Jeff Boehmer" <jeff_boehmer(at)hotmail(dot)com> |
---|---|
To: | dpage(at)postgresql(dot)org, pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Using VC++ Express to develop pgAdmin3 |
Date: | 2007-03-06 17:52:12 |
Message-ID: | [email protected] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-hackers |
David,
Thanks for the advice.
I am able to run the wxWidgets samples and create my own wxWidget 'hello
world' test.
While going through the setup for the 'hello world' I realized that some of
the additional dependencies I had set up for pgAdmin3 were incorrect.
(That's what I get for cutting and pasting from help sites without cross
checking my libraries.)
I still get the access violation but I can now debug the location
(wxStringBase.GetStringData()). I will sweep through my setup again and
double check everything.
Thanks again for the help,
Jeff
>From: Dave Page <dpage(at)postgresql(dot)org>
>To: Jeff Boehmer <jeff_boehmer(at)hotmail(dot)com>, pgadmin-hackers(at)postgresql(dot)org
>Subject: Re: [pgadmin-hackers] Using VC++ Express to develop pgAdmin3
>Date: Tue, 06 Mar 2007 17:02:48 +0000
>
>Jeff Boehmer wrote:
>>David,
>>
>>Thanks for your reply. It's been a long time since I did any c/c++
>>development. For the last 10 years it's been a lot of Java, VB, web, and
>>database work. I have some free time right now because I am between jobs
>>so I thought I would look into open source.
>>
>>Since I haven't used VC development tools in a long while I have had to
>>start from scratch. Just getting the VC Express, the PDK, Postgres, and
>>wxWidgets setup and/or compiled has taken me a number of days. Obviously
>>I still have something messed up in my setup somewhere.
>>
>>Since this error pops up before any break points that I set, do you think
>>it's a missing dll reference or something. Any suggestions would be
>>helpful.
>
>[Please keep replies on list]
>
>No, I don't think so - it's pretty good about warning for things like that.
>Can you run the wxWidgets sample apps OK?
>
>Regards, Dave
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
_________________________________________________________________
Dont miss your chance to WIN 10 hours of private jet travel from Microsoft
Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/
From: | Dave Page <dpage(at)postgresql(dot)org> |
---|---|
To: | Jeff Boehmer <jeff_boehmer(at)hotmail(dot)com> |
Cc: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Using VC++ Express to develop pgAdmin3 |
Date: | 2007-03-06 19:15:38 |
Message-ID: | [email protected] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-hackers |
Jeff Boehmer wrote:
>
> David,
>
> Thanks for the advice.
>
> I am able to run the wxWidgets samples and create my own wxWidget 'hello
> world' test.
>
> While going through the setup for the 'hello world' I realized that some
> of the additional dependencies I had set up for pgAdmin3 were
> incorrect. (That's what I get for cutting and pasting from help sites
> without cross checking my libraries.)
>
> I still get the access violation but I can now debug the location
> (wxStringBase.GetStringData()). I will sweep through my setup again and
> double check everything.
Did you read all of our setup documentation? There's some help at
http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/trunk/pgadmin3/xtra/wx-build/readme.txt?rev=5679&view=markup,
as well as on the website at http://www.pgadmin.org/download/source.php
Regards, Dave.
From: | "Jeff Boehmer" <jeff_boehmer(at)hotmail(dot)com> |
---|---|
To: | dpage(at)postgresql(dot)org |
Cc: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Using VC++ Express to develop pgAdmin3 |
Date: | 2007-03-07 16:45:05 |
Message-ID: | [email protected] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-hackers |
Dave,
Thanks. I went back and started over completely. I set my environment up
exactly as it is in the vcproj file, followed all the instructions to the
letter and it compiled and ran. I think the problem I was seeing was
because I had failed to compile some libs as unicode.
Note: The build widgets bat file did not work since vcbuild at the command
prompt could not see the PDK includes and libs. Since VC Express could see
them, I just opened each project and compiled them for Debug and Release.
I had the same problem compiling the libpq.lib file but I used a hack where
I copied the includes and libs from the PDK into VC Express' include and lib
directories. I didn't like doing that so I did it on another computer.
Thanks again for your help,
Jeff
>From: Dave Page <dpage(at)postgresql(dot)org>
>To: Jeff Boehmer <jeff_boehmer(at)hotmail(dot)com>
>CC: pgadmin-hackers(at)postgresql(dot)org
>Subject: Re: [pgadmin-hackers] Using VC++ Express to develop pgAdmin3
>Date: Tue, 06 Mar 2007 19:15:38 +0000
>
>Jeff Boehmer wrote:
>>
>>David,
>>
>>Thanks for the advice.
>>
>>I am able to run the wxWidgets samples and create my own wxWidget 'hello
>>world' test.
>>
>>While going through the setup for the 'hello world' I realized that some
>>of the additional dependencies I had set up for pgAdmin3 were incorrect.
>>(That's what I get for cutting and pasting from help sites without cross
>>checking my libraries.)
>>
>>I still get the access violation but I can now debug the location
>>(wxStringBase.GetStringData()). I will sweep through my setup again and
>>double check everything.
>
>Did you read all of our setup documentation? There's some help at
>http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/trunk/pgadmin3/xtra/wx-build/readme.txt?rev=5679&view=markup,
>as well as on the website at http://www.pgadmin.org/download/source.php
>
>Regards, Dave.
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: Don't 'kill -9' the postmaster
_________________________________________________________________
Win a Zunemake MSN your homepage for your chance to win!
http://homepage.msn.com/zune?icid=hmetagline
From: | Dave Page <dpage(at)postgresql(dot)org> |
---|---|
To: | Jeff Boehmer <jeff_boehmer(at)hotmail(dot)com> |
Cc: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Using VC++ Express to develop pgAdmin3 |
Date: | 2007-03-07 16:54:45 |
Message-ID: | [email protected] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgadmin-hackers |
Jeff Boehmer wrote:
>
> Dave,
>
> Thanks. I went back and started over completely. I set my environment
> up exactly as it is in the vcproj file, followed all the instructions to
> the letter and it compiled and ran. I think the problem I was seeing
> was because I had failed to compile some libs as unicode.
OK.
> Note: The build widgets bat file did not work since vcbuild at the
> command prompt could not see the PDK includes and libs. Since VC
> Express could see them, I just opened each project and compiled them for
> Debug and Release.
Hadn't thought of that. There is a project file in the wxWidgets source
that includes virtually all of the sub projects though - you still have
to de-select the builds you don't want, but it saves some effort.
> I had the same problem compiling the libpq.lib file but I used a hack
> where I copied the includes and libs from the PDK into VC Express'
> include and lib directories. I didn't like doing that so I did it on
> another computer.
If you install the windows build of PostgreSQL, and include the
developer components you should get all the libs and headers pgAdmin
needs from PostgreSQL, in a location where it'll find them without
reconfiguration.
> Thanks again for your help,
Pretty sure it was you that did all the hard work, but thanks :-)
Regards Dave