nirai-compiler / src

Core Nirai repo
Other
22 stars 5 forks source link

Error when compiling Miles #24

Closed Nickdoge closed 7 years ago

Nickdoge commented 7 years ago

I know Miles isn't supported. I built Miles Sound System successfully on a non-static Panda3D. I tried to use the Panda3D here. When I build the sample project with Miles i get this (I am using Visual Studio 2010 CMD and Windows 10 x64):

C:\Users\Nicolas\Desktop\Nirai\sample-project\build>python -OO make.py -cnm Compiling CXX codes... main.cxx sample.cxx aes.cxx Linking... Creating library built/sample.lib and object built/sample.exp libp3miles_audio.lib(miles_audio_miles_audio_composite1.obj) : error LNK2001: unresolved external symbol __imp__midiOutReset@4 built/sample.exe : fatal error LNK1120: 1 unresolved externals

Thanks.

Nickdoge commented 7 years ago

Figured out the issue. I had to add the "winmm" lib to niraitools.