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!
So I removed the hyphy_mp TARGET.
That compiled fine, but when I try make HYPHYMP I get a further error when Building CXX object CMakeFiles/HYPHYMP.dir/src/core/calcnode2.cpp.o
Code:some scope problems
CMakeFiles/HYPHYMP.dir/build.make:287: recipe for target 'CMakeFiles/HYPHYMP.dir/src/core/calcnode2.cpp.o' failed
make[3]: *** [CMakeFiles/HYPHYMP.dir/src/core/calcnode2.cpp.o] Error 1
CMakeFiles/Makefile2:249: recipe for target 'CMakeFiles/HYPHYMP.dir/all' failed
make[2]: *** [CMakeFiles/HYPHYMP.dir/all] Error 2
CMakeFiles/Makefile2:257: recipe for target 'CMakeFiles/HYPHYMP.dir/rule' failed
make[1]: *** [CMakeFiles/HYPHYMP.dir/rule] Error 2
Makefile:228: recipe for target 'HYPHYMP' failed
make: *** [HYPHYMP] Error 2
I have compiled it successfully using Linux Mint, but I want a Windows compatible command line version.
Any help is greatly appreciated as always