Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
April 17, 2026, 04:02:37 pm
News:
We also have a
Discord channel!
Home
Help
Login
Register
PlaneShift
>>
Development
>>
Development Deliberation
(Moderators:
Mordaan
,
weltall
,
Venalan
,
Eonwind
) >>
Current CVS psengine.cpp compilation fail under mingw32
« previous
next »
Print
Pages: [
1
]
Author
Topic: Current CVS psengine.cpp compilation fail under mingw32 (Read 1297 times)
Gellule
Traveller
Posts: 27
Current CVS psengine.cpp compilation fail under mingw32
«
on:
May 05, 2004, 07:29:46 am »
Compilation output:
C++ ./out/msysx86/debug/src/client/psengine.o
src/client/psengine.cpp: In member function `iMaterialWrapper*
psEngine::LoadMaterial(const char*, const char*)\':
src/client/psengine.cpp:988: no matching function for call to `iLoader::
LoadImageA(const char*&, int)\'
It seems that the #undef LoadImage work around in the first few lines of psengine.cpp (OS specific defines) does not work with me. It looks like there is a LoadImage->LoadImageA defined in one of the following included headers.
I traced down this definition as coming from both:
#include \"globals.h\"
#include \"psengine.h\"
Would it be a good solution to move the OS specific defines after the headers inclusions?
-Gellule
«
Last Edit: May 05, 2004, 07:30:13 am by Gellule
»
Logged
Gellule Hokuloa - Forever scout in
The Explorers Guild
--
are back!
dfryer
Veteran
Posts: 1070
(No subject)
«
Reply #1 on:
May 05, 2004, 08:42:33 am »
Someone on IRC had this problem, I believe, and it was fixed by either forcing the block involving the #undef, or moving it above (or maybe below) some headers... To summarize, I don\'t know what I\'m talking about but I seen it before!
Logged
Quidquid latine dictum sit, altum sonatur.
Gellule
Traveller
Posts: 27
(No subject)
«
Reply #2 on:
May 05, 2004, 08:57:48 am »
Thanks! That\'s exactly what I did. Move the #undef below the #include.
Beside that, when you find this kind of problem is posting here the best thing to do? Can you do more and propose a modification of code?
Other question: how well is the mingw32 build suported? Is it possible to help with it?
-Gellule
«
Last Edit: May 05, 2004, 08:59:40 am by Gellule
»
Logged
Gellule Hokuloa - Forever scout in
The Explorers Guild
--
are back!
acraig
Administrator
Veteran
Posts: 1562
(No subject)
«
Reply #3 on:
May 05, 2004, 04:27:10 pm »
I believe that Jorrit ( the head of Crystal Space project ) uses mingw32 to build. He is the only person that I know that uses it so it is supported but just not very well. I will place any fixes that you have that can make the compile better for mingw32.
Posting here is good ( why this forum was created ) or contacting us on irc ( irc.freenode.net in #planeshift ) or contact me directly (
acraig@planeshift.it
) directly with any patches.
Logged
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"
Gellule
Traveller
Posts: 27
(No subject)
«
Reply #4 on:
May 05, 2004, 09:07:14 pm »
Then, what\'s the most convenient way to submit a patch?
Any tool I should use?
Logged
Gellule Hokuloa - Forever scout in
The Explorers Guild
--
are back!
Gellule
Traveller
Posts: 27
(No subject)
«
Reply #5 on:
May 05, 2004, 09:36:10 pm »
I think I found: I sent you an E-mail with the diff log.
I\'d like to send another one on compiling-mingw.txt. Should I go ahead ?
-Gellule
Logged
Gellule Hokuloa - Forever scout in
The Explorers Guild
--
are back!
Print
Pages: [
1
]
« previous
next »
PlaneShift
>>
Development
>>
Development Deliberation
(Moderators:
Mordaan
,
weltall
,
Venalan
,
Eonwind
) >>
Current CVS psengine.cpp compilation fail under mingw32