Musepack Forums

Musepack Forums (https://forum.musepack.net/index.php)
-   Development (https://forum.musepack.net/forumdisplay.php?f=11)
-   -   [SV8] compilation failed with CMake... (https://forum.musepack.net/showthread.php?t=326)

Kurtnoise 28 December 2006 12:54 pm

[SV8] compilation failed with CMake...
 
Hi,

I'm trying to compile a build from r2d branch. However, I've got an error during compilation: http://kurtnoise.free.fr/output.txt

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

Hi,

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:
> REPLAY_GAIN_INCLUDE_DIR
>
> -- Configuring done

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

~

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
http://svn.musepack.net/libreplaygain
and set the REPLAY_GAIN_INCLUDE_DIR variable to the libreplaygain include dir

Nicolas

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:21 pm.

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