[Ctk-developers] Additional steps needed to build CTK

Russell M. Taylor II taylorr at cs.unc.edu
Thu Dec 30 19:04:48 EST 2010


I wanted to share my experience trying to build CTK for the first 
time, in case it helps someone else.

Windows XP Pro, 32-bit.
Latest CMake.  Latest MinGW.  CTK from current GIT source.

Build CTK from source. See: 
<http://www.commontk.org/index.php/Build_Instructions>http://www.commontk.org/index.php/Build_Instructions 
for instructions. (When I did this using MinGW, it failed to run the 
DGraph.exe program because it was missing one of the DLLs from MinGW, 
even though this was on the path and could be run from the command 
line of both MinGW and CMD. The solution I found was to copy all of 
the DLLs from C:\MinGW\bin into {BUILD_ROOT}\Utilities\DGraph. Then 
it could find them when it ran the program. I also had to point both 
GIT_COMMAND and then GIT_EXECUTABLE to Git, in two separate passes 
through Configure within CMake. I also had to run mingw32-make 
several times after the first time in the build directory -- it 
failed with an internal CMake error the first time. During this time, 
it made another build directory underneath the one I had told it to 
make, and put another DGraph directory there, which required me to 
copy the DLLs again.)


---
Russell M. Taylor II, Ph.D.                           taylorr at cs.unc.edu
CB #3175, Sitterson Hall                        www.cs.unc.edu/~taylorr
University of North Carolina,                     Voice: (919) 962-1701
Chapel Hill, NC 27599-3175                        FAX:   (919) 962-1799 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20101230/dba99dcf/attachment.html>


More information about the Ctk-developers mailing list