home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.cbm      Discussion about Commodore micros      53,866 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 52,075 of 53,866   
   Daniel England to All   
   Re: New SID to MIDI conversion tool   
   15 Aug 17 15:01:36   
   
   From: mewpokemon@hotmail.com   
      
   > 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: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca