Closed GoogleCodeExporter closed 9 years ago
Okay, I just submitted a fix for this. Let me know if r503 works for you.
Original comment by sephirot...@gmail.com
on 4 Dec 2010 at 10:03
Not quite done yet. :) I've registered and tossed my privacy just 'cause I love
what you guys are doing.... Anyway- r503, make clean, make
Linking CXX static library libstorm.a
[ 85%] Built target storm
[ 85%] Building CXX object CMakeFiles/wowmodelviewer.dir/modelexport_3ds.cpp.o
In file included from /home/doug/src/wowmodelviewer/src/modelexport_3ds.cpp:5:
/home/build/src/wowmodelviewer/src/modelexport_3ds.h:135: error: ‘aligned’
was not declared in this scope
/home/build/src/wowmodelviewer/src/modelexport_3ds.h:145: error: conflicting
declaration ‘MAX3DS_FACE __attribute_wxT’
/home/build/src/wowmodelviewer/src/modelexport_3ds.h:135: error:
‘__attribute_wxT’ has a previous declaration as ‘MAX3DS_CHUNK
__attribute_wxT’
/home/build/src/wowmodelviewer/src/modelexport_3ds.h:145: error: ‘aligned’
was not declared in this scope
/home/build/src/wowmodelviewer/src/modelexport_3ds.h:164: error: conflicting
declaration ‘MAX3DS_HEADER __attribute_wxT’
/home/build/src/wowmodelviewer/src/modelexport_3ds.h:135: error:
‘__attribute_wxT’ has a previous declaration as ‘MAX3DS_CHUNK
__attribute_wxT’
/home/build/src/wowmodelviewer/src/modelexport_3ds.h:164: error: ‘aligned’
was not declared in this scope
make[2]: *** [CMakeFiles/wowmodelviewer.dir/modelexport_3ds.cpp.o] Error 1
make[1]: *** [CMakeFiles/wowmodelviewer.dir/all] Error 2
make: *** [all] Error 2
Ubuntu 10.04 LTS, updated religiously.
I've had related build errors since 500, usually involving wx* though not in
the same stage/file. Stormlib builds with a few warnings, but relatively
cleanly, then...
Original comment by justd...@socal.rr.com
on 5 Dec 2010 at 1:07
Same issue here;
In file included from /home/jj/wowmodelviewer/src/modelexport_3ds.cpp:5:
/home/jj/wowmodelviewer/src/modelexport_3ds.h:135: error: ‘aligned’ was not
declared in this scope
/home/jj/wowmodelviewer/src/modelexport_3ds.h:145: error: conflicting
declaration ‘MAX3DS_FACE __attribute_wxT’
/home/jj/wowmodelviewer/src/modelexport_3ds.h:135: error: ‘__attribute_wxT’
has a previous declaration as ‘MAX3DS_CHUNK __attribute_wxT’
/home/jj/wowmodelviewer/src/modelexport_3ds.h:145: error: ‘aligned’ was not
declared in this scope
/home/jj/wowmodelviewer/src/modelexport_3ds.h:164: error: conflicting
declaration ‘MAX3DS_HEADER __attribute_wxT’
/home/jj/wowmodelviewer/src/modelexport_3ds.h:135: error: ‘__attribute_wxT’
has a previous declaration as ‘MAX3DS_CHUNK __attribute_wxT’
/home/jj/wowmodelviewer/src/modelexport_3ds.h:164: error: ‘aligned’ was not
declared in this scope
make[2]: *** [CMakeFiles/wowmodelviewer.dir/modelexport_3ds.cpp.o] Error 1
make[1]: *** [CMakeFiles/wowmodelviewer.dir/all] Error 2
make: *** [all] Error 2
Original comment by Jon.Jah...@gmail.com
on 5 Dec 2010 at 8:36
After some tinkering I managed to get it to compile. The changes I made were
altering line 126 in modelexport_3ds.h from
#define ALIGN_2_E __attribute_wxT((aligned(2)))
to
#define ALIGN_2_E __attribute__((aligned(2)))
and changing line 37 in mpq_stormlib.cpp from
SFileOpenPatchArchive(mpq_a, mpqArchives[j].fn_str(), locales[langID], 0);
to
SFileOpenPatchArchive(mpq_a, mpqArchives[j].fn_str(), locales[langID].fn_str(),
0);
When running it everything works fine until it should show the main window,
when it crashes. Not sure if this is the right place to post it, but I figured
it might be related. Here's the error:
The program 'wowmodelviewer' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadDrawable'.
(Details: serial 21121 error_code 149 request_code 136 minor_code 11)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
It happens on line 208 in app.cpp, when the frame is shown.
Original comment by viktor@palmkvist.com
on 5 Jan 2011 at 12:21
committed, thanks
Original comment by chuanhsing
on 6 Jan 2011 at 2:08
Original comment by chuanhsing
on 30 Mar 2011 at 1:09
Original issue reported on code.google.com by
Jon.Jah...@gmail.com
on 4 Dec 2010 at 4:57