Hi,
the problem is the command-line definition for png2c in pgadmin3.props.
when line 14 looks like that, the build works.
<CommandLineTemplate>"$(SolutionDir)xtra\png2c\$(Configuration)\png2c.exe"
[AllOptions] [AdditionalOptions] "%(FullPath)"
"%(FullPath)c"</CommandLineTemplate>
there is also a build-wxmsw attached that works with vs 2010.
regards,
jasmin
2011/5/27 Dave Page <[email protected]>
> On Fri, May 27, 2011 at 3:32 PM, Timwi <[email protected]> wrote:
> > On 27/05/2011 16:16, Dave Page wrote:
> >>>
> >>> All the VS 2010 developers are not much of a gain? If you say so...
> >>
> >> VS 2010 users are more than capable of using 2008 as well I imagine.
> >
> > I tried to offer my help with this project. I already had to jump through
> > two hoops (one to download git and get the damn thing to check out the
> > files, and two to post on this mailing list). Everyone has a point at
> which
> > they stop jumping through hoops for you because it’s not worth it for
> them.
> > At that point, you lose the contribution they would have made. Is that
> what
> > you want?
>
> Using an extremely popular source control system is a hoop to jump through?
>
> >> Well I wish you good luck, but you asked what to do about the error
> >> and I told you the likely cause and fix.
> >
> > Except that everyone else will similarly have to post to the mailing list
> > and jump through the same hoops as I. A “fix” is something that removes
> the
> > hoop.
>
> By that reasoning I should also jump through hoops and spend my time
> making the code compile in any random compiler that people might want
> to use.
>
> The reality is, upgrading the compiler used by the project has serious
> consequences on the project that you obviously don't fully understand.
> Will we upgrade somewhen? Yes. Will we offer assistance to people who
> want to spend their time on making other compilers work? Yes. What we
> won't do is jump through hoops to make things work in a new
> environment just because someone doesn't want to use what is
> recommended.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
> --
> Sent via pgadmin-hackers mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>
@echo off
setlocal
REM Configure which modules should be built
set WXBASE=wxtiff wxexpat wxjpeg wxpng wxregex wxzlib base core adv aui html
net xml xrc
set WXCONTRIB=stc
REM Location of wxWidgets source
set WX=%WXWIN%
set HERE=%CD%
if not exist %WX%\build\msw\wx.dsw goto no_wx
REM Copy include files
copy /Y setup0-msw-2.8.h "%WX%\include\wx\setup0.h"
copy /Y setup0-msw-2.8.h "%WX%\include\wx\setup.h"
copy /Y setup0-msw-2.8.h "%WX%\include\wx\msw\setup.h"
REM Convert projects if necessary
cd /D %WX%\build\msw
del *.vcxproj.user 2> NUL
for %%f in (%WXBASE%) do (
echo Checking %%f
if not exist wx_%%f.vcxproj vcupgrade /nologo wx_%%f.dsp
)
cd ..\..\contrib\build
for %%f in (%WXCONTRIB%) do (
echo Checking contrib/%%f
cd %%f
del *.vcxproj.user 2> NUL
if not exist %%f.vcxproj vcupgrade /nologo %%f.dsp
cd ..
)
cd ..\..\utils\hhp2cached
echo Checking utils\hhp2cached
del *.vcxproj.user 2> NUL
if not exist hhp2cached.vcxproj vcupgrade /nologo hhp2cached.dsp
cd ..\wxrc
echo Checking utils\wxrc
del *.vcxproj.user 2> NUL
if not exist wxrc.vcxproj vcupgrade /nologo wxrc.dsp
REM Now build them
cd /D %WX%\build\msw
for %%b in (Debug Release) do (
for %%f in (%WXBASE%) do (
title Building project %%f, config %%b
msbuild /nologo wx_%%f.vcxproj /p:Configuration="Unicode %%b"
msbuild /nologo wx_%%f.vcxproj /p:Configuration="DLL Unicode %%b"
)
)
cd ..\..\contrib\build
for %%b in (Debug Release) do (
for %%f in (%WXCONTRIB%) do (
cd %%f
title Building project contrib/%%f, config %%b
msbuild /nologo %%f.vcxproj /p:Configuration="Unicode %%b"
msbuild /nologo %%f.vcxproj /p:Configuration="DLL Unicode %%b"
cd ..
)
)
cd ..\..\utils\hhp2cached
title Building project utils/hhp2cached, config Release
msbuild /nologo hhp2cached.vcxproj /p:Configuration="Unicode Release"
cd ..\wxrc
title Building project utils/wxrc, config Release
msbuild /nologo wxrc.vcxproj /p:Configuration="Unicode Release"
cd /D %HERE%
title "build-wx done."
echo "build-wx done."
goto :eof
:no_wx
echo wxWidgets not found in %WX%!
exit /b 1
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers