Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Problem converting project to VS 2008 |
|
Author |
|
IMil
Joined: 19 Sep 2008 Posts: 3
|
Posted: Fri 19 Sep '08 13:34 Post subject: Problem converting project to VS 2008 |
|
|
After I open the apache.dsw file in VS 2008 and agree to convert all projects, custom build steps remain empty.
First project to fail is pcre that requires some source files to be generated.
I have run the conversion scripts specified in this post, but it didn't help.
Did anyone encounter such problem? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 19 Sep '08 17:26 Post subject: |
|
|
As later in that post, did you:
zip -R dsps.zip *.dsp *.dsw
unzip -a -o dsps.zip
Open apache.dsw, convert, close, then open Apache.sln
this seems to be the trick as posted by Tom later in that post.
I have successfully followed those steps of his more than once on VS 2k8
That is GNU zip & unzip
http://gnuwin32.sourceforge.net/packages/zip.htm
http://gnuwin32.sourceforge.net/packages/unzip.htm
Note that you will need to do as he states in that post that if this isn't followed first, you need to delete the *.vcproj* and Apache.sln files before trying again
Last edited by glsmith on Sat 27 Sep '08 3:11; edited 1 time in total |
|
Back to top |
|
IMil
Joined: 19 Sep 2008 Posts: 3
|
Posted: Fri 19 Sep '08 21:46 Post subject: |
|
|
As far as I remember I did follow all these steps in the specified order. To be sure, I'll try everything from the start after the weekend.
By the way, did you ever miss the first step? If so, did you get the same error as in my case? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Sat 20 Sep '08 5:30 Post subject: |
|
|
1st step as in #define _WIN32_WINNT 0x0502
Yes, and no Apache would not compile under VS2k8.
or
change vs2008 default sdk,use 2k3 r2 sdk.
I did this and still had to move it up to 502
#define APR_HAVE_IPV6 1
this is a Vista option. We've compiled Apache fine on pretty much VS6 & up with this flag set and it compiles, just doesn't work on XP and requires the 2k8 SDK which then forces the 1st issue anyway .. AFAI can remember. |
|
Back to top |
|
IMil
Joined: 19 Sep 2008 Posts: 3
|
Posted: Tue 23 Sep '08 12:51 Post subject: |
|
|
Seems that I missed the zip/unzip step. Repeating all the steps from beginning solved the problem.
Thanks to everyone. |
|
Back to top |
|
|
|
|
|
|