Stratos: Punto de Encuentro de Desarrolladores

¡Bienvenido a Stratos!

Acceder

Foros





MSTE not working in MingW

Iniciado por starios, 25 de Mayo de 2013, 05:30:42 AM

« anterior - próximo »

starios

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

starios

I really want to get it working, can someone please help?  It seems like it should be some simple thing

TheAzazel

Hi,

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

Cheers
Roberto

TheAzazel

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

starios

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?






Stratos es un servicio gratuito, cuyos costes se cubren en parte con la publicidad.
Por favor, desactiva el bloqueador de anuncios en esta web para ayudar a que siga adelante.
Muchísimas gracias.