Re: Re: need help with visual studio

"Mark Hahn" <[email protected]> Mon, 10 May 2004 00:14:46 -0700
Newsgroups gmane.comp.lang.prothon.devel
Message-ID <[email protected]>
Michael Geary wrote:
>> The workspace is in the SVN repository root.
>
> Ah, I should have looked there. :-)
>
> First problem: You've got absolute paths to c:\prothon\etc. in all the
> "additional include directories" for C/C++ and "additional library
> directories" for Link. Bad, bad! :-) These need to be changed to
> relative paths, relative to the .vcproj file for each project. Use ..
> as needed. For example, the c:\prothon\include path should be
> ..\include in src.vcproj and ..\..\include in OS.vcproj and the other
> modules' .vcproj files.

Will do.

> Second problem: There are include and link paths to
> c:\prothon\apr\etc. This would appear to be the Apache Portable
> Runtime, so I went and downloaded the APR source. I don't see any
> .vcproj files in there, only .dsp files, meaning that APR has been
> built with VC6, not VS.NET. Did you simply let VS.NET convert the
> .dsp files to .vcproj files and it all worked, or did you have to
> tweak anything? (I could try it but I figure I'll check first to
> avoid duplicated effort.)

I followed their instructions for building with command lines and it just
worked.  So I probably don't have valid project files.

> My recommendation here would be to include the APR source in your SVN
> repository, and include its two .vcproj files (looks like you're
> using apr and apr-util) in your .sln file. That way you have one .sln
> that builds everything for you.
>
> I'd suggest checking the APR source into the SVN repository, along
> with the source for boost regex++ that you mention in the readme.txt.
> The goal is to allow somebody to download a single tarball, unpack it
> into any directory, open the .sln, and do a Ctrl+Shift+B to build
> everything.

I seem to remember trying to build apr and/or regex in VS and not being
successful.  Maybe I should try again now that I have a pro like you to help
out :-)