From: Sean P. <sp...@ad...> - 2006-10-16 18:13:31
|
First recommendation is to join the developer mailing list (and the discussion mailing list) off our source forge site) - other folks on my team and in the community are often more responsive than I can be to these questions. Foster, Mat, or Ralph can likely answer you question on patching on Win32. Sean Begin forwarded message: > From: "Jacob Foshee" <ja...@gm...> > Date: October 16, 2006 10:02:11 AM PDT > To: "Sean Parent" <sp...@ad...> > Subject: Re: Contact from Texas A&M IAP > > Great! Good to hear from you, and glad I can start using this tool. > Hopefully I can contribute in some way. > > I've actually joined a start-up company doing medical software. I'm > the lead (and only) sw engr here, so my boss seems pretty receptive to > my recommendations. So, as it stands, we'll be trying ADM & EVE for > our dialogs. I'll have a look at the image library too, as we will be > working with medical imaging data. > > My first hurdle is building on Windows. > > I installed Patch (& I think I got all the dependencies) from > GnuWin32. But, Patch crashes, and I assume it has to do with the > line-ending issue. Do I just need to fix line endings in the patch > file? Or all of Boost? What do you recommend? Should I run Patch on > a Linux box then copy it back over to Windows? > > I appreciate your help! > Jacob > > > On 10/13/06, Sean Parent <sp...@ad...> wrote: >> You have found me! Let me know how I can help you get started with >> ASL. >> Sean >> >> On Oct 13, 2006, at 4:00 PM, Jacob Foshee wrote: >> >> > Howdy, >> > I'm looking for Sean Parent, and only guessing at the email >> address. >> > Please let me know if I'm mistaken. >> > >> > I met you at the Texas A&M CS dept. Industry Affiliates meeting >> back >> > in March. We discussed, and you might recall I was enamored by, >> ADM & >> > EVE. I also gave you a lift to the restaurant. >> > >> > Anyway, if I've got the right person, I'd love to get back in touch >> > with you. I am looking at doing some development using ASL! >> > >> > cheers, >> > Jacob Foshee >> >> |
From: Hubert F. <hu...@fi...> - 2006-10-17 18:35:53
|
Sean Parent wrote: >> >> I'm wondering whether a complete CMake support would be accepted in the >> main tree? Given that CMake works on Mac, Windows and UNIX, and for the >> first 2 can generate project files to be build with the IDEs... > > We would take a look - despite the headaches of bjam, when it does work > it does a nice job of handling complete builds, regression tests, > compilation tests, and negative tests (test that are expected _not_ to > compile or not to execute). CMake has support of tests. I don't know how easy it is to handle negative test. Is there a list of all these test? Or are the jam files the only source. Hub |
From: Jacob F. <ja...@gm...> - 2006-10-17 19:09:31
|
AFAIK, CMake does support such tests. There is a macro called CheckCXXSourceCompiles. (I am assuming you can just put NOT in front of the resultant.) And there are even macros that generate code & attempt to build (e.g. to determine if a function exists). On 10/17/06, Hubert Figuiere <hu...@fi...> wrote: > Sean Parent wrote: > >> > >> I'm wondering whether a complete CMake support would be accepted in the > >> main tree? Given that CMake works on Mac, Windows and UNIX, and for the > >> first 2 can generate project files to be build with the IDEs... > > > > We would take a look - despite the headaches of bjam, when it does work > > it does a nice job of handling complete builds, regression tests, > > compilation tests, and negative tests (test that are expected _not_ to > > compile or not to execute). > > CMake has support of tests. I don't know how easy it is to handle > negative test. > Is there a list of all these test? Or are the jam files the only source. > > > Hub > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel > |
From: Foster T. B. <fbr...@ad...> - 2006-10-16 18:19:39
|
Hi Jacob, On Oct 16, 2006, at 11:12a, Sean Parent wrote: >> I installed Patch (& I think I got all the dependencies) from >> GnuWin32. But, Patch crashes, and I assume it has to do with the >> line-ending issue. Do I just need to fix line endings in the patch >> file? Or all of Boost? What do you recommend? Should I run =20 >> Patch on >> a Linux box then copy it back over to Windows? Welcome to the club! =46rom our experience the biggest issue with GnuWin32 has been that =20 the line endings in the patch file were such that Patch was not =20 happy. I can't recall if it caused Patch to crash or just to fail =20 patching. The source files did not need to have their line endings =20 converted -- patch seems to be line ending agnostic after the reading =20= of the patch file. We use leconv, a small utility in adobe-source/=20 adobe/tools/, on the patch file to make it something patch is happy =20 with. Let me know if you have any more issues. Blessings, Foster -- Foster T. Brereton <=E1=BC=B0=CF=87=CE=B8=CF=8D=CF=82>< = Romans =20 3:21-26 A d o b e S o f t w a r e T e c h n o l o g y L a b "What 99 percent of programmers need to know is not how to build =20 components but how to use them." -- Alexander Stepanov "Now we have very simple code and the meaning is perfectly clear. =20 Drink the Kool-Aid" -- Sean Parent |
From: <syn...@gm...> - 2006-10-16 18:25:25
|
Sean Parent wrote: >> I installed Patch (& I think I got all the dependencies) from >> GnuWin32. But, Patch crashes, and I assume it has to do with the >> line-ending issue. Do I just need to fix line endings in the patch >> file? Or all of Boost? What do you recommend? Should I run Patch on >> a Linux box then copy it back over to Windows? >> I recommend to use cygwin for standard unix command: patch, diff, cvs, svn ... Peter |
From: Jacob F. <ja...@gm...> - 2006-10-17 16:37:37
|
Thanks for all the tips! Leconv worked like a charm. After that I realize= d I didn't have the latest version, so decided to try the all-in-one asl_1.0.20_net_setup.bat. The batch file was more sophisticated than I expected and it worked very well. I did run into a couple problems once the build got started, though. First= , I am using VC8 (Visual Studio 2005). I modified build.bat as follows: if EXIST "%ProgramFiles%\Microsoft Visual Studio .NET 2003\VC7\" ( set BOOST_JAM_TOOLSET_ROOT=3D%ProgramFiles%\Microsoft Visual Studio .NE= T 2003\VC7\ set VC71_ROOT=3D%BOOST_JAM_TOOLSET_ROOT% set BOOST_JAM_TOOLSET=3Dvc71 set TOOLS=3Dvc71 ) if EXIST "%ProgramFiles%\Microsoft Visual Studio 8\VC\" ( set BOOST_JAM_TOOLSET_ROOT=3D%ProgramFiles%\Microsoft Visual Studio 8\V= C\ set VC80_ROOT=3D%BOOST_JAM_TOOLSET_ROOT% set BOOST_JAM_TOOLSET=3Dvc80 set TOOLS=3Dvc80 ) I am not too familiar with bjam, but it seemed to work ok, aside from a few incorrect references to VC7 in the output. Second, the build had some problems with spaces in the path. If you like, = I can try to track down exactly where it got tripped up. It worked fine once I moved it to a location w/out spaces. I also tried the IDE files and I built Begin from the vcproj with no problems. How do you guys generate the IDE files? Are you familiar with CMake? We are using CMake for our build here, so I will likely be working on CMake files that pull ASL into our application. Thanks! Jacob On 10/16/06, Peter K=FCmmel <syn...@gm...> wrote: > Sean Parent wrote: > >> I installed Patch (& I think I got all the dependencies) from > >> GnuWin32. But, Patch crashes, and I assume it has to do with the > >> line-ending issue. Do I just need to fix line endings in the patch > >> file? Or all of Boost? What do you recommend? Should I run Patch on > >> a Linux box then copy it back over to Windows? > >> > > I recommend to use cygwin for standard unix command: > patch, diff, cvs, svn ... > > Peter > |
From: Foster T. B. <fbr...@ad...> - 2006-10-17 17:30:49
|
Hi Jacob, On Oct 17, 2006, at 9:37a, Jacob Foshee wrote: > Thanks for all the tips! Leconv worked like a charm. After that I =20= > realized I didn't have the latest version, so decided to try the =20 > all-in-one asl_1.0.20_net_setup.bat. The batch file was more =20 > sophisticated than I expected and it worked very well. > > I did run into a couple problems once the build got started, =20 > though. First, I am using VC8 (Visual Studio 2005). I modified =20 > build.bat as follows: > if EXIST "%ProgramFiles%\Microsoft Visual Studio .NET 2003\VC7\" ( > set BOOST_JAM_TOOLSET_ROOT=3D%ProgramFiles%\Microsoft Visual =20 > Studio .NET 2003\VC7\ > set VC71_ROOT=3D%BOOST_JAM_TOOLSET_ROOT% > set BOOST_JAM_TOOLSET=3Dvc71 > set TOOLS=3Dvc71 > ) > > if EXIST "%ProgramFiles%\Microsoft Visual Studio 8\VC\" ( > set BOOST_JAM_TOOLSET_ROOT=3D%ProgramFiles%\Microsoft Visual =20 > Studio 8\VC\ > set VC80_ROOT=3D%BOOST_JAM_TOOLSET_ROOT% > set BOOST_JAM_TOOLSET=3Dvc80 > set TOOLS=3Dvc80 > ) > I am not too familiar with bjam, but it seemed to work ok, aside =20 > from a few incorrect references to VC7 in the output. Yes, we have had this problem presented to us before. Hopefully with =20 the next release of ASL we will have this batch file updated so users =20= can have one (or both) IDEs installed. > Second, the build had some problems with spaces in the path. If =20 > you like, I can try to track down exactly where it got tripped up. =20= > It worked fine once I moved it to a location w/out spaces. Yes, if you can nail this down please file it as a bug report on the =20 sourceforge.net page. > I also tried the IDE files and I built Begin from the vcproj with =20 > no problems. How do you guys generate the IDE files? Are you =20 > familiar with CMake? We are using CMake for our build here, so I =20 > will likely be working on CMake files that pull ASL into our =20 > application. We have the vcproj files hand-made at this point due to the fact that =20= we make heavy use of vsprops files to put our settings external to =20 the vc projects themselves. We haven't played with CMake before. Blessings, Foster > Thanks! > Jacob > > > > > On 10/16/06, Peter K=C3=BCmmel <syn...@gm...> wrote: > > Sean Parent wrote: > > >> I installed Patch (& I think I got all the dependencies) from > > >> GnuWin32. But, Patch crashes, and I assume it has to do with the > > >> line-ending issue. Do I just need to fix line endings in the =20 > patch > > >> file? Or all of Boost? What do you recommend? Should I run =20 > Patch on > > >> a Linux box then copy it back over to Windows? > > >> > > > > I recommend to use cygwin for standard unix command: > > patch, diff, cvs, svn ... > > > > Peter > > > ----------------------------------------------------------------------=20= > --- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642________________________= ______=20 > _________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel -- Foster T. Brereton <=E1=BC=B0=CF=87=CE=B8=CF=8D=CF=82>< = Romans =20 3:21-26 A d o b e S o f t w a r e T e c h n o l o g y L a b "What 99 percent of programmers need to know is not how to build =20 components but how to use them." -- Alexander Stepanov "Now we have very simple code and the meaning is perfectly clear. =20 Drink the Kool-Aid" -- Sean Parent |
From: Hubert F. <hu...@fi...> - 2006-10-17 17:49:47
|
> We have the vcproj files hand-made at this point due to the fact that > we make heavy use of vsprops files to put our settings external to > the vc projects themselves. We haven't played with CMake before. I have been working on making it build with GNU automake because that is what I know best (almost work on both Mac and Linux), but recently I tried CMake on another project of mine, and I like it... so I have been pondering. I'm wondering whether a complete CMake support would be accepted in the main tree? Given that CMake works on Mac, Windows and UNIX, and for the first 2 can generate project files to be build with the IDEs... Hub |
From: Mat M. <mm...@em...> - 2006-10-17 18:50:53
|
Thanks for your interest in contributing a build configurations. ASL's principal build system is currently an enhanced version of boost build version 2/bjam (bbv2). This is the only system that we officially support. All code must compile using bbv2 (without warnings) on Mac os X and windows (MSVC 8.0) and pass all the test suites (automated via bbv2 and begin examples) before being checked in to the ASL main line. As a less-than-100% supported service we try to also keep MSVC 7.1 builds and cygwin builds functoining properly. As another unsupported service we offer IDE projects. These are written by hand, leveraging the vsprops/xcconfig mechanism to centralize compiler options and track the boost build file structure as closely as possible. There are various other interesting build systems, but I currently lean against supporting yet more build flavors in the main line. We might consider creating an "unsupported" directory for such contributions. Alternatively, we might include a reference to your cmake system from the opensource site. > -----Original Message----- > From: ado...@li... > [mailto:ado...@li...] On > Behalf Of Hubert Figuiere > Sent: Tuesday, October 17, 2006 10:50 AM > To: Foster T. Brereton > Cc: adobe-source developers > Subject: [Adobe-source-devel] Build system (Was: Re: Fwd: > Contact from Texas A&M IAP) > > > We have the vcproj files hand-made at this point due to the > fact that > > we make heavy use of vsprops files to put our settings > external to the > > vc projects themselves. We haven't played with CMake before. > > I have been working on making it build with GNU automake > because that is what I know best (almost work on both Mac and > Linux), but recently I tried CMake on another project of > mine, and I like it... so I have been pondering. > > I'm wondering whether a complete CMake support would be > accepted in the main tree? Given that CMake works on Mac, > Windows and UNIX, and for the first 2 can generate project > files to be build with the IDEs... > > > Hub > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel > |
From: Jacob F. <ja...@gm...> - 2006-10-17 19:17:46
|
I will be happy to share my results as I attempt to integrate ASL into our build system. On 10/17/06, Mat Marcus <mm...@em...> wrote: > Thanks for your interest in contributing a build configurations. > > ASL's principal build system is currently an enhanced version of boost build > version 2/bjam (bbv2). This is the only system that we officially support. > All code must compile using bbv2 (without warnings) on Mac os X and windows > (MSVC 8.0) and pass all the test suites (automated via bbv2 and begin > examples) before being checked in to the ASL main line. > > As a less-than-100% supported service we try to also keep MSVC 7.1 builds > and cygwin builds functoining properly. As another unsupported service we > offer IDE projects. These are written by hand, leveraging the > vsprops/xcconfig mechanism to centralize compiler options and track the > boost build file structure as closely as possible. > > There are various other interesting build systems, but I currently lean > against supporting yet more build flavors in the main line. We might > consider creating an "unsupported" directory for such contributions. > Alternatively, we might include a reference to your cmake system from the > opensource site. > > > > > -----Original Message----- > > From: ado...@li... > > [mailto:ado...@li...] On > > Behalf Of Hubert Figuiere > > Sent: Tuesday, October 17, 2006 10:50 AM > > To: Foster T. Brereton > > Cc: adobe-source developers > > Subject: [Adobe-source-devel] Build system (Was: Re: Fwd: > > Contact from Texas A&M IAP) > > > > > We have the vcproj files hand-made at this point due to the > > fact that > > > we make heavy use of vsprops files to put our settings > > external to the > > > vc projects themselves. We haven't played with CMake before. > > > > I have been working on making it build with GNU automake > > because that is what I know best (almost work on both Mac and > > Linux), but recently I tried CMake on another project of > > mine, and I like it... so I have been pondering. > > > > I'm wondering whether a complete CMake support would be > > accepted in the main tree? Given that CMake works on Mac, > > Windows and UNIX, and for the first 2 can generate project > > files to be build with the IDEs... > > > > > > Hub > > > > -------------------------------------------------------------- > > ----------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your job easier Download IBM WebSphere Application Server > > v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > dat=121642 > > _______________________________________________ > > Adobe-source-devel mailing list > > Ado...@li... > > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel > |
From: Sean P. <sp...@ad...> - 2006-10-17 18:29:03
|
> > I'm wondering whether a complete CMake support would be accepted in > the > main tree? Given that CMake works on Mac, Windows and UNIX, and for > the > first 2 can generate project files to be build with the IDEs... We would take a look - despite the headaches of bjam, when it does work it does a nice job of handling complete builds, regression tests, compilation tests, and negative tests (test that are expected _not_ to compile or not to execute). Sean |