About Monkey 2 › Forums › Monkey 2 Projects › libxmp mod music player
This topic contains 26 replies, has 6 voices, and was last updated by
Ethernaut
9 months ago.
-
AuthorPosts
-
December 13, 2016 at 7:32 pm #5777
I downloaded the zip in this thread. That one does not work. I then copied the code from this thread as a new file into the same folder and tried to compile that. here is the error message :
Monkey12345678910***** Building app 'C:/Monkey2-v1.1.01/bananas/xmp/xmpoal.monkey2' *****Parsing...Semanting...C:/Monkey2-v1.1.01/bananas/xmp/xmpoal.monkey2 [16] : Error : Type 'xmp_frame_info' not foundC:/Monkey2-v1.1.01/bananas/xmp/xmpoal.monkey2 [72] : Error : Identifier 'frameInfo' not foundC:/Monkey2-v1.1.01/bananas/xmp/xmpoal.monkey2 [74] : Error : Identifier 'frameInfo' not foundC:/Monkey2-v1.1.01/bananas/xmp/xmpoal.monkey2 [75] : Error : Identifier 'frameInfo' not foundC:/Monkey2-v1.1.01/bananas/xmp/xmpoal.monkey2 [76] : Error : Identifier 'frameInfo' not foundDecember 13, 2016 at 7:37 pm #5778okay try this http://www.bedroomcoders.co.uk/tmp/xmp.tar.gz
Look like I forgot I’d changed some stuff, there is a mojo/openal example, on no account should it be used with SDL (audio)
December 13, 2016 at 8:27 pm #5779Getting this error on the last file you posted.
Monkey123456789101112131415161718192021222324252627282930313233343536373839404142434445Mx2cc version 1.1.01***** Building app 'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.monkey2' *****Parsing...Semanting...Translating...Compiling...Linking C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.products/Windows/Xmp-mojo-openAL.exe...Build error: System command 'g++ -static -m32 -mwindows -o "C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.products/Windows/Xmp-mojo-openAL.exe" -Wl,@tmp/lnkFiles1.txt' failed.g++ -static -m32 -mwindows -o "C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.products/Windows/Xmp-mojo-openAL.exe" -Wl,@tmp/lnkFiles1.txtC:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x7a): undefined reference to `_imp__xmp_create_context'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x192): undefined reference to `_imp__xmp_load_module_from_memory'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x22e): undefined reference to `_imp__xmp_start_player'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x692): undefined reference to `_imp__xmp_play_buffer'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0xda6): undefined reference to `_imp__xmp_get_frame_info'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x1243): undefined reference to `_imp__xmp_end_player'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x125e): undefined reference to `_imp__xmp_release_module'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x1279): undefined reference to `_imp__xmp_free_context'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x1394): undefined reference to `_imp__xmp_next_position'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x13cf): undefined reference to `_imp__xmp_prev_position'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1_1_1libxmp_5lite_54.4.1_2src_2control.c.o:control.c:(.text+0x76): undefined reference to `_imp__xmp_release_module'C:/Users/Rudy/Google Drive/Monkey2/2016/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1_1_1libxmp_5lite_54.4.1_2src_2load.c.o:load.c:(.text+0x765): undefined reference to `_imp__xmp_end_player'collect2.exe: error: ld returned 1 exit status***** Fatal mx2cc error *****Internal mx2cc build errorDecember 13, 2016 at 9:56 pm #5783try it in a path without a space ?
December 13, 2016 at 10:01 pm #5784Tried to put it in the banana folder and on c: No luck.
Monkey123456789101112131415161718192021222324252627282930313233343536373839404142434445Mx2cc version 1.1.01***** Building app 'C:/xmp/xmp-mojo-openAL.monkey2' *****Parsing...Semanting...Translating...Compiling...Linking C:/xmp/xmp-mojo-openAL.products/Windows/Xmp-mojo-openAL.exe...Build error: System command 'g++ -static -m32 -mwindows -o "C:/xmp/xmp-mojo-openAL.products/Windows/Xmp-mojo-openAL.exe" -Wl,@tmp/lnkFiles1.txt' failed.g++ -static -m32 -mwindows -o "C:/xmp/xmp-mojo-openAL.products/Windows/Xmp-mojo-openAL.exe" -Wl,@tmp/lnkFiles1.txtC:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x7a): undefined reference to `_imp__xmp_create_context'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x192): undefined reference to `_imp__xmp_load_module_from_memory'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x22e): undefined reference to `_imp__xmp_start_player'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x692): undefined reference to `_imp__xmp_play_buffer'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0xda6): undefined reference to `_imp__xmp_get_frame_info'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x1243): undefined reference to `_imp__xmp_end_player'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x125e): undefined reference to `_imp__xmp_release_module'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x1279): undefined reference to `_imp__xmp_free_context'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x1394): undefined reference to `_imp__xmp_next_position'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1src_2xmp_05mojo_05openAL_0xmp_05mojo_05openAL.cpp.o:xmp_5mojo_5openAL_xmp_5mojo_5openAL.cpp:(.text+0x13cf): undefined reference to `_imp__xmp_prev_position'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1_1_1libxmp_5lite_54.4.1_2src_2control.c.o:control.c:(.text+0x76): undefined reference to `_imp__xmp_release_module'C:/xmp/xmp-mojo-openAL.buildv1.1.01/windows_debug/build/_1_1_1libxmp_5lite_54.4.1_2src_2load.c.o:load.c:(.text+0x765): undefined reference to `_imp__xmp_end_player'collect2.exe: error: ld returned 1 exit status***** Fatal mx2cc error *****Internal mx2cc build errorDecember 14, 2016 at 6:31 am #5793last file worked fine here with no issues
December 14, 2016 at 6:36 am #5794And then it goes to hell. After first run, that it, the app just hangs. I’ll do an in depth debug and see if I can report anything
December 14, 2016 at 6:55 am #5795and now it works! Let’s just leave it at that currently
December 14, 2016 at 9:25 am #5801no idea, puzzled, works flawlessly here, with Linux, even once using wine… sadly the error message doesn’t even help – rather odd!
December 29, 2016 at 9:43 pm #6099Cool project, I love module tracker music and was doing own songs a while with FastTracker 2. I’ll try it.
December 29, 2016 at 11:21 pm #6101any examples of your work, always interested in collaborating with artists…
July 19, 2018 at 6:09 am #15082Just compiled it with the latest dev branch and works brilliantly on MacOS!
Played a few of my old Impulse Tracker files without issues. CPU use is very low too, about 3% while playing minimized (so that graphic update doesn’t interfere) on my laptop.
This was originally posted a while ago, but it’s a really cool project, specially if you’re interested in “retro” games with an authentic feel. This should definitely be in the official modules.
Cheers!
-
AuthorPosts
You must be logged in to reply to this topic.