STL icon indicating copy to clipboard operation
STL copied to clipboard

g711, rpelt: cannot be compiled on Windows

Open gabrielmittag opened this issue 6 years ago • 2 comments

OS: Win 10 Pro x64 Compiled with cmake and Visual Studio 14 2015

"C:\Users\name\STL-dev\ALL_BUILD.vcxproj" (Standardziel) (1) ->
"C:\Users\name\STL-dev\src\unsup\pshar.vcxproj" (Standardziel) (49) ->
(Link Ziel) ->pshar.obj : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol "_index" in Funktion "_dounshar". [C:\Users\name\STL-dev\src\unsup\pshar.vcxproj]
C:\Users\name\STL-dev\bin\Debug\pshar.exe : fatal error LNK1120: 1 nicht aufgel÷ste Externe [C:\Users\name\STL-dev\src\unsup\pshar.vcxproj]

"C:\Users\name\STL-dev\ALL_BUILD.vcxproj" (Standardziel) (1) ->
"C:\Users\name\STL-dev\src\g711\shiftbit.vcxproj" (Standardziel) (55) -> (ClCompile Ziel) ->
C:\Users\name\STL-dev\src\g711\shiftbit.c(38): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "unistd.h": No such file or directory [C:\Users\name\STL-dev\src\g711\shiftbit.vcxproj]

"C:\Users\name\STL-dev\ALL_BUILD.vcxproj" (Standardziel) (1) ->
"C:\Users\name\STL-dev\src\rpeltp\test-add.vcxproj" (Standardziel) (62) ->
C:\Users\name\STL-dev\src\rpeltp\add_test.c(14): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "unistd.h": No such file or directory [C:\Users\name\STL-dev\src\rpeltp\test-add.vcxproj]

4318 Warnung(en)
4 Fehler

gabrielmittag avatar Oct 23 '17 14:10 gabrielmittag

pshar, g711, and rpelt require on unistd.h, which is not available on Windows. This means that these programs are not yet platform-independent.

dennisguse avatar Oct 23 '17 16:10 dennisguse

Support for pshar was dropped.

dennisguse avatar Sep 26 '18 05:09 dennisguse

G711 code was updated and compiles on Windows.

ludomal avatar Oct 14 '22 09:10 ludomal