Setting up Delphi development environment for CPRSChart

116 views
Skip to first unread message

A.Kurkalang

unread,
Sep 18, 2014, 1:13:35 AM9/18/14
to hard...@googlegroups.com
Hi

I have downloaded the source for CPRSChart application from following URL:


But am struggling to setup the development environment and also the project files have a different extention. Usually Delphi project files are ".dpr" but here they are saved as ".dpr.in"

Can someone please help me find some small writeup or document using which I can setup the proper Delphi development environment to compile this CPRS project and also if possible clarify on the file extention.

Thanks

Ankush

Joe Snyder

unread,
Sep 18, 2014, 2:01:10 PM9/18/14
to hard...@googlegroups.com
Hi Ankush,

The setup that you've downloaded from the OSEHRA repository has been set up to build using CMake.  There is a reStructuredText file that has the directions on how to build CPRS using CMake in the top-level directory of that repository:  https://github.com/OSEHRA/VistA/blob/master/BUILD-Delphi.rst.  This should allow you to build the system without needing to alter your Delphi environment.  Two caveats, this file gives directions assuming that you are using the whole VistA source tree, not just a single downloaded folder or set of files like you likely have now and it assumes that you have an environment that uses Delphi 2007.

The ".in" notation, as in dpr.in or dproj.in, means that the file will be configured (http://www.cmake.org/cmake/help/v3.0/command/configure_file.html) by CMake. It is a common process used throughout the OSEHRA source tree to allow the tailoring of the resultant program and files for each individual system based upon variables set by the user.  After CMake has been run, the files with their proper extension will be found in the build directory along with a Makefile.  


Hope that helps,

Joe Snyder

Kitware Inc.

A.Kurkalang

unread,
Sep 19, 2014, 1:28:56 AM9/19/14
to hard...@googlegroups.com
Thank you  very much Joe. 

As suggested by you I am downloading the whole VistA source tree to avoid any broken dependency or complication arising out of same. Hope this quick help from you would go a long way in helping me start with this exploration in much smother way. :)

Thanks again

Ankush
Reply all
Reply to author
Forward
0 new messages