Who's Online 
 
         
              
          105  user(s) are online (
55  user(s) are browsing 
Forums )
Members: 1
Guests: 104
 
GetBoinged ,
    more...
  
       
      
     
   
                         
                         
                      
                
        
            
                        
            
                         
  
      
          Topic options 
                           
            
      
          View mode 
                        Newest First 
                 
                      
              
    
 
    
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2020/5/31 22:14 
                                  
                                    #101  
                             
         
     
    
                
                             Just popping in
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2010/10/14 17:05Last Login
                                :  Yesterday 12:05
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Just wondering if there's been any updates on this. Thanks!
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2021/5/2 0:08 
                                  
                                    #102  
                             
         
     
    
                
                             Just popping in
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2010/10/14 17:05Last Login
                                :  Yesterday 12:05
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @Nuder_Try Repinging on this for status
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2021/5/2 1:14 
                                  
                                    #103  
                             
         
     
    
                
                             Home away from home
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2006/12/2 3:55Last Login
                                :  Today 11:03
                                                    From  Italy, Perugia
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Version 1.3.0 is on the way and that version will be (probably) stable enough .. maybe better wait a bit until released, then try recompiling from that version 
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2021/5/3 20:40 
                                  
                                    #104  
                             
         
     
    
                
                             Home away from home
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2009/7/7 3:34Last Login
                                :  Today 5:44
                                                    From  Man Cave, Canada
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @samo79 thanks for the heads up...hopefully new version will alow save games to work
                        
             
            
                                    
 
     
    
                
                                
                _______________________________
c64-dual sids, A1000, A1200-060@93, A4000-CSMKIII
PiStorm32 & Catweasel MK4+= Amazing 
! My Master Miggies-Amiga1000 & AmigaONE X1000 !
mancave-ramblings 
             
                 
     
    
        
     
     
   
        
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/4/13 22:37 
                                  
                                    #106  
                             
         
     
    
                
                             Home away from home
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2006/12/2 3:55Last Login
                                :  Today 11:03
                                                    From  Italy, Perugia
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        Version 1.4.0 out .. maybe kas1e later.. or someone else ? 
 
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/22 6:38 
                                  
                                    #107  
                             
         
     
    
                
                             Not too shy to talk
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2012/7/16 17:57Last Login
                                :  9/23 11:50
                                                    From  Istanbul
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @all
There is a fork of DevilutionX 1.4 for MorphOS
https://github.com/widelec-BB/devilutionX I think we can bring this port to AmigaOS4 like VanillaConquer and Augustus.
Does anyone know how to contact Filip Maryjañski (MorphOS port author). I can't find any contact in his Github page.
 
                        
             
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/22 6:54 
                                  
                                    #108  
                             
         
     
    
                
                             Home away from home
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2006/12/2 3:55Last Login
                                :  Today 11:03
                                                    From  Italy, Perugia
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/22 7:13 
                                  
                                    #109  
                             
         
     
    
                
                             Home away from home
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2006/11/20 16:26Last Login
                                :  11/2 23:20
                                                    From  Norway
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
I'm confused.. this was ported by Kas1e before to AmigaOS4,
why not on OS4Depot.net, I don't know.
https://www.amigans.net/modules/newbb/ ... &order=ASC&status=&mode=0  
                        
             
            
                                    
 
     
    
                
                                
                (NutsAboutAmiga) Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps. 
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/22 7:19 
                                  
                                    #110  
                             
         
     
    
                
                             Home away from home
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2007/9/11 11:31Last Login
                                :  Yesterday 17:35
                                                    From  Russia
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @LveForIT Because it was full of bugs, Save didn't works, runs not all the time, etc, etc, which point out on bugs in the port-code. I assume it still have the same issues.
                        
             
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/22 7:35 
                                  
                                    #111  
                             
         
     
    
                
                             Not too shy to talk
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2012/7/16 17:57Last Login
                                :  9/23 11:50
                                                    From  Istanbul
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @samo79 Let's hope I am welcomed at MorphOS IRC channel :) Maybe I should use my MorphOS PowerMAC G4 :)
                        
             
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/22 13:24 
                                  
                                    #112  
                             
         
     
    
                
                             Not too shy to talk
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2012/7/16 17:57Last Login
                                :  9/23 11:50
                                                    From  Istanbul
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @all
@all
Now I am trying to compile Devilution 1.4 from
https://github.com/diasurgical/devilutionX Using this CMake (found an old one at Kas1e's website)
cmake \
 - DCMAKE_SYSTEM_NAME = Generic \
 - DBINARY_RELEASE = ON \
 - DDEBUG = OFF \
 - DASAN = OFF \
 - DAMIGA = 1 \
 - DCMAKE_SYSTEM_VERSION = 1 \
 - DCMAKE_BUILD_TYPE = Release \
 - DCMAKE_THREAD_LIBS_INIT = "-lpthread"  \
 - DCMAKE_HAVE_THREADS_LIBRARY = 1 \
 - DCMAKE_USE_WIN32_THREADS_INIT = 0 \
 - DCMAKE_USE_PTHREADS_INIT = 1 \
 - DTHREADS_PREFER_PTHREAD_FLAG = ON \
 - DCMAKE_C_COMPILER = "/usr/local/amiga/bin/ppc-amigaos-gcc"  \
 - DCMAKE_CXX_COMPILER = "/usr/local/amiga/bin/ppc-amigaos-g++"  \
 - DCMAKE_CXX_FLAGS = "-mcrt=clib2"  \
 - DCMAKE_C_FLAGS = "-mcrt=clib2"  \
 - DCMAKE_LINKER = "/usr/local/amiga/bin/ppc-amigaos-ld"  \
 - DCMAKE_AR = "/usr/local/amiga/bin/ppc-amigaos-ar"  \
 - DCMAKE_RANLIB = "/usr/local/amiga/bin/ppc-amigaos-ranlib"  \
 - DCMAKE_FIND_ROOT_PATH = "/usr/local/amiga/ppc-amigaos/"  \
 - DFREETYPE_LIBRARY =/ usr / local / amiga / ppc - amigaos / SDK / local / clib2 / lib / libfreetype . a \
 - DFREETYPE_INCLUDE_DIRS =/ usr / local / amiga / ppc - amigaos / SDK / local / clib2 /include  \
 - DZLIB_INCLUDE_DIR = "/usr/local/amiga/ppc-amigaos/SDK/Local/common/include/"  \
 - DZLIB_LIBRARY = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/lib/libz.a"  \
 - DSDL_LIBRARY = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/lib/libSDL.a"  \
 - DSDL_IMAGE_LIBRARY = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/lib/libSDL_image.a"  \
 - DSDL_AUDIO_LIBRARY = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/lib/libSDL_sound.a"  \
 - DSDL_INCLUDE_DIR = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/include/SDL/"  \
 - DSDL_TTF_LIBRARY = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/lib/libsdl_ttf.a"  \
 - DSDL_TTF_INCLUDE_DIR = "/usr/local/amiga/ppc-amigaos/SDK/Local/common/include/SDL/"  \
 - DSDL_MIXER_LIBRARY = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/lib/libsdl_mixer.a"  \
 - DSDL_MIXER_INCLUDE_DIR = "/usr/local/amiga/ppc-amigaos/SDK/Local/clib2/include/SDL/"  \
 ..  
 
Compilaton reaches 37% and stops following error
[  37 %]  Building C object 3rdParty / bzip2 / CMakeFiles / BZip2 . dir / bz_internal_error . c . obj
 < command - line >:  error :  conflicting types  for  ‘fseek’ ;  have ‘int ( FILE  *,  off_t ,   int ) ’  { aka ‘int ( struct __sFILE  *,  long long int ,   int ) ’ }
 In file included from  / amiga / develop / devilutionX / 3rdParty / bzip2 / bz_internal_error . c : 1 :
 / usr / local / amiga / ppc - amigaos / SDK / clib2 /include/ stdio . h : 152 : 12 :  note :  previous declaration of ‘fseek’ with type ‘int ( FILE  *,  long int ,   int ) ’  { aka ‘int ( struct __sFILE  *,  long int ,   int ) ’ }
    152  |  extern int fseek ( FILE  * stream ,  long int offset ,  int wherefrom );
       |            ^~~~~
 make [ 2 ]: *** [ 3rdParty / bzip2 / CMakeFiles / BZip2 . dir / build . make : 174 :  3rdParty / bzip2 / CMakeFiles / BZip2 . dir / bz_internal_error . c . obj ]  Error 1 
 
 
                        
             
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/23 23:01 
                                  
                                    #113  
                             
         
     
    
                
                             Not too shy to talk
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2012/7/16 17:57Last Login
                                :  9/23 11:50
                                                    From  Istanbul
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @all
Filip Maryjañski has published his MorphOS 1.4.1 port on GitHub with BigEndian fixes.
https://github.com/widelec-bb/devilutionx Currently I still have problem when compiling the project.
If someone is interested, maybe he can take a look
 
                        
             
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/24 9:43 
                                  
                                    #114  
                             
         
     
    
                
                             Not too shy to talk
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2012/7/16 17:57Last Login
                                :  9/23 11:50
                                                    From  Istanbul
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @all
Now I have switched to newlib. Progress is better than trying to compile with clib2.
Now at 54%, I have a problem with std::wstring
[  54 %]  Building CXX object _deps / libfmt - build / CMakeFiles / fmt . dir / src / format . cc . obj
 In file included from  / amiga / develop / devilutionX / build / _deps / libfmt - src /include/ fmt / format - inl . h : 29 ,
                   from  / amiga / develop / devilutionX / build / _deps / libfmt - src / src / format . cc : 8 :
 / amiga / develop / devilutionX / build / _deps / libfmt - src /include/ fmt / format . h : 1262 : 28 :  error :  ‘wstring’ in  namespace  ‘std’ does not name a type
  1262  |    auto str () const ->  std :: wstring  { return {& buffer_ [ 0 ],  size ()}; }
       |                            ^~~~~~~
 / amiga / develop / devilutionX / build / _deps / libfmt - src /include/ fmt / format . h : 49 : 1 :  note :  ‘std :: wstring’ is defined in header ‘ < string > ’ ;  did you forget to ‘ #include <string>’?
     48  |  #include "core.h"
    +++ |+ #include <string>
     49  |
 make [ 2 ]: *** [ _deps / libfmt - build / CMakeFiles / fmt . dir / build . make : 76 :  _deps / libfmt - build / CMakeFiles / fmt . dir / src / format . cc . obj ]  Error 1
 make [ 1 ]: *** [ CMakeFiles / Makefile2 : 2313 :  _deps / libfmt - build / CMakeFiles / fmt . dir / all ]  Error 2
 make : *** [ Makefile : 146 :  all ]  Error 2 
 
I tried adding #include <string>, but no change.
Any ideas ?
 
                        
             
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/24 10:30 
                                  
                                    #115  
                             
         
     
    
                
                             Home away from home
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2007/9/11 11:31Last Login
                                :  Yesterday 17:35
                                                    From  Russia
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @Sinan
With fseek() problems seems a bit different than just redeclaration of fseek() function..
See in command line they use -Dfseeko=fseek. That what i find in amiga.cmake:
# `fseeko` fails to link on Amiga.
 add_definitions (- Dfseeko = fseek )  
 
We probabaly can get rid of this -Dfseeko=fseek. Through strange why we fail, and why clib2 stdio.h have :
extern int fseek(FILE *stream, long int offset, int wherefrom);
while newlib have:
int	_EXFUN(fseek, (FILE *, long, int));
If i change in clib2 header "long int" on "long long int", then it compiles even with -Dfseeko=fseek.
Anyway, to fix it for clib2, just go to amiga.cmake, and comment out this defination, so no -Dfseeko=fseek will be added to command line.
 
                        
             
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/24 11:52 
                                  
                                    #116  
                             
         
     
    
                
                             Not too shy to talk
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2012/7/16 17:57Last Login
                                :  9/23 11:50
                                                    From  Istanbul
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @kas1e
Thanks. after commenting out
add_definitions(-Dfseeko=fseek)
I was able to compile objects 100%
However in the last linking devilutionX executeable, I get this:
Are you able to compile the project 100% ?
/ tmp / ccjD69Ry . ltrans32 . ltrans . o :(. rodata + 0xfc ):  undefined reference to  ` _ZNKSt19__codecvt_utf8_baseIDiE6do_outER10_mbstate_tPKDiS4_RS4_PcS6_RS6_'
 /tmp/ccjD69Ry.ltrans32.ltrans.o:(.rodata+0x100): undefined reference to  ` _ZNKSt19__codecvt_utf8_baseIDiE10do_unshiftER10_mbstate_tPcS3_RS3_ '
 /tmp/ccjD69Ry.ltrans32.ltrans.o:(.rodata+0x104): undefined reference to `_ZNKSt19__codecvt_utf8_baseIDiE5do_inER10_mbstate_tPKcS4_RS4_PDiS6_RS6_'
 / tmp / ccjD69Ry . ltrans32 . ltrans . o :(. rodata + 0x110 ):  undefined reference to  ` _ZNKSt19__codecvt_utf8_baseIDiE9do_lengthER10_mbstate_tPKcS4_j'
 collect2: error: ld returned 1 exit status
 make[2]: *** [CMakeFiles/devilutionx.dir/build.make:404: devilutionx] Error 1
 make[1]: *** [CMakeFiles/Makefile2:1167: CMakeFiles/devilutionx.dir/all] Error 2
 make: *** [Makefile:146: all] Error 2 
 
 
                        
             
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/24 12:10 
                                  
                                    #117  
                             
         
     
    
                
                             Home away from home
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2007/9/11 11:31Last Login
                                :  Yesterday 17:35
                                                    From  Russia
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460 I didn't try to compile it fully, just passed fseek() issue. As for linking erros, it remind me the same errors i had when tryied to build some stuff (See those "mbstate" words in errors).  I ask Andrea about , and he say that you have to compile libstdc++ with new clib2 otherwise you will get this error. Do not know if that the case, but you may try to build libstd++ over new clib2 and test (Andrea post somewhere a sript of how to rebuild it without needs to rebuild whole adtools)
                        
             
            
                                    
 
     
    
                
                                
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/24 15:17 
                                  
                                    #118  
                             
         
     
    
                
                             Not too shy to talk
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2012/7/16 17:57Last Login
                                :  9/23 11:50
                                                    From  Istanbul
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @kas1e
I searched for "codecvt_utf8" in DevilutionX source code.
I found it in 2 places.
When I google'd it:
It seems C++17: codecvt_utf8 is deprecated
https://codingtidbit.com/2020/02/09/c17-codecvt_utf8-is-deprecated/ misc_msg.cpp:
#ifdef USE_SDL1
          if ( gbRunGame  && ( IsTalkActive () ||  dropGoldFlag )) {
              Uint16 unicode  =  e . key . keysym . unicode ;
             if ( unicode  >=  ' ' ) {
                  std :: wstring_convert < std :: codecvt_utf8 < char32_t >,  char32_t >  convert ;
                  std :: string utf8  =  convert . to_bytes ( unicode );
                 if ( IsTalkActive ())
                      control_new_text ( utf8 );
                 if ( dropGoldFlag )
                      GoldDropNewText ( utf8 );
             }
         }
 #endif  
 
 places
and diabloui.cpp:
#ifdef USE_SDL1
              if (( event -> key . keysym . mod  &  KMOD_CTRL ) ==  0 ) {
                  Uint16 unicode  =  event -> key . keysym . unicode ;
                  std :: wstring_convert < std :: codecvt_utf8 < char32_t >,  char32_t >  convert ;
                  std :: string utf8  =  convert . to_bytes ( unicode );
                  SelheroCatToName ( utf8 . c_str (),  UiTextInput ,  UiTextInputLen );
             }
 #endif  
 
 
                        
             
            
                                    
 
     
    
                
                                
                Sinan - AmigaOS4 Beta-Tester - AmigaOne X5000 - AmigaOne A1222 - Sam460ex
            
                 
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/24 16:01 
                                  
                                    #119  
                             
         
     
    
                
                             Just popping in
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2021/7/23 20:46Last Login
                                :  2024/7/20 6:58
                                                    From  Älvsbyn, Sweden
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
codecvt_utf8 was introduced in c++-11 but removed from c++-17 so 
either build with std=c++-11 or change it to
std :: codecvt 
 
 conversion between UTF-32 and UTF-8 (since C++20)
or better use this
std :: codecvt 
 
should work in c++11 - c++23
whenever you get such errors either go to 
stackoverflow.com or better 
en.cppreference.com  (and 
en.cppreference.com/w/c )
 
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
        
  
    
    
        
    
    
        
            
         
        
            Re: DevilutionX - Diablo 1
         
        
            
                                    Posted on: 
2022/9/24 16:01 
                                  
                                    #120  
                             
         
     
    
                
                             Just popping in
 
                                     
                     
                                 
                                    
                    
                         
 
                    
                        Joined:  2021/7/23 20:46Last Login
                                :  2024/7/20 6:58
                                                    From  Älvsbyn, Sweden
                                                                            Group: 
                                  Registered Users                            
                                                
                                                                            
                                             
                                     
        
                        @SinanSam460
codecvt_utf8 was introduced in c++-11 but removed from c++-17 so 
either build with std=c++-11 or change it to
std :: codecvt < char32_t ,  char8_t ,  std :: mbstate_t >  
 
 conversion between UTF-32 and UTF-8 (since C++20)
or better use this
std :: codecvt < wchar_t ,  char ,  std :: mbstate_t >  
 
should work in c++11 - c++23
whenever you get such errors either go to 
stackoverflow.com or better 
en.cppreference.com  (and 
en.cppreference.com/w/c )
 
                        
             
            
                                    
 
     
    
                
                             
     
    
        
     
     
   
    
  
    
      Currently Active Users Viewing This Thread:
      1
      (
        0 members
                  and 1 Anonymous Users
              )