| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: New SID to MIDI conversion tool |
> I'll try LibSIDPlay.dll next.
Okay, got that to work as well. The command-line was:
g++ -shared -std=c++11 -I src -I src/dump -I src/c64 -I src/c64/Banks -I
src/c64/CIA -I src/c64/VIC_II -I src/c64/CPU -I src/sidt
une -I src/utils/MD5 -Wp,-DLIBSIDPLAY_EXPORTS LibSIDPlay.cpp src/*.cpp
src/dump/*.cpp src/c64/*.cpp src/c64/CIA/*.cpp src/c64/VIC_I
I/*.cpp src/c64/CPU/*.cpp src/sidtune/*.cpp src/utils/MD5/*.cpp -o LibSIDPlay.dll
Hideous, I know. Interesting that not all of the files are required,
though. I got some errors about static initialisations so had to include
the -std=c++11 switch but then also got some warnings about auto_ptr being
deprecated. I hate C/C++, did I
mention?
Anyway, again the header was changed with the following:
#ifdef LIBSIDPLAY_EXPORTS
#ifdef _MSC_VER
#define LIBSIDPLAY_API __declspec(dllexport)
#else
#define LIBSIDPLAY_API __attribute__((__visibility__("default")))
#endif
#else
#ifdef _MSC_VER
#define LIBSIDPLAY_API __declspec(dllimport)
#else
#define LIBSIDPLAY_API
#endif
#endif
I'll try porting the code to FPC/Lazarus again and see if I still have
issues with the LZMA units. This may take some time.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)SEEN-BY: 57/0 116/102 130/210 512 153/250 218/630 317/2 393/68 633/267 280 SEEN-BY: 640/384 712/620 848 770/0 1 3 100 340 772/0 1 210 500 @PATH: 770/3 1 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.