RE: Re: need help with visual studio
"Michael Geary" <[email protected]> Sun, 9 May 2004 23:37:44 -0700
| Newsgroups | gmane.comp.lang.prothon.devel |
|---|---|
| Message-ID | <[email protected]> |
> 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. Obviously, I can work around this by putting your code in c:\prothon for now, but you really want your build to be independent of the directory location. (Otherwise how can you build and test two separate versions, e.g. for regression testing?) 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.) 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. -Mike