You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was compiling one of the examples (vrm_music_gen), the compiler gave me 3 errors that stopped me from compiling the program.
error LNK2019: unresolved external symbol "void __cdecl jdksmidi::LastEventsProlongation(class jdksmidi::MIDIMultiTrack &,int,unsigned long)" (?LastEventsProlongation@jdksmidi@@YAXAAVMIDIMultiTrack@1@HK@Z) referenced in function _main
error LNK2019: unresolved external symbol "bool __cdecl jdksmidi::WriteMidiFile(class jdksmidi::MIDIMultiTrack const &,char const *,bool)" (?WriteMidiFile@jdksmidi@@YA_NABVMIDIMultiTrack@1@PBD_N@Z) referenced in function _main
error LNK2019: unresolved external symbol "bool __cdecl jdksmidi::AddEndingPause(class jdksmidi::MIDIMultiTrack &,int,unsigned long)" (?AddEndingPause@jdksmidi@@YA_NAAVMIDIMultiTrack@1@HK@Z) referenced in function _main
When I went back to the library codes and started checking the functions, I could not find those three functions in the code. They only appears in the header file. So where are those functions?
From utils.h:
// add ticks time to all last track events (i.e. to all events with max time value)
void LastEventsProlongation( MIDIMultiTrack &tracks, int track_num, MIDIClockTime add_ticks );
// add "pause" after last track event
bool AddEndingPause( MIDIMultiTrack &tracks, int track_num, MIDIClockTime pause_ticks );
// write multitrack to midi file; note that src must contain right clks_per_beat value
bool WriteMidiFile(const MIDIMultiTrack &src, const char *file, bool use_running_status = true);
The text was updated successfully, but these errors were encountered:
When I was compiling one of the examples (vrm_music_gen), the compiler gave me 3 errors that stopped me from compiling the program.
When I went back to the library codes and started checking the functions, I could not find those three functions in the code. They only appears in the header file. So where are those functions?
From utils.h:
The text was updated successfully, but these errors were encountered: