Foros - Stratos

Proyectos => CRM32Pro => Mensaje iniciado por: starios en 25 de Mayo de 2013, 05:30:42 AM

Título: MSTE not working in MingW
Publicado por: starios en 25 de Mayo de 2013, 05:30:42 AM
Hello, I am trying very hard to get MSTE running.  I am using MingW


crm/mste.h:211:9: error: extra qualification 'cMSTE::st_layers::' on member 'st_layers' [-fpermissive]
crm/mste.h:212:9: error: extra qualification 'cMSTE::st_layers::' on member 'st_layers' [-fpermissive]
crm/mste.h:222:5: warning: 'typedef' was ignored in this declaration [enabled by default]
crm/mste.h:236:9: error: extra qualification 'cMSTE::st_tilesets::' on member 'st_tilesets' [-fpermissive]
crm/mste.h:237:9: error: extra qualification 'cMSTE::st_tilesets::' on member 'st_tilesets' [-fpermissive]
crm/mste.h:238:9: error: extra qualification 'cMSTE::st_tilesets::' on member 'st_tilesets' [-fpermissive]
crm/mste.h:239:5: warning: 'typedef' was ignored in this declaration [enabled by default]


After taking out the extra qualifications from the header file, it gives me this:


parsed.o:parsed.cpp:(.text+0x612): undefined reference to `cMSTE::cMSTE()'
parsed.o:parsed.cpp:(.text+0x911): undefined reference to `cMSTE::~cMSTE()'
parsed.o:parsed.cpp:(.text+0x969): undefined reference to `cMSTE::~cMSTE()'
collect2: ld returned 1 exit status


Thank you for any help
Título: Re:MSTE not working in MingW
Publicado por: starios en 26 de Mayo de 2013, 04:51:37 AM
I really want to get it working, can someone please help?  It seems like it should be some simple thing
Título: Re:MSTE not working in MingW
Publicado por: TheAzazel en 27 de Mayo de 2013, 01:19:44 AM
Hi,

let me have a look to it (compiling using mingw) and I will let you know...

Cheers
Roberto
Título: Re:MSTE not working in MingW
Publicado por: TheAzazel en 07 de Junio de 2013, 11:29:02 PM
Hi,

I've created the needed makefile for Win32 using Mingw (GNU C++ compiler). You can download the source code and the binaries for GNU C++ which are available since a few minutes ago.

Cheers
Roberto
Título: Re:MSTE not working in MingW
Publicado por: starios en 22 de Junio de 2013, 12:37:05 AM
Thanks, I had gotten it working by including the source files, but I can link against this library properly now.  It still requires me to link against zlib though, which is normal?