Displaying 20 results from an estimated 600 matches similar to: "Compilation failure using mingw-w64 and gcc-5.3.0"
2014 Sep 26
4
Patch to add buffering to decoding too
Removed buffer size increase. Only tells the filesize to Windows now.
On 26.9.2014 14:08, Erik de Castro Lopo wrote:
> Martijn van Beurden wrote:
>
>> Can you please wrap the setvbuf in _WIN32 IFDEFs too? Currently
>> memory usage of FLAC decoding is about 1MB, so this patch is
>> increasing memory usage tenfold, also for platforms that do not
>> need this. It is a
2014 Sep 26
3
Patch to add buffering to decoding too
Can you please wrap the setvbuf in _WIN32 IFDEFs too? Currently
memory usage of FLAC decoding is about 1MB, so this patch is
increasing memory usage tenfold, also for platforms that do not
need this. It is a non-problem on my system anyway.
Op 26-09-14 om 10:36 schreef Janne Hyv?rinen:
> I made some changes to the previous patch. I don't know why I
> originally didn't put the
2014 Sep 25
2
Patch to add buffering to decoding too
Decoding flac files is also prone to producing fragmented files. NTFS
has the ability to completely avoid fragmentation if it is told the file
size before hand, but that would require using special Windows-only
functions. Increasing the write buffer from the default 512 bytes to 10
MB already reduces the problem tremendously.
-------------- next part --------------
diff --git
2016 Feb 09
2
Compilation failure using mingw-w64 and gcc-5.3.0
Thank you for the feedback.
This is cross-compiling for mingw-w64-x86_64 using gcc-5.3.0 and
mingw-w64-4.0.4 on GNU/Linux.
Upon attempting to compile now, a large number of errors occur in
flac/decode.c which I have placed at the end of this email. They are eased
by adding this to decode.c:
#if _WIN32
#include <windows.h>
#include <shlobj.h>
#endif
...among the headers.
Then, this
2010 Mar 25
4
CreateFile \\\\.\\x: non-root
Hello,
I have a usb data aquisition device interfaced by mass storage protocol. I open it like:
hEcgDrive=CreateFile("\\\\.\\g:",
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING |
FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
NULL);
for communication I use
DeviceIoControl(hEcgDrive,
2001 Sep 14
5
wine serial support
Hi,
I use wine to run a terminal emulator (NetTerm).
It connects to a Linux Server (it was meant to run from windows) that runs a commerce software.
This Linux commerce software sends the terminal emulator escape codes to interface with a
"ticket" printer attached to a serial port.
The reason to go thru all this problem is that the printer has a proprietary, closed source driver
for
2004 Aug 06
2
Please 30 second to look a my code
Hi
i'm developing a sort of VoIP application
for my ipaq using speex...
I'm still at beginning and i have many problems encoding and decoding my
wav files....output is only noise! Why?
I'm using
Libspeex 1.1.3,
Embedded VisualC++ 3.0,
Ipaq 3850(206 MHz IntelĀ® Strong ARM 32-bit RISC Processor) PocketPC 2002 (Windows CE 3.0).
Libspeex is complied with the definition of
2014 Sep 27
0
Patch to add buffering to decoding too
The previous patch was bugged. The output file wasn't truncated to
correct size and was a bit off from rounding the WAVE/AIFF header to
smallest sector size. And RAW output didn't benefit from the change. And
the existing functions didn't need changes as outputfilename was already
known. Attached is a fixed and improved version.
-------------- next part --------------
diff --git
2014 Sep 26
0
Patch to add buffering to decoding too
I made some changes to the previous patch. I don't know why I originally
didn't put the output buffering to piped output too but that is now
moved to cover both file and pipe output.
Additionally this patch informs the Windows filesystem in advance about
the decoded size to eliminate NTFS fragmentation.
On 25.9.2014 23:01, Janne Hyv?rinen wrote:
> Decoding flac files is also prone
2011 Sep 03
1
Patch to build hivex lib on Windows
Hi
I'm just posting this here in case someone is interested in building
hivex on Windows (mingw32). The attached patch allows building the lib
but not the tools (hivexsh etc..) as there are some more problems to solve.
In short terms, this patch replaces file i/o functions and mmap(),
munmap() with their win32api pendants.
cu
--
Unix _IS_ user friendly - it's just
selective about
2009 Jul 27
5
Problems with Pass4Sure's Network+ Demo
All:
My employer has required me to pass a computer security certification
exam. The folks at Pass4Sure have what I consider the best program.
However, it does not want to play nice under Wine. I installed the Demo
version of the Network+ test program. It is a native Windows Java
application. It wanted to install GDIPLUS and msxml6. I used
Winetricks to install them and then tried to run
2002 Nov 17
2
Problem running Anstoss2 under Wine
Adrian Bunk wrote:
>I'm trying to run Anstoss2 (a five years old German soccer simulation -
>I'm only interested in the strategic part of the game) under Wine. I
>tried the Debian package of the 20021031 Release and a self-compiled
>package of a 20021116 CVS snapshot. The following messages occur during
>the start of the game:
>
><-- snip -->
>
>$ wine
2008 Mar 06
4
dot matrix POS parallel printer problems
I have a application that writes to the LPT1 directly,
in wine there is a lot of missing characters in the printout,
in the console printing to /dev/lp0 works ok.
I'm using puppy linux.
Any help welcome.
Thank you
2001 Sep 20
2
win32:DEVICE_Open Unknown VxD A:. Try --winver nt40 or win31 !
Hi,
I was hoping to use wine to run one of those stupid windows binaries that
generate a floppy (at least IBM has a clue, and also offers the raw floppy
image for dd-ing)
In this case, the culprit is seagate's seatools:
http://www.seagate.com/support/seatools/
I installed wine under debian unstable (Version: 0.0.20010824-1) and when I
run the windows binary under wine, it runs but
2006 May 26
13
win32-dir, unicode
Hi,
I''ve got a preliminary version of the pure Ruby version of win32-dir in
CVS. However, I was hoping to work out the Unicode issue. Run this:
from = "C:\\test"
to = "?????"
Dir.mkdir(from) unless File.exists?(from)
Dir.create_junction(to, from)
It works, but my explorer (and dos) window shows the name garbled. I
don''t think it''s a font
2020 Jun 30
3
Issues with FLOCK on NFS Share
On 30/06/2020 14:55, Ralph Boehme via samba wrote:
> Howdy!
>
> Am 6/30/20 um 2:37 PM schrieb Georg.Biberger--- via samba:
>> We are using Samba 4.10.16 as a readonly file server on a linux box with SLES 12. All is working fine with our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider. We have some problems with samba not responding, when
2005 Jan 20
1
ChangeNotify help wanted
Hi all,
I''ve checked in some code to win32-changenotify. Unfortunately, it
doesn''t work right. I need some help. I don''t understand what,
exactly, I''m supposed to pass to ReadDirectoryChangesW() for the 2nd
argument, nor how to read the data back out.
There''s also a WCHAR issue that needs to be worked out with regards to
the FileName
2004 Nov 07
2
Problems with DeviceIoControl()
Hi all,
Thanks to Wayne and Park, I''ve got something like this
now:
static VALUE file_set_compressed(VALUE self, VALUE
rbBool){
HANDLE h;
BOOL rv;
DWORD dwBytesReturned;
int fn;
USHORT inBuf = COMPRESSION_FORMAT_DEFAULT;
if((rbBool != Qtrue) && (rbBool != Qfalse)){
rb_raise(rb_eTypeError,"Argument must be true or
false");
}
2001 Nov 23
5
Communications problem
I am trying to get an home automation system called Thinkboxx
to run on a linux system, Thinkboxx has a windoze program that controls
the Thinkboxx over the com port. the program seems to be running well, but
when it tries to open the com ports it say that it has an "Unknown
Communications problem". I think my configuration of wine and the com port
is ok, i have spent
some time reading
2004 Aug 19
1
Serial Communication
I try to use SimoComU, a tool to control frequency converters, on Wine.
Since version 2004-07-16 it opens its main window, and most functions
seem to work. Anyway, it does not communicate over the serial line. I
see the following output:
trace:file:CreateFileW L"COM1" GENERIC_READ GENERIC_WRITE OPEN_EXISTING
attributes 0x0
trace:file:RtlDosPathNameToNtPathName_U