HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> Compiling with Cygwin http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1403088249 Message started by Christopher on Jun 18th, 2014 at 3:44am |
Title: Re: Compiling with Cygwin Post by Christopher on Jun 19th, 2014 at 8:20am
Hey thanks Steven :)
I'm trying to create an executable accessible from the command-line for use by another program (like MEGA does), hence the cygwin environment. When I use the CMakeList.txt you provided (hyphy_mp commented out, I get this error: Code (]$ cmake ./ -- Could NOT find OpenCL (missing: OPENCL_LIBRARIES OPENCL_INCLUDE_DIR) -- Could NOT find Freetype (missing: FREETYPE_INCLUDE_DIRS) CMake Error at CMakeLists.txt:548 (set_property): set_property could not find TARGET hyphy_mp. Perhaps it has not yet been created. -- Configuring incomplete, errors occurred! [/code):
I have compiled it successfully using Linux Mint, but I want a Windows compatible command line version. Any help is greatly appreciated as always :) |
Title: Re: Compiling with Cygwin Post by Steven on Jun 19th, 2014 at 5:26pm
Hi Christopher,
In order for HyPhy to be compiled on Windows, a specific preprocessor directive needs to be set. This flag is needed because there are unix specific system calls such as getpid() in parts of the codebase. Unfortunately, this same preprocessor directive will automatically compile HyPhy to be run in a GUI setting. In this scenario, I think the only reassurance I can provide is that we are working on a new version of HyPhy, and I can see if we can ensure that a cli version of HyPhy will be possible on Windows. |
Title: Re: Compiling with Cygwin Post by Christopher on Jun 21st, 2014 at 12:57pm
Hey Steven
So is there no way to compile a version under cygwin, for use on Windows? I thought that's what MEGA does? I think I may just shift development to linux then. Thanks for your help and hopefully a cli version is available soon :) |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |