From 7b9fdc93c56599239b89de9fe475c260055a61d1 Mon Sep 17 00:00:00 2001 From: Marek Blok <Marek.Blok@pg.edu.pl> Date: Sun, 19 Dec 2021 13:05:37 +0100 Subject: [PATCH] Wiki , task and makefiles update --- .vscode/c_cpp_properties.json | 8 +- .vscode/tasks.json | 41 +++- CHANGELOG | 3 + comp.bat | 3 - ...lelib_mingw_CodeBlocks_32bit_TDM_5.1.0.bat | 116 ---------- ...gw_CodeBlocks_64bit_MinGW-W64_8.1.0(b).bat | 143 ------------- ...gw_CodeBlocks_64bit_MinGW-W64_8.1.0(c).bat | 196 ----------------- ...gw_CodeBlocks_64bit_MinGW-W64_8.1.0(d).bat | 198 ------------------ ...mingw_CodeBlocks_64bit_MinGW-W64_8.1.0.bat | 121 ----------- compilelib_mingw_DEV_32bit_4.9.2.bat | 115 ---------- compilelib_mingw_DEV_64bit_4.9.2.bat | 115 ---------- compilelib_mingw_tdm.bat | 114 ---------- compilelib_mingw_tdm_32.bat | 117 ----------- examples/makefile | 11 +- examples/makefile-m64.linux | 5 +- make_examples.bat | 29 --- make_examples_dev-cpp.bat | 29 --- make_examples_gcc_4.bat | 29 --- ..._examples_mingw_CodeBlocks_32bit_5.1.0.bat | 34 --- ...amples_mingw_CodeBlocks_64bit_8.1.0(b).bat | 39 ---- ...amples_mingw_CodeBlocks_64bit_8.1.0(c).bat | 44 ---- ..._examples_mingw_CodeBlocks_64bit_8.1.0.bat | 35 ---- make_examples_mingw_DEV_32bit_4.8.1.bat | 29 --- make_examples_mingw_DEV_32bit_4.9.2.bat | 32 --- make_examples_mingw_DEV_64bit_4.8.1.bat | 28 --- makelib.bat | 60 ------ makelib_anonymous_mingw.bat | 62 ------ makelib_anonymous_mingw_gcc_4.bat | 64 ------ makelib_linux.sh | 49 ----- makelib_mingw.bat | 77 ------- makelib_mingw_gcc_4.bat | 68 ------ src/Makefile.linux | 3 +- src/Makefile.win | 3 +- src/cpp/DSP_IO.cpp | 8 +- 34 files changed, 58 insertions(+), 1970 deletions(-) delete mode 100644 comp.bat delete mode 100644 compilelib_mingw_CodeBlocks_32bit_TDM_5.1.0.bat delete mode 100644 compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(b).bat delete mode 100644 compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(c).bat delete mode 100644 compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(d).bat delete mode 100644 compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0.bat delete mode 100644 compilelib_mingw_DEV_32bit_4.9.2.bat delete mode 100644 compilelib_mingw_DEV_64bit_4.9.2.bat delete mode 100644 compilelib_mingw_tdm.bat delete mode 100644 compilelib_mingw_tdm_32.bat delete mode 100644 make_examples.bat delete mode 100644 make_examples_dev-cpp.bat delete mode 100644 make_examples_gcc_4.bat delete mode 100644 make_examples_mingw_CodeBlocks_32bit_5.1.0.bat delete mode 100644 make_examples_mingw_CodeBlocks_64bit_8.1.0(b).bat delete mode 100644 make_examples_mingw_CodeBlocks_64bit_8.1.0(c).bat delete mode 100644 make_examples_mingw_CodeBlocks_64bit_8.1.0.bat delete mode 100644 make_examples_mingw_DEV_32bit_4.8.1.bat delete mode 100644 make_examples_mingw_DEV_32bit_4.9.2.bat delete mode 100644 make_examples_mingw_DEV_64bit_4.8.1.bat delete mode 100644 makelib.bat delete mode 100644 makelib_anonymous_mingw.bat delete mode 100644 makelib_anonymous_mingw_gcc_4.bat delete mode 100644 makelib_linux.sh delete mode 100644 makelib_mingw.bat delete mode 100644 makelib_mingw_gcc_4.bat diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 7ec2fc7..21cfc0b 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -12,7 +12,7 @@ "WIN32", "__DEBUG__=0" ], - "compilerPath": "gcc.exe", + //"compilerPath": "gcc.exe", "cStandard": "c11", "cppStandard": "c++11", "intelliSenseMode": "gcc-x64" @@ -28,7 +28,7 @@ "WIN32", "__DEBUG__=0" ], - "compilerPath": "gcc.exe", + //"compilerPath": "gcc.exe", "cStandard": "c11", "cppStandard": "c++11", "intelliSenseMode": "gcc-x64" @@ -45,7 +45,7 @@ "__DEBUG__=1", "INCLUDE_DSPE_EXAMPLES" ], - "compilerPath": "gcc.exe", + //"compilerPath": "gcc.exe", "cStandard": "c11", "cppStandard": "c++11", "intelliSenseMode": "gcc-x64" @@ -62,7 +62,7 @@ "__DEBUG__=1", "INCLUDE_DSPE_EXAMPLES" ], - "compilerPath": "gcc.exe", + //"compilerPath": "gcc.exe", "cStandard": "c11", "cppStandard": "c++11", "intelliSenseMode": "gcc-x64" diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 842fe34..53a9d91 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -16,6 +16,12 @@ "presentation": { "echo": true }, + "windows": { + "options": { + "cwd": "${workspaceFolder}", + "env": {"PATH":"c:/msys64/usr/bin;c:/msys64/mingw64/bin/;${env:PATH}"} + }, + }, "problemMatcher": "$gcc" }, { @@ -26,6 +32,12 @@ "presentation": { "echo": true }, + "windows": { + "options": { + "cwd": "${workspaceFolder}", + "env": {"PATH":"c:/msys64/usr/bin;c:/msys64/mingw64/bin/;${env:PATH}"} + }, + }, "problemMatcher": "$gcc" }, { @@ -36,23 +48,35 @@ "presentation": { "echo": true }, + "windows": { + "options": { + "cwd": "${workspaceFolder}", + "env": {"PATH":"c:/msys64/usr/bin;c:/msys64/mingw64/bin/;${env:PATH}"} + }, + }, "problemMatcher": "$gcc" }, { - "label": "build examples Windows", + "label": "Build examples Windows", "type": "shell", - "command": "make -f examples/makefile Mbit=64 SRC_DIR=examples DSPELIB_DIR_ROOT=../_DSPE_lib_minGW_/MinGW-W64_8.1.0", + //"command": "make -f examples/makefile Mbit=64 SRC_DIR=examples DSPELIB_DIR_ROOT=../_DSPE_lib_minGW_/MinGW-W64_8.1.0", + "command": "make -f examples/makefile Mbit=64 SRC_DIR=examples", "group": "build", "presentation": { "echo": true }, //"options": {"cwd" : "./examples"}, + "options": { + "cwd": "${workspaceFolder}", + "env": {"PATH":"c:/msys64/usr/bin;c:/msys64/mingw64/bin/;${env:PATH}"} + }, "problemMatcher": "$gcc" }, { - "label": "build examples Linux", + "label": "Build examples Linux", "type": "shell", - "command": "make -f examples/makefile-m64.linux Mbit=64 SRC_DIR=examples DSPELIB_DIR_ROOT=../_DSPE_lib_linux_/x86_64-linux-gnu-gcc_9", + //"command": "make -f examples/makefile-m64.linux Mbit=64 SRC_DIR=examples DSPELIB_DIR_ROOT=../_DSPE_lib_linux_/x86_64-linux-gnu-gcc_9", + "command": "make -f examples/makefile-m64.linux Mbit=64 SRC_DIR=examples", "group": "build", "presentation": { "echo": true @@ -61,18 +85,21 @@ "problemMatcher": "$gcc" }, { - "label": "clean examples Windows", + "label": "Clean examples Windows", "type": "shell", "command": "make clean -f examples/makefile SRC_DIR=examples ", "group": "build", "presentation": { "echo": true }, - //"options": {"cwd" : "./examples"}, + "options": { + "cwd": "${workspaceFolder}", + "env": {"PATH":"c:/msys64/usr/bin;c:/msys64/mingw64/bin/;${env:PATH}"} + }, "problemMatcher": "$gcc" }, { - "label": "clean examples Linux", + "label": "Clean examples Linux", "type": "shell", "command": "make clean -f examples/makefile-m64.linux SRC_DIR=examples ", "group": "build", diff --git a/CHANGELOG b/CHANGELOG index 7d8878a..d191ea7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,9 @@ TODO: LAST DONE: CHANGES: +- ver. 0.20.010 - <b>2021.12.19</b> Changed: + - Wiki for VSCode updated + - tasks.json and makefiles updates and fixes - ver. 0.20.010 - <b>2021.09.15</b> Changed: - Fixed: DSP::WMM_object_t::stop_playback fix - Fixed: hello.cpp - using different wav file path if test_echo() is used diff --git a/comp.bat b/comp.bat deleted file mode 100644 index ac81001..0000000 --- a/comp.bat +++ /dev/null @@ -1,3 +0,0 @@ -path=e:\cygwin\bin -rem set WXWIN=D:/Eclipse/_OTHERs_/wxWindows/Cygwin/wxWindows-2.4.2 - diff --git a/compilelib_mingw_CodeBlocks_32bit_TDM_5.1.0.bat b/compilelib_mingw_CodeBlocks_32bit_TDM_5.1.0.bat deleted file mode 100644 index 9e7470a..0000000 --- a/compilelib_mingw_CodeBlocks_32bit_TDM_5.1.0.bat +++ /dev/null @@ -1,116 +0,0 @@ -rem comflag=-m32 - kompilacja w wersji 32-bitowej (tdm-gcc 4.9.2) -set comflag=-m32 -set com_ver=TDM_5.1.0 - - -IF exist compilelib_mingw_CodeBlocks_32bit_TDM_5.1.0.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "git_folder/DSPElib/DSPE_lib" -cd git_folder/DSPElib/DSPE_lib - -IF exist compilelib_mingw_CodeBlocks_32bit_TDM_5.1.0.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -path=d:\CodeBlocks\MinGW\bin;d:\CodeBlocks\MinGW\mingw32\bin\;d:\msys\1.0\bin\;%path% - - -:MakeLib - -cd ..\..\..\workspace -mkdir _DSPE_lib_minGW_ -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver% -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\include -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\matlab -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\toolbox -cd ..\git_folder\DSPElib\DSPE_lib - - -mkdir "Debug CodeBlocks%comflag%_%com_ver%" -mkdir "Debug CodeBlocks%comflag%_%com_ver%\src" -mkdir "Debug CodeBlocks%comflag%_%com_ver%\src\cpp" -mkdir "Debug CodeBlocks%comflag%_%com_ver%\src\nvwa" -cd "Debug CodeBlocks%comflag%_%com_ver%" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_misc.o ..\src\cpp\DSP_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\nvwa\debug_new.o ..\src\nvwa\debug_new.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\nvwa\debug_new.o src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. -mkdir "Release CodeBlocks%comflag%_%com_ver%" -mkdir "Release CodeBlocks%comflag%_%com_ver%\src" -mkdir "Release CodeBlocks%comflag%_%com_ver%\src\cpp" -mkdir "Release CodeBlocks%comflag%_%com_ver%\src\nvwa" -cd Release CodeBlocks%comflag%_%com_ver%" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Misc.o ..\src\cpp\DSP_Misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. - -copy /B examples\*.* ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\*.* -copy /B examples\matlab\*.* ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\matlab\*.* -copy /B matlab\toolbox\*.m ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\toolbox\*.m -copy /B src\include\*.h ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\include\*.* -copy /B src\include\rls\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.* - -cd "Debug CodeBlocks%comflag%_%com_ver%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -cd "Release CodeBlocks%comflag%_%com_ver%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(b).bat b/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(b).bat deleted file mode 100644 index d336493..0000000 --- a/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(b).bat +++ /dev/null @@ -1,143 +0,0 @@ -rem Wersja wykorzystujÄ ca katalog %TEMP% do zapisu tymczasowych plikĂłw wyjĹciowych -rem ------------------------------------------------------------------------------ -rem comflag=-m32 - kompilacja w wersji 32-bitowej (tdm-gcc 4.9.2) -set comflag=-m64 -set com_ver=MinGW-W64_8.1.0 - -set filename=compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(b).bat - -IF exist %filename% GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "git_folder/DSPElib/DSPE_lib" -cd git_folder/DSPElib/DSPE_lib - -IF exist %filename% GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -rem path=d:\CodeBlocks\MinGW\bin;d:\CodeBlocks\MinGW\mingw32\bin\;d:\msys\1.0\bin\;%path% -path=d:\CodeBlocks_20_03\MinGW\bin;d:\CodeBlocks_20_03\MinGW\x86_64-w64-mingw32\bin\;d:\msys\1.0\bin\;%path% - - -:MakeLib - -cd ..\..\..\workspace -mkdir _DSPE_lib_minGW_ -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver% -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\include -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\matlab -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\toolbox -cd ..\git_folder\DSPElib\DSPE_lib - - -set in_dir=%cd% -set tmp_out_dir_dbg=%TEMP%\DEBUG CodeBlocks%comflag%_%com_ver% -set tmp_out_dir_rls=%TEMP%\Release CodeBlocks%comflag%_%com_ver% - -set tmp_out_dir=%tmp_out_dir_dbg% - -mkdir "%tmp_out_dir%" -mkdir "%tmp_out_dir%\src" -mkdir "%tmp_out_dir%\src\cpp" -mkdir "%tmp_out_dir%\src\nvwa" - -cd /d "%tmp_out_dir%" -rm -rf src/cpp/DSP_clocks.o src/Main.o src/Main.d src/cpp/DSP_clocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSP_modules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSP_modules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSP_modules_misc.o src/cpp/DSP_modules_misc.d src/cpp/DSP_modules.d src/cpp/DSP_modules.o src/cpp/DSP_DOT.o src/cpp/DSP_sockets.o src/cpp/DSP_sockets.d -rm -rf src/cpp/DSP_logstream.o src/cpp/DSP_logstream.d - -cd /d "%in_dir%" -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -fpermissive -o "%tmp_out_dir%\src\cpp\DSP_AudioMixer.o" .\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_Fourier.o" .\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_sockets.o" .\src\cpp\DSP_sockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_misc.o" .\src\cpp\DSP_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_clocks.o" .\src\cpp\DSP_clocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules.o" .\src\cpp\DSP_modules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules2.o" .\src\cpp\DSP_modules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_DOT.o" .\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\Main.o" .\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules_misc.o" .\src\cpp\DSP_modules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_IO.o" .\src\cpp\DSP_IO.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_logstream.o" .\src\cpp\DSP_logstream.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\nvwa\debug_new.o" .\src\nvwa\debug_new.cpp -cd /d "%tmp_out_dir%" -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\nvwa\debug_new.o src\cpp\DSP_sockets.o src\cpp\DSP_modules_misc.o src\cpp\DSP_modules2.o src\cpp\DSP_modules.o src\cpp\DSP_clocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\cpp\DSP_logstream.o src\Main.o -lwinmm -lws2_32 - - -set tmp_out_dir=%tmp_out_dir_rls% -mkdir "%tmp_out_dir%" -mkdir "%tmp_out_dir%\src" -mkdir "%tmp_out_dir%\src\cpp" -mkdir "%tmp_out_dir%\src\nvwa" - -cd /d "%tmp_out_dir%" -rm -rf src/cpp/DSP_clocks.o src/Main.o src/Main.d src/cpp/DSP_clocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_modules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSP_modules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSP_modules_misc.o src/cpp/DSP_modules_misc.d src/cpp/DSP_modules.d src/cpp/DSP_modules.o src/cpp/DSP_DOT.o src/cpp/DSP_sockets.o src/cpp/DSP_sockets.d -rm -rf src/cpp/DSP_logstream.o src/cpp/DSP_logstream.d - -cd /d "%in_dir%" -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -fpermissive -o "%tmp_out_dir%\src\cpp\DSP_AudioMixer.o" .\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_Fourier.o" .\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_sockets.o" .\src\cpp\DSP_sockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_Misc.o" .\src\cpp\DSP_Misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_clocks.o" .\src\cpp\DSP_clocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules.o" .\src\cpp\DSP_modules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules2.o" .\src\cpp\DSP_modules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_DOT.o" .\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\Main.o" .\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules_misc.o" .\src\cpp\DSP_modules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_IO.o" .\src\cpp\DSP_IO.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_logstream.o" .\src\cpp\DSP_logstream.cpp -cd /d "%tmp_out_dir%" -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\cpp\DSP_sockets.o src\cpp\DSP_modules_misc.o src\cpp\DSP_modules2.o src\cpp\DSP_modules.o src\cpp\DSP_clocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\cpp\DSP_logstream.o src\Main.o -lwinmm -lws2_32 - -cd /d "%in_dir%" - -copy /B examples\*.* ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\*.* -copy /B examples\matlab\*.* ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\matlab\*.* -copy /B matlab\toolbox\*.m ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\toolbox\*.m -copy /B src\include\*.h ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\include\*.* -copy /B src\include\rls\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.* - -rem cd "Debug CodeBlocks%comflag%_%com_ver%\src\cpp" -cd /d "%tmp_out_dir_dbg%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSP_clocks.o DSP_modules.o DSP_modules2.o DSP_Fourier.o DSP_AudioMixer.o DSP_modules_misc.o DSP_DOT.o DSP_logstream.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSP_sockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a "%in_dir%\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.*" -del libDSPE.a Y -copy /B libDSPEsockets.a "%in_dir%\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.*" -del libDSPEsockets.a Y - -rem cd ..\..\.. - -rem cd "Release CodeBlocks%comflag%_%com_ver%\src\cpp" -cd /d "%tmp_out_dir_rls%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSP_clocks.o DSP_modules.o DSP_modules2.o DSP_Fourier.o DSP_AudioMixer.o DSP_modules_misc.o DSP_DOT.o DSP_logstream.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSP_sockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a "%in_dir%\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.*" -del libDSPE.a Y -copy /B libDSPEsockets.a "%in_dir%\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.*" -del libDSPEsockets.a Y - -rem cd ..\..\.. -cd /d "%in_dir%" - -rm -rf "%tmp_out_dir_dbg%" -rm -rf "%tmp_out_dir_rls%" - -:End \ No newline at end of file diff --git a/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(c).bat b/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(c).bat deleted file mode 100644 index 540f2d2..0000000 --- a/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(c).bat +++ /dev/null @@ -1,196 +0,0 @@ -rem Wersja wykorzystujÄ ca katalog %TEMP% do zapisu tymczasowych plikĂłw wyjĹciowych -rem ------------------------------------------------------------------------------ -rem comflag=-m32 - kompilacja w wersji 32-bitowej (tdm-gcc 4.9.2) -set comflag=-m64 -set com_ver=MinGW-W64_8.1.0 - -set flags=-fmax-errors=5 %comflag% - -set start_dir=%cd% -rem set in_dir=%cd% -rem set in_dir=d:\Eclipse_Mars\git_folder\DSPElib\DSPE_lib -set in_dir=r:\DSPE_lib - -rem set workspace_dir=d:\Eclipse_Mars\workspace -set workspace_dir=R:\workspace -mkdir "%workspace_dir%" - - -set filename=%in_dir%\compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(c).bat - -IF exist "%filename%" GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "git_folder/DSPElib/DSPE_lib" -cd git_folder/DSPElib/DSPE_lib - -IF exist "%filename%" GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -rem path=d:\CodeBlocks\MinGW\bin;d:\CodeBlocks\MinGW\mingw32\bin\;d:\msys\1.0\bin\;%path% -path=d:\CodeBlocks_20_03\MinGW\bin;d:\CodeBlocks_20_03\MinGW\x86_64-w64-mingw32\bin\;d:\msys\1.0\bin\;%path% - - -:MakeLib - -rem cd ..\..\..\workspace -cd /d "%workspace_dir%" -set library_dir=%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver% -mkdir _DSPE_lib_minGW_ -mkdir "%library_dir%" -mkdir "%library_dir%\rls" -mkdir "%library_dir%\dbg" -mkdir "%library_dir%\include" -mkdir "%library_dir%\examples" -mkdir "%library_dir%\examples\matlab" -mkdir "%library_dir%\toolbox" -rem cd ..\git_folder\DSPElib\DSPE_lib -cd /d "%in_dir%" - - -set tmp_out_dir_dbg=%TEMP%\DEBUG CodeBlocks%comflag%_%com_ver% -set tmp_out_dir_rls=%TEMP%\Release CodeBlocks%comflag%_%com_ver% - -set tmp_out_dir=%tmp_out_dir_dbg% - -mkdir "%tmp_out_dir%" -mkdir "%tmp_out_dir%\src" -mkdir "%tmp_out_dir%\src\cpp" -mkdir "%tmp_out_dir%\examples" -mkdir "%tmp_out_dir%\src\nvwa" - -cd /d "%tmp_out_dir%" -rm -rf src/cpp/DSP_clocks.o src/Main.o src/Main.d src/cpp/DSP_clocks.d "%library_dir%/DSPE_lib_dbg.exe" src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSP_modules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSP_modules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSP_modules_misc.o src/cpp/DSP_modules_misc.d src/cpp/DSP_modules.d src/cpp/DSP_modules.o src/cpp/DSP_DOT.o src/cpp/DSP_sockets.o src/cpp/DSP_sockets.d -rm -rf src/cpp/DSP_logstream.o src/cpp/DSP_logstream.d - -cd /d "%in_dir%" -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -fpermissive -o "%tmp_out_dir%\src\cpp\DSP_AudioMixer.o" .\src\cpp\DSP_AudioMixer.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_Fourier.o" .\src\cpp\DSP_Fourier.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_sockets.o" .\src\cpp\DSP_sockets.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_misc.o" .\src\cpp\DSP_misc.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_clocks.o" .\src\cpp\DSP_clocks.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules.o" .\src\cpp\DSP_modules.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules2.o" .\src\cpp\DSP_modules2.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_DOT.o" .\src\cpp\DSP_DOT.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\Main.o" .\src\Main.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules_misc.o" .\src\cpp\DSP_modules_misc.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_IO.o" .\src\cpp\DSP_IO.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_logstream.o" .\src\cpp\DSP_logstream.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\nvwa\debug_new.o" .\src\nvwa\debug_new.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish - -g++ %flags% -D_DSPE_TEST_ -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\examples\hello.o" .\examples\hello.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish - -cd /d "%tmp_out_dir%" -g++ %flags% -static -static-libgcc -static-libstdc++ -o "%library_dir%/DSPE_lib_dbg.exe" src\nvwa\debug_new.o src\cpp\DSP_sockets.o src\cpp\DSP_modules_misc.o src\cpp\DSP_modules2.o src\cpp\DSP_modules.o src\cpp\DSP_clocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\cpp\DSP_logstream.o examples\hello.o src\Main.o -lwinmm -lws2_32 -IF %ERRORLEVEL% NEQ 0 Goto Finish - - -set tmp_out_dir=%tmp_out_dir_rls% -mkdir "%tmp_out_dir%" -mkdir "%tmp_out_dir%\src" -mkdir "%tmp_out_dir%\src\cpp" -mkdir "%tmp_out_dir%\examples" -mkdir "%tmp_out_dir%\src\nvwa" - -cd /d "%tmp_out_dir%" -rm -rf src/cpp/DSP_clocks.o src/Main.o src/Main.d src/cpp/DSP_clocks.d "%library_dir%/DSPE_lib_rls.exe" src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_modules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSP_modules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSP_modules_misc.o src/cpp/DSP_modules_misc.d src/cpp/DSP_modules.d src/cpp/DSP_modules.o src/cpp/DSP_DOT.o src/cpp/DSP_sockets.o src/cpp/DSP_sockets.d -rm -rf src/cpp/DSP_logstream.o src/cpp/DSP_logstream.d - -cd /d "%in_dir%" -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -fpermissive -o "%tmp_out_dir%\src\cpp\DSP_AudioMixer.o" .\src\cpp\DSP_AudioMixer.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_Fourier.o" .\src\cpp\DSP_Fourier.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_sockets.o" .\src\cpp\DSP_sockets.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_Misc.o" .\src\cpp\DSP_Misc.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_clocks.o" .\src\cpp\DSP_clocks.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules.o" .\src\cpp\DSP_modules.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules2.o" .\src\cpp\DSP_modules2.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_DOT.o" .\src\cpp\DSP_DOT.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\Main.o" .\src\Main.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules_misc.o" .\src\cpp\DSP_modules_misc.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_IO.o" .\src\cpp\DSP_IO.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_logstream.o" .\src\cpp\DSP_logstream.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish - -g++ %flags% -D_DSPE_TEST_ -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\examples\hello.o" .\examples\hello.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish - -cd /d "%tmp_out_dir%" -g++ %flags% -static -static-libgcc -static-libstdc++ -o "%library_dir%/DSPE_lib_rls.exe" src\cpp\DSP_sockets.o src\cpp\DSP_modules_misc.o src\cpp\DSP_modules2.o src\cpp\DSP_modules.o src\cpp\DSP_clocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\cpp\DSP_logstream.o examples\hello.o src\Main.o -lwinmm -lws2_32 -IF %ERRORLEVEL% NEQ 0 Goto Finish - -cd /d "%in_dir%" - -copy /B examples\*.* "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\*.*" -copy /B examples\matlab\*.* "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\matlab\*.*" -copy /B matlab\toolbox\*.m "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\toolbox\*.m" -copy /B src\include\*.h "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\include\*.*" -copy /B src\include\rls\DSP_setup.h "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.*" -copy /B src\include\dbg\DSP_setup.h "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.*" - -rem cd "Debug CodeBlocks%comflag%_%com_ver%\src\cpp" -cd /d "%tmp_out_dir_dbg%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSP_clocks.o DSP_modules.o DSP_modules2.o DSP_Fourier.o DSP_AudioMixer.o DSP_modules_misc.o DSP_DOT.o DSP_logstream.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSP_sockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.*" -del libDSPE.a Y -copy /B libDSPEsockets.a "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.*" -del libDSPEsockets.a Y - -rem cd ..\..\.. - -rem cd "Release CodeBlocks%comflag%_%com_ver%\src\cpp" -cd /d "%tmp_out_dir_rls%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSP_clocks.o DSP_modules.o DSP_modules2.o DSP_Fourier.o DSP_AudioMixer.o DSP_modules_misc.o DSP_DOT.o DSP_logstream.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSP_sockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.*" -del libDSPE.a Y -copy /B libDSPEsockets.a "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.*" -del libDSPEsockets.a Y - -cd /d "%start_dir%" -rm -rf "%tmp_out_dir_dbg%" -rm -rf "%tmp_out_dir_rls%" - -:Finish -rem cd ..\..\.. -cd /d "%start_dir%" - -:End \ No newline at end of file diff --git a/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(d).bat b/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(d).bat deleted file mode 100644 index b40ddd4..0000000 --- a/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(d).bat +++ /dev/null @@ -1,198 +0,0 @@ -rem Wersja wykorzystujÄ ca katalog %TEMP% do zapisu tymczasowych plikĂłw wyjĹciowych -rem ------------------------------------------------------------------------------ -rem comflag=-m32 - kompilacja w wersji 32-bitowej (tdm-gcc 4.9.2) -set comflag=-m64 -set com_ver=MinGW-W64_8.1.0 - -set flags=-fmax-errors=5 %comflag% - -set start_dir=%cd% -rem set in_dir=%cd% -rem set in_dir=d:\Eclipse_Mars\git_folder\DSPElib\DSPE_lib -rem set in_dir=r:\DSPE_lib -set in_dir=d:\CodeBlocks_20_03\DSPElib - -rem set workspace_dir=d:\Eclipse_Mars\workspace -rem set workspace_dir=R:\workspace -set workspace_dir=d:\CodeBlocks_20_03\DSPElib\workspace -mkdir "%workspace_dir%" - - -set filename=%in_dir%\compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0(d).bat - -IF exist "%filename%" GOTO AllOk -echo Source directory is not correct -rem pause -echo Trying "git_folder/DSPElib/DSPE_lib" -cd git_folder/DSPElib/DSPE_lib - -IF exist "%filename%" GOTO AllOk -echo Source directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -rem path=d:\CodeBlocks\MinGW\bin;d:\CodeBlocks\MinGW\mingw32\bin\;d:\msys\1.0\bin\;%path% -path=d:\CodeBlocks_20_03\MinGW\bin;d:\CodeBlocks_20_03\MinGW\x86_64-w64-mingw32\bin\;d:\msys\1.0\bin\;%path% - - -:MakeLib - -rem cd ..\..\..\workspace -cd /d "%workspace_dir%" -set library_dir=%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver% -mkdir _DSPE_lib_minGW_ -mkdir "%library_dir%" -mkdir "%library_dir%\rls" -mkdir "%library_dir%\dbg" -mkdir "%library_dir%\include" -mkdir "%library_dir%\examples" -mkdir "%library_dir%\examples\matlab" -mkdir "%library_dir%\toolbox" -rem cd ..\git_folder\DSPElib\DSPE_lib -cd /d "%in_dir%" - - -set tmp_out_dir_dbg=%TEMP%\DEBUG CodeBlocks%comflag%_%com_ver% -set tmp_out_dir_rls=%TEMP%\Release CodeBlocks%comflag%_%com_ver% - -set tmp_out_dir=%tmp_out_dir_dbg% - -mkdir "%tmp_out_dir%" -mkdir "%tmp_out_dir%\src" -mkdir "%tmp_out_dir%\src\cpp" -mkdir "%tmp_out_dir%\examples" -mkdir "%tmp_out_dir%\src\nvwa" - -cd /d "%tmp_out_dir%" -rm -rf src/cpp/DSP_clocks.o src/Main.o src/Main.d src/cpp/DSP_clocks.d "%library_dir%/DSPE_lib_dbg.exe" src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSP_modules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSP_modules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSP_modules_misc.o src/cpp/DSP_modules_misc.d src/cpp/DSP_modules.d src/cpp/DSP_modules.o src/cpp/DSP_DOT.o src/cpp/DSP_sockets.o src/cpp/DSP_sockets.d -rm -rf src/cpp/DSP_logstream.o src/cpp/DSP_logstream.d - -cd /d "%in_dir%" -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -fpermissive -o "%tmp_out_dir%\src\cpp\DSP_AudioMixer.o" .\src\cpp\DSP_AudioMixer.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_Fourier.o" .\src\cpp\DSP_Fourier.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_sockets.o" .\src\cpp\DSP_sockets.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_misc.o" .\src\cpp\DSP_misc.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_clocks.o" .\src\cpp\DSP_clocks.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules.o" .\src\cpp\DSP_modules.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules2.o" .\src\cpp\DSP_modules2.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_DOT.o" .\src\cpp\DSP_DOT.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\Main.o" .\src\Main.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules_misc.o" .\src\cpp\DSP_modules_misc.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_IO.o" .\src\cpp\DSP_IO.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_logstream.o" .\src\cpp\DSP_logstream.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\src\nvwa\debug_new.o" .\src\nvwa\debug_new.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish - -g++ %flags% -D_DSPE_TEST_ -DWIN32 -DDEVCPP -I./src/include -I./src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o "%tmp_out_dir%\examples\hello.o" .\examples\hello.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish - -cd /d "%tmp_out_dir%" -g++ %flags% -static -static-libgcc -static-libstdc++ -o "%library_dir%/DSPE_lib_dbg.exe" src\nvwa\debug_new.o src\cpp\DSP_sockets.o src\cpp\DSP_modules_misc.o src\cpp\DSP_modules2.o src\cpp\DSP_modules.o src\cpp\DSP_clocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\cpp\DSP_logstream.o examples\hello.o src\Main.o -lwinmm -lws2_32 -IF %ERRORLEVEL% NEQ 0 Goto Finish - - -set tmp_out_dir=%tmp_out_dir_rls% -mkdir "%tmp_out_dir%" -mkdir "%tmp_out_dir%\src" -mkdir "%tmp_out_dir%\src\cpp" -mkdir "%tmp_out_dir%\examples" -mkdir "%tmp_out_dir%\src\nvwa" - -cd /d "%tmp_out_dir%" -rm -rf src/cpp/DSP_clocks.o src/Main.o src/Main.d src/cpp/DSP_clocks.d "%library_dir%/DSPE_lib_rls.exe" src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_modules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSP_modules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSP_modules_misc.o src/cpp/DSP_modules_misc.d src/cpp/DSP_modules.d src/cpp/DSP_modules.o src/cpp/DSP_DOT.o src/cpp/DSP_sockets.o src/cpp/DSP_sockets.d -rm -rf src/cpp/DSP_logstream.o src/cpp/DSP_logstream.d - -cd /d "%in_dir%" -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -fpermissive -o "%tmp_out_dir%\src\cpp\DSP_AudioMixer.o" .\src\cpp\DSP_AudioMixer.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_Fourier.o" .\src\cpp\DSP_Fourier.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_sockets.o" .\src\cpp\DSP_sockets.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_Misc.o" .\src\cpp\DSP_Misc.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_clocks.o" .\src\cpp\DSP_clocks.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules.o" .\src\cpp\DSP_modules.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules2.o" .\src\cpp\DSP_modules2.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_DOT.o" .\src\cpp\DSP_DOT.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\Main.o" .\src\Main.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_modules_misc.o" .\src\cpp\DSP_modules_misc.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_IO.o" .\src\cpp\DSP_IO.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish -g++ %flags% -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\src\cpp\DSP_logstream.o" .\src\cpp\DSP_logstream.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish - -g++ %flags% -D_DSPE_TEST_ -DWIN32 -DDEVCPP -I./src/include -I./src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o "%tmp_out_dir%\examples\hello.o" .\examples\hello.cpp -IF %ERRORLEVEL% NEQ 0 Goto Finish - -cd /d "%tmp_out_dir%" -g++ %flags% -static -static-libgcc -static-libstdc++ -o "%library_dir%/DSPE_lib_rls.exe" src\cpp\DSP_sockets.o src\cpp\DSP_modules_misc.o src\cpp\DSP_modules2.o src\cpp\DSP_modules.o src\cpp\DSP_clocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\cpp\DSP_logstream.o examples\hello.o src\Main.o -lwinmm -lws2_32 -IF %ERRORLEVEL% NEQ 0 Goto Finish - -cd /d "%in_dir%" - -copy /B examples\*.* "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\*.*" -copy /B examples\matlab\*.* "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\matlab\*.*" -copy /B matlab\toolbox\*.m "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\toolbox\*.m" -copy /B src\include\*.h "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\include\*.*" -copy /B src\include\rls\DSP_setup.h "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.*" -copy /B src\include\dbg\DSP_setup.h "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.*" - -rem cd "Debug CodeBlocks%comflag%_%com_ver%\src\cpp" -cd /d "%tmp_out_dir_dbg%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSP_clocks.o DSP_modules.o DSP_modules2.o DSP_Fourier.o DSP_AudioMixer.o DSP_modules_misc.o DSP_DOT.o DSP_logstream.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSP_sockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.*" -del libDSPE.a Y -copy /B libDSPEsockets.a "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.*" -del libDSPEsockets.a Y - -rem cd ..\..\.. - -rem cd "Release CodeBlocks%comflag%_%com_ver%\src\cpp" -cd /d "%tmp_out_dir_rls%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSP_clocks.o DSP_modules.o DSP_modules2.o DSP_Fourier.o DSP_AudioMixer.o DSP_modules_misc.o DSP_DOT.o DSP_logstream.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSP_sockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.*" -del libDSPE.a Y -copy /B libDSPEsockets.a "%workspace_dir%\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.*" -del libDSPEsockets.a Y - -cd /d "%start_dir%" -rm -rf "%tmp_out_dir_dbg%" -rm -rf "%tmp_out_dir_rls%" - -:Finish -rem cd ..\..\.. -cd /d "%start_dir%" - -:End \ No newline at end of file diff --git a/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0.bat b/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0.bat deleted file mode 100644 index 7d5ed4b..0000000 --- a/compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0.bat +++ /dev/null @@ -1,121 +0,0 @@ -rem comflag=-m32 - kompilacja w wersji 32-bitowej (tdm-gcc 4.9.2) -set comflag=-m64 -set com_ver=MinGW-W64_8.1.0 - - -IF exist compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "git_folder/DSPElib/DSPE_lib" -cd git_folder/DSPElib/DSPE_lib - -IF exist compilelib_mingw_CodeBlocks_64bit_MinGW-W64_8.1.0.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -rem path=d:\CodeBlocks\MinGW\bin;d:\CodeBlocks\MinGW\mingw32\bin\;d:\msys\1.0\bin\;%path% -path=d:\CodeBlocks_20_03\MinGW\bin;d:\CodeBlocks_20_03\MinGW\x86_64-w64-mingw32\bin\;%path% - - -:MakeLib - -cd ..\..\..\workspace -mkdir _DSPE_lib_minGW_ -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver% -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\include -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\matlab -mkdir _DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\toolbox -cd ..\git_folder\DSPElib\DSPE_lib - - -mkdir "Debug CodeBlocks%comflag%_%com_ver%" -mkdir "Debug CodeBlocks%comflag%_%com_ver%\src" -mkdir "Debug CodeBlocks%comflag%_%com_ver%\src\cpp" -mkdir "Debug CodeBlocks%comflag%_%com_ver%\src\nvwa" -cd "Debug CodeBlocks%comflag%_%com_ver%" -rm -rf src/cpp/DSP_clocks.o src/Main.o src/Main.d src/cpp/DSP_clocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSP_modules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSP_modules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSP_modules_misc.o src/cpp/DSP_modules_misc.d src/cpp/DSP_modules.d src/cpp/DSP_modules.o src/cpp/DSP_DOT.o src/cpp/DSP_sockets.o src/cpp/DSP_sockets.d -rm -rf src/cpp/DSP_logstream.o src/cpp/DSP_logstream.d - -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_sockets.o ..\src\cpp\DSP_sockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_misc.o ..\src\cpp\DSP_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_clocks.o ..\src\cpp\DSP_clocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_modules.o ..\src\cpp\DSP_modules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_modules2.o ..\src\cpp\DSP_modules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_modules_misc.o ..\src\cpp\DSP_modules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_logstream.o ..\src\cpp\DSP_logstream.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\nvwa\debug_new.o ..\src\nvwa\debug_new.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\nvwa\debug_new.o src\cpp\DSP_sockets.o src\cpp\DSP_modules_misc.o src\cpp\DSP_modules2.o src\cpp\DSP_modules.o src\cpp\DSP_clocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\cpp\DSP_logstream.o src\Main.o -lwinmm -lws2_32 - -cd .. -mkdir "Release CodeBlocks%comflag%_%com_ver%" -mkdir "Release CodeBlocks%comflag%_%com_ver%\src" -mkdir "Release CodeBlocks%comflag%_%com_ver%\src\cpp" -mkdir "Release CodeBlocks%comflag%_%com_ver%\src\nvwa" -cd Release CodeBlocks%comflag%_%com_ver%" -rm -rf src/cpp/DSP_clocks.o src/Main.o src/Main.d src/cpp/DSP_clocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_modules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSP_modules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSP_modules_misc.o src/cpp/DSP_modules_misc.d src/cpp/DSP_modules.d src/cpp/DSP_modules.o src/cpp/DSP_DOT.o src/cpp/DSP_sockets.o src/cpp/DSP_sockets.d -rm -rf src/cpp/DSP_logstream.o src/cpp/DSP_logstream.d - -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_sockets.o ..\src\cpp\DSP_sockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Misc.o ..\src\cpp\DSP_Misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_clocks.o ..\src\cpp\DSP_clocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_modules.o ..\src\cpp\DSP_modules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_modules2.o ..\src\cpp\DSP_modules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_modules_misc.o ..\src\cpp\DSP_modules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_logstream.o ..\src\cpp\DSP_logstream.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\cpp\DSP_sockets.o src\cpp\DSP_modules_misc.o src\cpp\DSP_modules2.o src\cpp\DSP_modules.o src\cpp\DSP_clocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\cpp\DSP_logstream.o src\Main.o -lwinmm -lws2_32 - -cd .. - -copy /B examples\*.* ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\*.* -copy /B examples\matlab\*.* ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\examples\matlab\*.* -copy /B matlab\toolbox\*.m ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\toolbox\*.m -copy /B src\include\*.h ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\include\*.* -copy /B src\include\rls\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.* - -cd "Debug CodeBlocks%comflag%_%com_ver%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSP_clocks.o DSP_modules.o DSP_modules2.o DSP_Fourier.o DSP_AudioMixer.o DSP_modules_misc.o DSP_DOT.o DSP_logstream.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSP_sockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\dbg\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -cd "Release CodeBlocks%comflag%_%com_ver%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSP_clocks.o DSP_modules.o DSP_modules2.o DSP_Fourier.o DSP_AudioMixer.o DSP_modules_misc.o DSP_DOT.o DSP_logstream.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSP_sockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\CodeBlocks%comflag%_%com_ver%\rls\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/compilelib_mingw_DEV_32bit_4.9.2.bat b/compilelib_mingw_DEV_32bit_4.9.2.bat deleted file mode 100644 index fc112dc..0000000 --- a/compilelib_mingw_DEV_32bit_4.9.2.bat +++ /dev/null @@ -1,115 +0,0 @@ -rem comflag=-m32 - kompilacja w wersji 32-bitowej (tdm-gcc 4.9.2) -set comflag=-m32 - - -IF exist compilelib_mingw_DEV_32bit_4.9.2.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "git_folder/DSPElib/DSPE_lib" -cd git_folder/DSPElib/DSPE_lib - -IF exist compilelib_mingw_DEV_32bit_4.9.2.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -path=e:\Dev-Cpp\MinGW64\bin;e:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% - - -:MakeLib - -cd ..\..\..\workspace -mkdir _DSPE_lib_minGW_ -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag% -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\rls -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\dbg -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\include -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\examples -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\examples\matlab -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\toolbox -cd ..\git_folder\DSPElib\DSPE_lib - - -mkdir "Debug Dev-cpp%comflag%" -mkdir "Debug Dev-cpp%comflag%\src" -mkdir "Debug Dev-cpp%comflag%\src\cpp" -mkdir "Debug Dev-cpp%comflag%\src\nvwa" -cd "Debug Dev-cpp%comflag%" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_misc.o ..\src\cpp\DSP_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\nvwa\debug_new.o ..\src\nvwa\debug_new.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\nvwa\debug_new.o src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. -mkdir "Release Dev-cpp%comflag%" -mkdir "Release Dev-cpp%comflag%\src" -mkdir "Release Dev-cpp%comflag%\src\cpp" -mkdir "Release Dev-cpp%comflag%\src\nvwa" -cd Release Dev-cpp%comflag%" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Misc.o ..\src\cpp\DSP_Misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. - -copy /B examples\*.* ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\examples\*.* -copy /B examples\matlab\*.* ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\examples\matlab\*.* -copy /B matlab\toolbox\*.m ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\toolbox\*.m -copy /B src\include\*.h ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\include\*.* -copy /B src\include\rls\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\dbg\*.* - -cd "Debug Dev-cpp%comflag%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\dbg\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\dbg\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -cd "Release Dev-cpp%comflag%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\rls\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\rls\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/compilelib_mingw_DEV_64bit_4.9.2.bat b/compilelib_mingw_DEV_64bit_4.9.2.bat deleted file mode 100644 index 8960c43..0000000 --- a/compilelib_mingw_DEV_64bit_4.9.2.bat +++ /dev/null @@ -1,115 +0,0 @@ -rem comflag=-m64 - kompilacja w wersji 64-bitowej (tdm-gcc 4.9.2) -set comflag=-m64 - - -IF exist compilelib_mingw_DEV_64bit_4.9.2.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "git_folder/DSPElib/DSPE_lib" -cd git_folder/DSPElib/DSPE_lib - -IF exist compilelib_mingw_DEV_64bit_4.9.2.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -path=e:\Dev-Cpp\MinGW64\bin;e:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% - - -:MakeLib - -cd ..\..\..\workspace -mkdir _DSPE_lib_minGW_ -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag% -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\rls -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\dbg -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\include -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\examples -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\examples\matlab -mkdir _DSPE_lib_minGW_\Dev-cpp%comflag%\toolbox -cd ..\git_folder\DSPElib\DSPE_lib - - -mkdir "Debug Dev-cpp%comflag%" -mkdir "Debug Dev-cpp%comflag%\src" -mkdir "Debug Dev-cpp%comflag%\src\cpp" -mkdir "Debug Dev-cpp%comflag%\src\nvwa" -cd "Debug Dev-cpp%comflag%" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_misc.o ..\src\cpp\DSP_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\nvwa\debug_new.o ..\src\nvwa\debug_new.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\nvwa\debug_new.o src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. -mkdir "Release Dev-cpp%comflag%" -mkdir "Release Dev-cpp%comflag%\src" -mkdir "Release Dev-cpp%comflag%\src\cpp" -mkdir "Release Dev-cpp%comflag%\src\nvwa" -cd Release Dev-cpp%comflag%" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Misc.o ..\src\cpp\DSP_Misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ %comflag% -DWIN32 -DDEVCPP -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. - -copy /B examples\*.* ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\examples\*.* -copy /B examples\matlab\*.* ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\examples\matlab\*.* -copy /B matlab\toolbox\*.m ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\toolbox\*.m -copy /B src\include\*.h ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\include\*.* -copy /B src\include\rls\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\dbg\*.* - -cd "Debug Dev-cpp%comflag%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\dbg\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\dbg\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -cd "Release Dev-cpp%comflag%\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\rls\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\Dev-cpp%comflag%\rls\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/compilelib_mingw_tdm.bat b/compilelib_mingw_tdm.bat deleted file mode 100644 index b4e2c8c..0000000 --- a/compilelib_mingw_tdm.bat +++ /dev/null @@ -1,114 +0,0 @@ -rem dir * -rem pause -echo Compiling DSPElib library - -IF exist compilelib_mingw_tdm.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "git_folder/DSPElib/DSPE_lib" -cd git_folder/DSPElib/DSPE_lib - -IF exist compilelib_mingw_tdm.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -path=e:\TDM-GCC-64\bin\;e:\MinGW_gcc_4\msys\1.0\bin\;%path% - -:MakeLib -echo MakeLib - -cd ..\..\..\workspace -mkdir _DSPE_lib_minGW_ -mkdir _DSPE_lib_minGW_\mingw_tdm -mkdir _DSPE_lib_minGW_\mingw_tdm\rls -mkdir _DSPE_lib_minGW_\mingw_tdm\dbg -mkdir _DSPE_lib_minGW_\mingw_tdm\include -mkdir _DSPE_lib_minGW_\mingw_tdm\examples -mkdir _DSPE_lib_minGW_\mingw_tdm\examples\matlab -mkdir _DSPE_lib_minGW_\mingw_tdm\toolbox -cd ..\git_folder\DSPElib\DSPE_lib - -mkdir "Debug mingw_tdm" -mkdir "Debug mingw_tdm\src" -mkdir "Debug mingw_tdm\src\cpp" -mkdir "Debug mingw_tdm\src\nvwa" -cd "Debug mingw_tdm" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_misc.o ..\src\cpp\DSP_misc.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\Main.o ..\src\Main.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\nvwa\debug_new.o ..\src\nvwa\debug_new.cpp -g++ -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\nvwa\debug_new.o src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. -mkdir "Release mingw_tdm" -mkdir "Release mingw_tdm\src" -mkdir "Release mingw_tdm\src\cpp" -mkdir "Release mingw_tdm\src\nvwa" -cd "Release mingw_tdm" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Misc.o ..\src\cpp\DSP_Misc.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\Main.o ..\src\Main.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. - -copy /B examples\*.* ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\examples\*.* -copy /B examples\matlab\*.* ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\examples\matlab\*.* -copy /B matlab\toolbox\*.m ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\toolbox\*.m -copy /B src\include\*.h ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\include\*.* -copy /B src\include\rls\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\dbg\*.* - -cd "Debug mingw_tdm\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\dbg\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\dbg\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -cd "Release mingw_tdm\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\rls\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm\rls\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/compilelib_mingw_tdm_32.bat b/compilelib_mingw_tdm_32.bat deleted file mode 100644 index 29971a9..0000000 --- a/compilelib_mingw_tdm_32.bat +++ /dev/null @@ -1,117 +0,0 @@ -rem dir * -rem pause -echo Compiling DSPElib library - -rem comflag=-m32 - kompilacja w wersji 32-bitowej (tdm-gcc 4.9.2) -set comflag=-m32 - -IF exist compilelib_mingw_tdm_32.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "git_folder/DSPElib/DSPE_lib" -cd git_folder/DSPElib/DSPE_lib - -IF exist compilelib_mingw_tdm_32.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -path=e:\TDM-GCC-32\bin\;e:\MinGW_gcc_4\msys\1.0\bin\;%path% - -:MakeLib -echo MakeLib - -cd ..\..\..\workspace -mkdir _DSPE_lib_minGW_ -mkdir _DSPE_lib_minGW_\mingw_tdm_32 -mkdir _DSPE_lib_minGW_\mingw_tdm_32\rls -mkdir _DSPE_lib_minGW_\mingw_tdm_32\dbg -mkdir _DSPE_lib_minGW_\mingw_tdm_32\include -mkdir _DSPE_lib_minGW_\mingw_tdm_32\examples -mkdir _DSPE_lib_minGW_\mingw_tdm_32\examples\matlab -mkdir _DSPE_lib_minGW_\mingw_tdm_32\toolbox -cd ..\git_folder\DSPElib\DSPE_lib - -mkdir "Debug mingw_tdm_32" -mkdir "Debug mingw_tdm_32\src" -mkdir "Debug mingw_tdm_32\src\cpp" -mkdir "Debug mingw_tdm_32\src\nvwa" -cd "Debug mingw_tdm_32" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_misc.o ..\src\cpp\DSP_misc.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/dbg -std=c++0x -O0 -g3 -Wall -c -fmessage-length=0 -W -Wshadow -Wconversion -fstrict-aliasing -o src\nvwa\debug_new.o ..\src\nvwa\debug_new.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\nvwa\debug_new.o src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. -mkdir "Release mingw_tdm_32" -mkdir "Release mingw_tdm_32\src" -mkdir "Release mingw_tdm_32\src\cpp" -mkdir "Release mingw_tdm_32\src\nvwa" -cd "Release mingw_tdm_32" -rm -rf src/cpp/DSPclocks.o src/Main.o src/Main.d src/cpp/DSPclocks.d DSPE_lib.exe src/cpp/DSP_DOT.d src/cpp/DSP_misc.o src/cpp/DSP_misc.d src/cpp/DSPmodules2.d src/cpp/DSP_AudioMixer.d src/cpp/DSPmodules2.o src/cpp/DSP_AudioMixer.o src/cpp/DSP_IO.o src/cpp/DSP_IO.d src/cpp/DSP_Fourier.d src/cpp/DSP_Fourier.o src/cpp/DSPmodules_misc.o src/cpp/DSPmodules_misc.d src/cpp/DSPmodules.d src/cpp/DSPmodules.o src/cpp/DSP_DOT.o src/cpp/DSPsockets.o src/cpp/DSPsockets.d - -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -fpermissive -o src\cpp\DSP_AudioMixer.o ..\src\cpp\DSP_AudioMixer.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Fourier.o ..\src\cpp\DSP_Fourier.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPsockets.o ..\src\cpp\DSPsockets.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_Misc.o ..\src\cpp\DSP_Misc.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPclocks.o ..\src\cpp\DSPclocks.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules.o ..\src\cpp\DSPmodules.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules2.o ..\src\cpp\DSPmodules2.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_DOT.o ..\src\cpp\DSP_DOT.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\Main.o ..\src\Main.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSPmodules_misc.o ..\src\cpp\DSPmodules_misc.cpp -g++ %comflag% -DWIN32 -D_FILE_OFFSET_BITS=64 -I../src/include -I../src/include/rls -std=c++0x -O3 -Wall -c -fmessage-length=0 -fno-strict-aliasing -o src\cpp\DSP_IO.o ..\src\cpp\DSP_IO.cpp -g++ %comflag% -static-libgcc -static-libstdc++ -o DSPE_lib.exe src\cpp\DSPsockets.o src\cpp\DSPmodules_misc.o src\cpp\DSPmodules2.o src\cpp\DSPmodules.o src\cpp\DSPclocks.o src\cpp\DSP_misc.o src\cpp\DSP_IO.o src\cpp\DSP_Fourier.o src\cpp\DSP_DOT.o src\cpp\DSP_AudioMixer.o src\Main.o -lwinmm -lws2_32 - -cd .. - -copy /B examples\*.* ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\examples\*.* -copy /B examples\matlab\*.* ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\examples\matlab\*.* -copy /B matlab\toolbox\*.m ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\toolbox\*.m -copy /B src\include\*.h ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\include\*.* -copy /B src\include\rls\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\dbg\*.* - -cd "Debug mingw_tdm_32\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\dbg\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\dbg\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -cd "Release mingw_tdm_32\src\cpp" - -ar rc libDSPE.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSPE.a -ar rc libDSPEsockets.a DSPsockets.o -ranlib libDSPEsockets.a -pause - -copy /B libDSPE.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\rls\*.* -del libDSPE.a Y -copy /B libDSPEsockets.a ..\..\..\..\..\..\workspace\_DSPE_lib_minGW_\mingw_tdm_32\rls\*.* -del libDSPEsockets.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/examples/makefile b/examples/makefile index e746da4..1b08bef 100644 --- a/examples/makefile +++ b/examples/makefile @@ -1,5 +1,6 @@ # For 32-bit compilation use Mbit = 32 CC = g++ +com_ver = $(shell $(CC) -dumpmachine)-gcc_$(shell $(CC) -dumpversion) ifndef TYPE TYPE = dbg @@ -9,8 +10,8 @@ endif ifndef SRC_DIR SRC_DIR = . endif -ifndef SRC_DIR - DSPELIB_DIR_ROOT = ../../_DSPE_lib_minGW_/MinGW-W64_8.1.0 +ifndef DSPELIB_DIR_ROOT + DSPELIB_DIR_ROOT = ../_DSPE_lib_minGW_/$(com_ver) endif ifndef Mbit @@ -51,17 +52,17 @@ multirate.exe: multirate.o $(CC) -L"$(DSPELIB_DIR_ROOT)/$(TYPE)" "$(SRC_DIR)/multirate.o" -o"$(SRC_DIR)/multirate.exe" $(LINKER_FLAGS) -lDSPE -lwinmm callbacks.o: $(SRC_DIR)/callbacks.cpp - $(CC) -DWIN32 -I"$(DSPELIB_DIR_ROOT)/include" -I"$(DSPELIB_DIR_ROOT)/include/$(TYPE)" -c "$(SRC_DIR)/callbacks.cpp" -o "$(SRC_DIR)/callbacks.o" + $(CC) -DWIN32 -I"$(DSPELIB_DIR_ROOT)/include" -I"$(DSPELIB_DIR_ROOT)/include/$(TYPE)" $(CFLAGS) -c "$(SRC_DIR)/callbacks.cpp" -o "$(SRC_DIR)/callbacks.o" callbacks.exe: callbacks.o $(CC) -L"$(DSPELIB_DIR_ROOT)/$(TYPE)" "$(SRC_DIR)/callbacks.o" -o"$(SRC_DIR)/callbacks.exe" $(LINKER_FLAGS) -lDSPE -lwinmm socket_server.o: $(SRC_DIR)/socket_server.cpp - $(CC) -DWIN32 -I"$(DSPELIB_DIR_ROOT)/include" -I"$(DSPELIB_DIR_ROOT)/include/$(TYPE)" -c "$(SRC_DIR)/socket_server.cpp" -o "$(SRC_DIR)/socket_server.o" + $(CC) -DWIN32 -I"$(DSPELIB_DIR_ROOT)/include" -I"$(DSPELIB_DIR_ROOT)/include/$(TYPE)" $(CFLAGS) -c "$(SRC_DIR)/socket_server.cpp" -o "$(SRC_DIR)/socket_server.o" socket_server.exe: socket_server.o $(CC) -L"$(DSPELIB_DIR_ROOT)/$(TYPE)" "$(SRC_DIR)/socket_server.o" -o"$(SRC_DIR)/socket_server.exe" $(LINKER_FLAGS) -lDSPE -lwinmm -lDSPEsockets -lws2_32 socket_client.o: $(SRC_DIR)/socket_client.cpp - $(CC) -DWIN32 -I"$(DSPELIB_DIR_ROOT)/include" -I"$(DSPELIB_DIR_ROOT)/include/$(TYPE)" -c "$(SRC_DIR)/socket_client.cpp" -o "$(SRC_DIR)/socket_client.o" + $(CC) -DWIN32 -I"$(DSPELIB_DIR_ROOT)/include" -I"$(DSPELIB_DIR_ROOT)/include/$(TYPE)" $(CFLAGS) -c "$(SRC_DIR)/socket_client.cpp" -o "$(SRC_DIR)/socket_client.o" socket_client.exe: socket_client.o $(CC) -L"$(DSPELIB_DIR_ROOT)/$(TYPE)" "$(SRC_DIR)/socket_client.o" -o"$(SRC_DIR)/socket_client.exe" $(LINKER_FLAGS) -lDSPE -lwinmm -lDSPEsockets -lws2_32 diff --git a/examples/makefile-m64.linux b/examples/makefile-m64.linux index e6aeb43..a0995ab 100644 --- a/examples/makefile-m64.linux +++ b/examples/makefile-m64.linux @@ -1,5 +1,6 @@ # wersja dla kompilatora 64-bitowego (tdm-gcc 4.8.1): dodatkowa flaga -m64 CC = g++ +com_ver = $(shell $(CC) -dumpmachine)-gcc_$(shell $(CC) -dumpversion) ifndef TYPE TYPE = dbg @@ -9,8 +10,8 @@ endif ifndef SRC_DIR SRC_DIR = . endif -ifndef SRC_DIR - DSPELIB_DIR_ROOT = ../../_DSPE_lib_linux_/x86_64-linux-gnu-gcc_9 +ifndef DSPELIB_DIR_ROOT + DSPELIB_DIR_ROOT = ../_DSPE_lib_linux_/$(com_ver) endif ifndef Mbit diff --git a/make_examples.bat b/make_examples.bat deleted file mode 100644 index 1fef30e..0000000 --- a/make_examples.bat +++ /dev/null @@ -1,29 +0,0 @@ -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -IF not exist E:\mingw\bin\ranlib.exe GOTO DriveC - -path=E:\mingw\bin;E:\msys\1.0\bin\;%path% -GOTO MakeExamples - -:DriveC -path=C:\mingw\bin;C:\msys\1.0\bin\;%path% - -:MakeExamples -cd ../_DSP_lib_minGW/examples - -make clean -make - -cd ../../Dsp_lib - -:End \ No newline at end of file diff --git a/make_examples_dev-cpp.bat b/make_examples_dev-cpp.bat deleted file mode 100644 index 6cba2b0..0000000 --- a/make_examples_dev-cpp.bat +++ /dev/null @@ -1,29 +0,0 @@ -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -IF not exist E:\mingw\bin\ranlib.exe GOTO DriveC - -path=E:\mingw\bin;E:\msys\1.0\bin\;%path% -GOTO MakeExamples - -:DriveC -path=C:\dev-cpp\bin;C:\msys\1.0\bin\;%path% - -:MakeExamples -cd ../_DSP_lib_dev-cpp/examples - -make clean -make - -cd ../../Dsp_lib - -:End \ No newline at end of file diff --git a/make_examples_gcc_4.bat b/make_examples_gcc_4.bat deleted file mode 100644 index 140d2a4..0000000 --- a/make_examples_gcc_4.bat +++ /dev/null @@ -1,29 +0,0 @@ -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -IF not exist E:\mingw\bin\ranlib.exe GOTO DriveC - -path=E:\mingw\bin;E:\msys\1.0\bin\;%path% -GOTO MakeExamples - -:DriveC -path=C:\mingw_gcc_4\bin;C:\msys\1.0\bin\;%path% - -:MakeExamples -cd ../_DSP_lib_minGW_gcc4/examples - -make clean -make - -cd ../../Dsp_lib - -:End \ No newline at end of file diff --git a/make_examples_mingw_CodeBlocks_32bit_5.1.0.bat b/make_examples_mingw_CodeBlocks_32bit_5.1.0.bat deleted file mode 100644 index 028a301..0000000 --- a/make_examples_mingw_CodeBlocks_32bit_5.1.0.bat +++ /dev/null @@ -1,34 +0,0 @@ -rem comflag=-m32 - kompilacja w wersji 32-bitowej -set comflag=-m32 -set com_ver=TDM_5.1.0 - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -rem path=c:\Dev-Cpp\MinGW64\bin;c:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -rem path=e:\Dev-Cpp\MinGW64\bin;e:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -path=e:\CodeBlocks\MinGW\bin;e:\CodeBlocks\MinGW\mingw32\bin\;d:\msys\1.0\bin\;%path% - - -GOTO MakeExamples - -:MakeExamples -rem cd ../_DSPE_lib_minGW_/CodeBlocks%comflag%_%com_ver%/examples -cd ../../../workspace/_DSPE_lib_minGW_/CodeBlocks%comflag%_%com_ver%/examples - -mingw32-make clean -pause -mingw32-make -f makefile%comflag% - -cd ../../../_DSPE_lib_minGW_ - -:End \ No newline at end of file diff --git a/make_examples_mingw_CodeBlocks_64bit_8.1.0(b).bat b/make_examples_mingw_CodeBlocks_64bit_8.1.0(b).bat deleted file mode 100644 index 5b8ccbe..0000000 --- a/make_examples_mingw_CodeBlocks_64bit_8.1.0(b).bat +++ /dev/null @@ -1,39 +0,0 @@ -rem comflag=-m32 - kompilacja w wersji 32-bitowej -set comflag=-m64 -set com_ver=MinGW-W64_8.1.0 - -set filename=make_examples_mingw_CodeBlocks_64bit_8.1.0(b).bat - -IF exist %filename% GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist %filename% GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -rem path=c:\Dev-Cpp\MinGW64\bin;c:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -rem path=e:\Dev-Cpp\MinGW64\bin;e:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -rem path=e:\CodeBlocks\MinGW\bin;e:\CodeBlocks\MinGW\mingw32\bin\;e:\msys\1.0\bin\;%path% -path=d:\CodeBlocks_20_03\MinGW\bin;d:\CodeBlocks_20_03\MinGW\x86_64-w64-mingw32\bin\;d:\msys\1.0\bin\;%path% - - -GOTO MakeExamples - -:MakeExamples -set in_dir=%cd% - -rem cd ../_DSPE_lib_minGW_/CodeBlocks%comflag%_%com_ver%/examples -cd ../../../workspace/_DSPE_lib_minGW_/CodeBlocks%comflag%_%com_ver%/examples - -mingw32-make clean -pause -mingw32-make -f makefile%comflag% - -cd %in_dir% - -:End \ No newline at end of file diff --git a/make_examples_mingw_CodeBlocks_64bit_8.1.0(c).bat b/make_examples_mingw_CodeBlocks_64bit_8.1.0(c).bat deleted file mode 100644 index 2a057b8..0000000 --- a/make_examples_mingw_CodeBlocks_64bit_8.1.0(c).bat +++ /dev/null @@ -1,44 +0,0 @@ -rem comflag=-m32 - kompilacja w wersji 32-bitowej -set comflag=-m64 -set com_ver=MinGW-W64_8.1.0 - -set start_dir=%cd% -rem set in_dir=%cd% -set in_dir=d:\Eclipse_Mars\git_folder\DSPElib\DSPE_lib - -rem set workspace_dir=d:\Eclipse_Mars\workspace -set workspace_dir=R:\workspace - -set filename=%in_dir%\make_examples_mingw_CodeBlocks_64bit_8.1.0(c).bat - -IF exist "%filename%" GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist "%filename%" GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -rem path=c:\Dev-Cpp\MinGW64\bin;c:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -rem path=e:\Dev-Cpp\MinGW64\bin;e:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -rem path=e:\CodeBlocks\MinGW\bin;e:\CodeBlocks\MinGW\mingw32\bin\;e:\msys\1.0\bin\;%path% -path=d:\CodeBlocks_20_03\MinGW\bin;d:\CodeBlocks_20_03\MinGW\x86_64-w64-mingw32\bin\;d:\msys\1.0\bin\;%path% - - -GOTO MakeExamples - -:MakeExamples -rem cd ../_DSPE_lib_minGW_/CodeBlocks%comflag%_%com_ver%/examples -cd /d "%workspace_dir%/_DSPE_lib_minGW_/CodeBlocks%comflag%_%com_ver%/examples" - -mingw32-make clean -pause -mingw32-make -f makefile%comflag% - -cd %start_dir% - -:End \ No newline at end of file diff --git a/make_examples_mingw_CodeBlocks_64bit_8.1.0.bat b/make_examples_mingw_CodeBlocks_64bit_8.1.0.bat deleted file mode 100644 index 3692be6..0000000 --- a/make_examples_mingw_CodeBlocks_64bit_8.1.0.bat +++ /dev/null @@ -1,35 +0,0 @@ -rem comflag=-m32 - kompilacja w wersji 32-bitowej -set comflag=-m64 -set com_ver=MinGW-W64_8.1.0 - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -rem path=c:\Dev-Cpp\MinGW64\bin;c:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -rem path=e:\Dev-Cpp\MinGW64\bin;e:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -rem path=e:\CodeBlocks\MinGW\bin;e:\CodeBlocks\MinGW\mingw32\bin\;e:\msys\1.0\bin\;%path% -path=d:\CodeBlocks_20_03\MinGW\bin;d:\CodeBlocks_20_03\MinGW\x86_64-w64-mingw32\bin\;d:\msys\1.0\bin\;%path% - - -GOTO MakeExamples - -:MakeExamples -rem cd ../_DSPE_lib_minGW_/CodeBlocks%comflag%_%com_ver%/examples -cd ../../../workspace/_DSPE_lib_minGW_/CodeBlocks%comflag%_%com_ver%/examples - -mingw32-make clean -pause -mingw32-make -f makefile%comflag% - -cd ../../../_DSPE_lib_minGW_ - -:End \ No newline at end of file diff --git a/make_examples_mingw_DEV_32bit_4.8.1.bat b/make_examples_mingw_DEV_32bit_4.8.1.bat deleted file mode 100644 index 023067c..0000000 --- a/make_examples_mingw_DEV_32bit_4.8.1.bat +++ /dev/null @@ -1,29 +0,0 @@ -rem comflag=-m32 - kompilacja w wersji 32-bitowej -set comflag=-m32 - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -path=c:\Dev-Cpp\MinGW64\bin;c:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% - -GOTO MakeExamples - -:MakeExamples -cd ../_DSPE_lib_minGW_/Dev-cpp%comflag%/examples - -mingw32-make clean -pause -mingw32-make -f makefile%comflag% - -cd ../../Dsp_lib - -:End \ No newline at end of file diff --git a/make_examples_mingw_DEV_32bit_4.9.2.bat b/make_examples_mingw_DEV_32bit_4.9.2.bat deleted file mode 100644 index 6ee1b0e..0000000 --- a/make_examples_mingw_DEV_32bit_4.9.2.bat +++ /dev/null @@ -1,32 +0,0 @@ -rem comflag=-m32 - kompilacja w wersji 32-bitowej -set comflag=-m32 - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -rem path=c:\Dev-Cpp\MinGW64\bin;c:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -path=e:\Dev-Cpp\MinGW64\bin;e:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% - - -GOTO MakeExamples - -:MakeExamples -rem cd ../_DSPE_lib_minGW_/Dev-cpp%comflag%/examples -cd ../../../workspace/_DSPE_lib_minGW_/Dev-cpp%comflag%/examples - -mingw32-make clean -pause -mingw32-make -f makefile%comflag% - -cd ../../Dsp_lib - -:End \ No newline at end of file diff --git a/make_examples_mingw_DEV_64bit_4.8.1.bat b/make_examples_mingw_DEV_64bit_4.8.1.bat deleted file mode 100644 index 2c10ec3..0000000 --- a/make_examples_mingw_DEV_64bit_4.8.1.bat +++ /dev/null @@ -1,28 +0,0 @@ -rem comflag=-m64 - kompilacja w wersji 64-bitowej -set comflag=-m64 - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -path=c:\Dev-Cpp\MinGW64\bin;c:\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\;%path% -GOTO MakeExamples - -:MakeExamples -cd ../_DSPE_lib_minGW_/Dev-cpp%comflag%/examples - -mingw32-make clean -pause -mingw32-make -f makefile%comflag% - -cd ../../Dsp_lib - -:End \ No newline at end of file diff --git a/makelib.bat b/makelib.bat deleted file mode 100644 index 6e8f010..0000000 --- a/makelib.bat +++ /dev/null @@ -1,60 +0,0 @@ -IF exist makelib.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -IF not exist C:\MinGW\bin\ranlib.exe GOTO DriveE -path=C:\MinGW\bin\;%path% -rem path=E:\mingw\bin;E:\msys\1.0\bin\;%path% -GOTO MakeLib - -:DriveE -path=E:\MinGW\bin\;%path% - -:MakeLib - -cd .. -mkdir _DSP_lib -mkdir _DSP_lib\dbg -mkdir _DSP_lib\include -cd DSP_lib - -copy /B src\include\*.h ..\_DSP_lib\include\*.* -rem copy /B src\include\DSP_lib.h ..\_DSP_lib\include\*.* -rem copy /B src\include\DSP_IO.h ..\_DSP_lib\include\*.* -rem copy /B src\include\DSPtypes.h ..\_DSP_lib\include\*.* -rem copy /B src\include\DSPmodules.h ..\_DSP_lib\include\*.* -rem copy /B src\include\DSPmodules2.h ..\_DSP_lib\include\*.* -rem copy /B src\include\DSPclocks.h ..\_DSP_lib\include\*.* -rem copy /B src\include\DSP_misc.h ..\_DSP_lib\include\*.* -rem copy /B src\include\DSP_Fourier.h ..\_DSP_lib\include\*.* -rem copy /B src\include\DSP_AudioMixer.h ..\_DSP_lib\include\*.* - -cd Debug\src\cpp - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o -ranlib libDSP.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib\dbg\*.* -del libDSP.a Y - -cd ..\..\.. - -cd Release\src\cpp - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o -ranlib libDSP.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib\*.* -del libDSP.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/makelib_anonymous_mingw.bat b/makelib_anonymous_mingw.bat deleted file mode 100644 index 02153a8..0000000 --- a/makelib_anonymous_mingw.bat +++ /dev/null @@ -1,62 +0,0 @@ -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -IF not exist E:\mingw\bin\ranlib.exe GOTO DriveC -rem path=E:\cygwin\bin;%path% -path=E:\mingw\bin;E:\msys\1.0\bin\;%path% -GOTO MakeLib - -:DriveC -path=C:\mingw\bin;C:\msys\1.0\bin\;%path% - -:MakeLib - -cd .. -mkdir _DSP_lib_minGW_anonymous -mkdir _DSP_lib_minGW_anonymous\rls -mkdir _DSP_lib_minGW_anonymous\dbg -mkdir _DSP_lib_minGW_anonymous\include -cd DSP_lib - -copy /B src\include\*.h ..\_DSP_lib_minGW_anonymous\include\*.* -copy /B src\include\rls\DSP_setup.h ..\_DSP_lib_minGW_anonymous\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\_DSP_lib_minGW_anonymous\dbg\*.* - -cd Debug_anonymous\src\cpp - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSP.a -ar rc libDSPsockets.a DSPsockets.o -ranlib libDSPsockets.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib_minGW_anonymous\dbg\*.* -del libDSP.a Y -copy /B libDSPsockets.a ..\..\..\..\_DSP_lib_minGW_anonymous\dbg\*.* -del libDSPsockets.a Y - -cd ..\..\.. - -cd Release_anonymous\src\cpp - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSP.a -ar rc libDSPsockets.a DSPsockets.o -ranlib libDSPsockets.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib_minGW_anonymous\rls\*.* -del libDSP.a Y -copy /B libDSPsockets.a ..\..\..\..\_DSP_lib_minGW_anonymous\rls\*.* -del libDSPsockets.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/makelib_anonymous_mingw_gcc_4.bat b/makelib_anonymous_mingw_gcc_4.bat deleted file mode 100644 index 84e1aa6..0000000 --- a/makelib_anonymous_mingw_gcc_4.bat +++ /dev/null @@ -1,64 +0,0 @@ -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -IF not exist E:\mingw\bin\ranlib.exe GOTO DriveC -rem path=E:\cygwin\bin;%path% -path=E:\mingw\bin;E:\msys\1.0\bin\;%path% -GOTO MakeLib - -:DriveC -path=C:\mingw\bin;C:\msys\1.0\bin\;%path% - -:MakeLib - -cd .. -mkdir _DSP_lib_minGW_anonymous_gcc4 -mkdir _DSP_lib_minGW_anonymous_gcc4\rls -mkdir _DSP_lib_minGW_anonymous_gcc4\dbg -mkdir _DSP_lib_minGW_anonymous_gcc4\include -cd DSP_lib - -copy /B src\include\*.h ..\_DSP_lib_minGW_anonymous_gcc4\include\*.* -copy /B src\include\rls\DSP_setup.h ..\_DSP_lib_minGW_anonymous_gcc4\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\_DSP_lib_minGW_anonymous_gcc4\dbg\*.* - -cd "Release gcc4 anonymous\src\cpp" - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSP.a -ar rc libDSPsockets.a DSPsockets.o -ranlib libDSPsockets.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib_minGW_anonymous_gcc4\rls\*.* -del libDSP.a Y -copy /B libDSPsockets.a ..\..\..\..\_DSP_lib_minGW_anonymous_gcc4\rls\*.* -del libDSPsockets.a Y - -cd ..\..\.. - - -cd "Debug gcc4 anonymous\src\cpp" - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSP.a -ar rc libDSPsockets.a DSPsockets.o -ranlib libDSPsockets.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib_minGW_anonymous_gcc4\dbg\*.* -del libDSP.a Y -copy /B libDSPsockets.a ..\..\..\..\_DSP_lib_minGW_anonymous_gcc4\dbg\*.* -del libDSPsockets.a Y - -cd ..\..\.. - - -:End \ No newline at end of file diff --git a/makelib_linux.sh b/makelib_linux.sh deleted file mode 100644 index 419a762..0000000 --- a/makelib_linux.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -if [ ! -f makelib_linux.sh ]; then - echo Working directory is not correct - #rem pause - echo Trying "workspace/Dsp_lib" - cd workspace/Dsp_lib - - if [ ! -f makelib_linux.sh ]; then - echo Working directory is definitely is not correct !!! - return - fi -fi - -#:MakeLib - -cd .. -mkdir _DSP_lib_Linux -mkdir _DSP_lib_Linux/rls -mkdir _DSP_lib_Linux/dbg -mkdir _DSP_lib_Linux/include -cd DSP_lib - -cp src/include/*.h ../_DSP_lib_Linux/include/ -cp src/include/rls/DSP_setup.h ../_DSP_lib_Linux/rls/ -cp src/include/dbg/DSP_setup.h ../_DSP_lib_Linux/dbg/ - - -cd 'Debug Linux/src/cpp' - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o -ranlib libDSP.a - -cp libDSP.a ../../../../_DSP_lib_Linux/dbg/ -rm libDSP.a - -cd ../../.. - -cd 'Release Linux/src/cpp' - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o -ranlib libDSP.a - -cp libDSP.a ../../../../_DSP_lib_Linux/rls/ -rm libDSP.a - -cd ../../.. - -#:End \ No newline at end of file diff --git a/makelib_mingw.bat b/makelib_mingw.bat deleted file mode 100644 index 0175280..0000000 --- a/makelib_mingw.bat +++ /dev/null @@ -1,77 +0,0 @@ -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -IF not exist E:\mingw\bin\ranlib.exe GOTO DriveC -rem path=E:\cygwin\bin;%path% -path=E:\mingw\bin;E:\msys\1.0\bin\;%path% -GOTO MakeLib - -:DriveC -path=C:\mingw\bin;C:\msys\1.0\bin\;%path% - -:MakeLib - -cd .. -mkdir _DSP_lib_minGW -mkdir _DSP_lib_minGW\rls -mkdir _DSP_lib_minGW\dbg -mkdir _DSP_lib_minGW\include -mkdir _DSP_lib_minGW\examples -mkdir _DSP_lib_minGW\examples\matlab -mkdir _DSP_lib_minGW\toolbox -cd DSP_lib - -copy /B examples\*.* ..\_DSP_lib_minGW\examples\*.* -copy /B examples\matlab\*.* ..\_DSP_lib_minGW\examples\matlab\*.* -copy /B matlab\toolbox\*.m ..\_DSP_lib_minGW\toolbox\*.m -copy /B src\include\*.h ..\_DSP_lib_minGW\include\*.* -copy /B src\include\rls\DSP_setup.h ..\_DSP_lib_minGW\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\_DSP_lib_minGW\dbg\*.* - -rem copy /B src\include\DSP_lib.h ..\_DSP_lib_minGW\include\*.* -rem copy /B src\include\DSP_IO.h ..\_DSP_lib_minGW\include\*.* -rem copy /B src\include\DSPtypes.h ..\_DSP_lib_minGW\include\*.* -rem copy /B src\include\DSPmodules.h ..\_DSP_lib_minGW\include\*.* -rem copy /B src\include\DSPclocks.h ..\_DSP_lib_minGW\include\*.* -rem copy /B src\include\DSP_misc.h ..\_DSP_lib_minGW\include\*.* -rem copy /B src\include\DSP_Fourier.h ..\_DSP_lib_minGW\include\*.* -rem copy /B src\include\DSP_AudioMixer.h ..\_DSP_lib_minGW\include\*.* - -cd Debug\src\cpp - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSP.a -ar rc libDSPsockets.a DSPsockets.o -ranlib libDSPsockets.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib_minGW\dbg\*.* -del libDSP.a Y -copy /B libDSPsockets.a ..\..\..\..\_DSP_lib_minGW\dbg\*.* -del libDSPsockets.a Y - -cd ..\..\.. - -cd Release\src\cpp - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSP.a -ar rc libDSPsockets.a DSPsockets.o -ranlib libDSPsockets.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib_minGW\rls\*.* -del libDSP.a Y -copy /B libDSPsockets.a ..\..\..\..\_DSP_lib_minGW\rls\*.* -del libDSPsockets.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/makelib_mingw_gcc_4.bat b/makelib_mingw_gcc_4.bat deleted file mode 100644 index c895799..0000000 --- a/makelib_mingw_gcc_4.bat +++ /dev/null @@ -1,68 +0,0 @@ -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is not correct -rem pause -echo Trying "workspace/Dsp_lib" -cd workspace/Dsp_lib - -IF exist makelib_mingw.bat GOTO AllOk -echo Working directory is definitely is not correct !!! -pause -GOTO End - -:AllOK -IF not exist E:\mingw\bin\ranlib.exe GOTO DriveC -rem path=E:\cygwin\bin;%path% -path=E:\mingw\bin;E:\msys\1.0\bin\;%path% -GOTO MakeLib - -:DriveC -path=C:\mingw_gcc_4\bin;C:\msys\1.0\bin\;%path% - -:MakeLib - -cd .. -mkdir _DSP_lib_minGW_gcc4 -mkdir _DSP_lib_minGW_gcc4\rls -mkdir _DSP_lib_minGW_gcc4\dbg -mkdir _DSP_lib_minGW_gcc4\include -mkdir _DSP_lib_minGW_gcc4\examples -mkdir _DSP_lib_minGW_gcc4\examples\matlab -mkdir _DSP_lib_minGW_gcc4\toolbox -cd DSP_lib - -copy /B examples\*.* ..\_DSP_lib_minGW_gcc4\examples\*.* -copy /B examples\matlab\*.* ..\_DSP_lib_minGW_gcc4\examples\matlab\*.* -copy /B matlab\toolbox\*.m ..\_DSP_lib_minGW_gcc4\toolbox\*.m -copy /B src\include\*.h ..\_DSP_lib_minGW_gcc4\include\*.* -copy /B src\include\rls\DSP_setup.h ..\_DSP_lib_minGW_gcc4\rls\*.* -copy /B src\include\dbg\DSP_setup.h ..\_DSP_lib_minGW_gcc4\dbg\*.* - -cd "Debug gcc4\src\cpp" - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSP.a -ar rc libDSPsockets.a DSPsockets.o -ranlib libDSPsockets.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib_minGW_gcc4\dbg\*.* -del libDSP.a Y -copy /B libDSPsockets.a ..\..\..\..\_DSP_lib_minGW_gcc4\dbg\*.* -del libDSPsockets.a Y - -cd ..\..\.. - -cd "Release gcc4\src\cpp" - -ar rc libDSP.a DSP_IO.o DSP_misc.o DSPclocks.o DSPmodules.o DSPmodules2.o MISCfunc.o DSP_Fourier.o DSP_AudioMixer.o DSPmodules_misc.o DSP_DOT.o -ranlib libDSP.a -ar rc libDSPsockets.a DSPsockets.o -ranlib libDSPsockets.a - -copy /B libDSP.a ..\..\..\..\_DSP_lib_minGW_gcc4\rls\*.* -del libDSP.a Y -copy /B libDSPsockets.a ..\..\..\..\_DSP_lib_minGW_gcc4\rls\*.* -del libDSPsockets.a Y - -cd ..\..\.. - -:End \ No newline at end of file diff --git a/src/Makefile.linux b/src/Makefile.linux index 920c8cd..3c15a38 100644 --- a/src/Makefile.linux +++ b/src/Makefile.linux @@ -6,7 +6,8 @@ CC=g++ #comflag = -m32 # comflag = -m64 comflag = $(COMFLAG) -com_ver = $(shell gcc -dumpmachine)-gcc_$(shell gcc -dumpversion) +#com_ver = $(shell gcc -dumpmachine)-gcc_$(shell gcc -dumpversion) +com_ver = $(shell $(CC) -dumpmachine)-gcc_$(shell $(CC) -dumpversion) INSTALL_DIR_ROOT = ../_DSPE_lib_linux_ diff --git a/src/Makefile.win b/src/Makefile.win index bb7bcb6..0fc3548 100644 --- a/src/Makefile.win +++ b/src/Makefile.win @@ -4,7 +4,8 @@ CC=g++ # comflag = -m32 # comflag = -m64 comflag = $(COMFLAG) -com_ver = MinGW-W64_8.1.0 +#com_ver = MinGW-W64_8.1.0 +com_ver = $(shell $(CC) -dumpmachine)-gcc_$(shell $(CC) -dumpversion) # INSTALL_DIR_ROOT = e:/Eclipse_Mars/workspace/_DSPE_lib_minGW_ # INSTALL_DIR_ROOT = ./_DSPE_lib_minGW_ diff --git a/src/cpp/DSP_IO.cpp b/src/cpp/DSP_IO.cpp index 99fbbee..62079cd 100644 --- a/src/cpp/DSP_IO.cpp +++ b/src/cpp/DSP_IO.cpp @@ -656,11 +656,11 @@ bool DSP::u::FileInput::CloseFile(void) //! needed to get function DSP::u::FileInput::GetHeader instances into library void dummy_GetHeader(void) { - DSP::u::FileInput *temp = NULL; + DSP::u::FileInput temp(NULL, ""); - temp->GetHeader<DSP::T_TAPE_header>(); - temp->GetHeader<DSP::T_FLT_header>(); - temp->GetHeader<DSP::T_WAVEchunk>(); + temp.GetHeader<DSP::T_TAPE_header>(); + temp.GetHeader<DSP::T_FLT_header>(); + temp.GetHeader<DSP::T_WAVEchunk>(); } template <class T> -- GitLab