thezbyg / gpick

Advanced color picker written in C++ using GTK+ toolkit
BSD 3-Clause "New" or "Revised" License
381 stars 34 forks source link

compile with cygwin - cmake error - unknown command "msgfmt_target" #184

Open TheArkive opened 4 years ago

TheArkive commented 4 years ago
CMake Error at CMakeLists.txt:124 (msgfmt_target):
  Unknown CMake command "msgfmt_target".

Just wondering if this is fixable on my end? I'm new to c/c++ compilers, but i've managed to get one setup (helloworld compiles). Your source code almost compiles, but there's an error i was unable to figure out.

All the packages are found during the compile process it seems.

Here's the log: CMakeOutput.log

I've tried to download all available options for cmake, but that doesn't seem to make a difference. I've tried to compile in msys and in CMD ... exact same result both times.

TheArkive commented 4 years ago

I think this might be a python distribution issue. What specific python distro name/version did you use to compile this?

TheArkive commented 4 years ago

I had the wrong libs in cygwin. Bit of a noob mistake.

Now i'm on to using make and it gets pretty far, but stops here:

gpick-master/source/Paths.cpp:37:17: error: '::readlink' has not been declared

I think this might be a c / c++ library issue. Though again might boil down to the wrong package on cygwin. Any ideas? I'm not trying to cross compile, just trying to compile with cygwin dependencies.

Chudroy commented 1 year ago

Did this ever get fixed? I got this same problem. Ran just a basic, clean install of the deps. No clue how to carry on from here.