|
From: Thomas F. <tjf...@we...> - 2010-04-12 15:55:12
|
Hi, thank you! This compiling problem may be also caused by a strange chaos in this MinGW "lib" and "libexec" folder... But: No dll ...? Any idea about LN ? Regards Thomas Chris Bagwell schrieb: > On Mon, Apr 12, 2010 at 5:28 AM, TJF <tjf...@we...> wrote: > >> Hi, >> >> I could get a libsox.lib and the other compiled programs, when I use >> CMake and MSVS++ 9 (2008) on Win. >> > > Glad to hear that confirmation about CMake. There is also a pre-build > msvc9 project under sox-14.3.1/msvc9. > > >> 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"? >> > > The main reason cmake support is included is for msvc support. Right > now, the maintainer of the cmake support is a little less active in > project and our new windows expert is maintaining the msvc project. > > The preferred method to compile mingw is with the configure script > (and thus needing the MSYS packages installed). It is how sox.exe on > web site is compiled. Patches for cmake and mingw are welcome though. > > >> 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 >> > > At first glance, this looks like a gcc issue. It looks like your > using gcc 3.4.5? I've only been compiling with gcc 4.x.x series. > > Sox doesn't redefine _stati64... It does do a "#define stat _stat64" > though. You might want to do some searching and find out were the > duplicate _stati64 is coming from. > > Chris > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > > |