OctaForge/OF-Engine

Windows compile error

Opened this issue · 5 comments

C:\Users\Jay\Desktop\Platinum Arts\SourceCode\OctaForge\src>mingw32-make install
" CC (enet) enet/callbacks.o"
" CC (enet) enet/host.o"
" CC (enet) enet/list.o"
" CC (enet) enet/packet.o"
" CC (enet) enet/peer.o"
" CC (enet) enet/protocol.o"
" CC (enet) enet/unix.o"
" CC (enet) enet/win32.o"
" CC (client) octaforge/of_tools.o"
" CC (client) engine/blend.o"
" CC (client) engine/serverbrowser.o"
" CC (client) intensity/messages.o"
" CC (client) intensity/message_system.o"
" CC (client) intensity/client_system.o"
" CC (client) game/game.o"
" CC (client) game/server.o"
" CC (client) game/client.o"
" CC (client) game/render.o"
" CC (client) game/weapon.o"
" CC (client) shared/tools.o"
" CC (client) shared/geom.o"
" CC (client) shared/glemu.o"
" CC (client) engine/command.o"
" CC (client) engine/aa.o"
" CC (client) engine/rendertext.o"
" CC (client) engine/material.o"
" CC (client) engine/octaedit.o"
" CC (client) engine/grass.o"
" CC (client) engine/ovr.o"
" CC (client) engine/physics.o"
" CC (client) engine/rendergl.o"
" CC (client) engine/renderlights.o"
" CC (client) engine/worldio.o"
" CC (client) engine/texture.o"
" CC (client) engine/console.o"
" CC (client) engine/world.o"
" CC (client) engine/renderva.o"
" CC (client) engine/normal.o"
" CC (client) engine/rendermodel.o"
" CC (client) engine/main.o"
" CC (client) engine/bih.o"
" CC (client) engine/octa.o"
" CC (client) engine/light.o"
" CC (client) engine/water.o"
" CC (client) engine/shader.o"
" CC (client) engine/rendersky.o"
" CC (client) engine/renderparticles.o"
" CC (client) engine/octarender.o"
" CC (client) engine/server.o"
" CC (client) engine/client.o"
" CC (client) engine/dynlight.o"
" CC (client) engine/decal.o"
" CC (client) engine/sound.o"
" CC (client) engine/pvs.o"
" CC (client) intensity/engine_additions.o"
" CC (client) intensity/targeting.o"
" CC (client) intensity/network_system.o"
" CC (client) shared/stream.o"
" CC (client) shared/zip.o"
" CC (client) engine/movie.o"
" CC (client) octaforge/of_lua.o"
" CC (client) octaforge/of_localserver.o"
" CC (client) octaforge/of_world.o"
" CC (client) octaforge/of_logger.o"
" CC (client) octaforge/of_entities.o"
" LD (client) client_win_x86.exe"
" CC (server) octaforge/of_tools.o"
:0:8: error: expected identifier before numeric constant
shared/igame.h:57:11: note: in expansion of macro 'server'
namespace server
^
:0:8: error: expected unqualified-id before numeric constant
shared/igame.h:57:11: note: in expansion of macro 'server'
namespace server
^
Makefile:530: recipe for target 'build/server/octaforge/of_tools.o' failed
mingw32-make: *** [build/server/octaforge/of_tools.o] Error 1

C:\Users\Jay\Desktop\Platinum Arts\SourceCode\OctaForge\src>

q66 commented

most likely fixed (works fine around here), if not, further testing will reveal

Running into the very same issue on Windows 7 (x86).
Perhaps you could have another look at it. Might just be the difference between one MingGW release and another.

q66 commented

i'll take a look when I can

Nice. Thanks.

q66 commented

closing old issues (likely already resolved and if not, will be resolved during the coming days)