|
From: TJF <tjf...@we...> - 2010-04-12 10:28:38
|
Hi, I could get a libsox.lib and the other compiled programs, when I use CMake and MSVS++ 9 (2008) on Win. But there is no way to do it with CMake and MingW. Doesn't this work at all? Or has someone any idea for me? Is it right that there is no dynamic lib (dll) compiled? CMake is also looking for a "ln.exe" -> LN-NOTFOUND . I found an old "ln.exe" (hardlinking-tool from 2003) but this is causing some problems compiling some programs coming with sox (which I don't need) - even with MSVS++. Has anyone an idea, where to get the right "ln.exe"? Best regards Thomas That is what I get, compiling with MingW: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. E:\Programmierung\Projekte_VisualC++\sox_14_3_1\Build>mingw32-make -f makefile [ 0%] Generating soxstdint.h Scanning dependencies of target libsox [ 0%] Building C object src/CMakeFiles/libsox.dir/effects.obj [ 1%] Building C object src/CMakeFiles/libsox.dir/formats_i.obj In file included from E:\Programmierung\Projekte_VisualC++\sox_14_3_1\src\format s_i.c:23: C:/Qt/2010.01/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/stat.h: 122: error: redefinition of `struct _stati64' mingw32-make[2]: *** [src/CMakeFiles/libsox.dir/formats_i.obj] Error 1 mingw32-make[1]: *** [src/CMakeFiles/libsox.dir/all] Error 2 mingw32-make: *** [all] Error 2 |