Musepack Forums

Musepack Forums (
-   Development (
-   -   [SV8] compilation failed with CMake... (

Kurtnoise 28 December 2006 12:54 pm

[SV8] compilation failed with CMake...

I'm trying to compile a build from r2d branch. However, I've got an error during compilation:

Any idea ? I use Cmake from the last cvs + gcc within MSYS. Note that with MSVC8, all seems to be ok...

Lefungus 28 December 2006 01:28 pm

I left for holidays before finishing adding full cmake support.
It's basically due to current code misusing "WIN32" instead of "MSC_VER"
You can change libwavformat.h:13 to "#ifdef MSC_VER" to fix your issue but I'm sure there are other bad defines around.

Antonski 21 October 2007 02:04 pm


I have troubles compiling the last build with cmake under cygwin, because I don't have MSVC.
I get the following output:

> $ cmake ./
> -- Check for working C compiler: /usr/bin/gcc.exe
> -- Check for working C compiler: /usr/bin/gcc.exe -- works
> -- Check size of void*
> -- Check size of void* - done
> -- Check if the system is big endian
> -- Check if the system is big endian - little endian
> CMake Error: This project requires some variables to be set,
> and cmake can not find them.
> Please set the following variables:
> -- Configuring done

I suppose it's easy to be fixed, though.
Any idea how to overcome it?


xmixahlx 21 October 2007 07:05 pm

...perhaps autotools on windows would work for the time being?

r2d 22 October 2007 03:23 pm

You need to check out the replay gain lib
and set the REPLAY_GAIN_INCLUDE_DIR variable to the libreplaygain include dir


Antonski 23 October 2007 08:55 pm

Hi Nikolas,
now the make almost (78%) passed, but I don't want to waste your time with my problems.
I'll just wait for the next official build.
Thank you for your great work!

All times are GMT. The time now is 07:38 pm.

Powered by vBulletin® Version 3.8.11 Beta 2
Copyright ©2000 - 2021, vBulletin Solutions Inc.