[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fails to create a midi file on lilypond 2.21.4

From: Mizutori Tetsuya
Subject: Fails to create a midi file on lilypond 2.21.4
Date: Thu, 6 Aug 2020 15:06:38 +0900
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.9.1

The development versions of lilypond-2.21.3-1.mingw and lilypond-2.21.4-1.mingw 
on windows 7 fails to create a midi file.

When compiling any simple input file with \midi{} command, lilypond fails to
create a midi file with the following error message.

> fatal error: cannot create temp file: sample-01.mid.

This error may occur at Midi_stream::Midi_stream class to open a temp file:

---[ in source file lily/midi-stream.cc ]---
Midi_stream::Midi_stream (const string &file_name) {
  tmp_file_name_ = String_convert::form_string ("%s.%8x", file_name.c_str (), 
rand ());
  out_file_ = fopen (tmp_file_name_.c_str (), "wbx");

I don't know what causes the failure.

Mizutori Tetsuya

reply via email to

[Prev in Thread] Current Thread [Next in Thread]