Development > Newbie Coding

Compilation/running

(1/1)

ralthor:
I started fresh with everything, got it all built with the newest code blocks for UFO AI, maps, po files, etc.

I have never tried to use Radiant before (because it never compiled) so I thought I would get that going so I could see how everything works together and make the installer, etc.

So Radiant gave me the following error with revision 25902


--- Code: ---Compiling: ..\..\src\tools\radiant\plugins\sound\sound.cpp
Compiling: ..\..\src\tools\radiant\plugins\sound\soundmanager.cpp
Compiling: ..\..\src\tools\radiant\plugins\sound\soundplayer.cpp
Compiling: ..\..\src\tools\radiant\libs\gtkutil\timer.cpp
Linking dynamic library: ..\..\radiant\modules\sound.dll
.objs\radiant_sound\src\tools\radiant\plugins\sound\soundmanager.o:soundmanager.cpp:(.text+0x7d): undefined reference to `ISoundManager::~ISoundManager()'
.objs\radiant_sound\src\tools\radiant\plugins\sound\soundmanager.o:soundmanager.cpp:(.text+0x127): undefined reference to `ISoundManager::~ISoundManager()'
.objs\radiant_sound\src\tools\radiant\plugins\sound\soundmanager.o:soundmanager.cpp:(.text+0x1b5): undefined reference to `ISoundManager::~ISoundManager()'
.objs\radiant_sound\src\tools\radiant\plugins\sound\soundmanager.o:soundmanager.cpp:(.text+0x1e1): undefined reference to `ISoundManager::~ISoundManager()'
.objs\radiant_sound\src\tools\radiant\plugins\sound\soundmanager.o:soundmanager.cpp:(.text+0x279): undefined reference to `ISoundManager::~ISoundManager()'
.objs\radiant_sound\src\tools\radiant\plugins\sound\soundmanager.o:soundmanager.cpp:(.text+0x2a5): more undefined references to `ISoundManager::~ISoundManager()' follow
.objs\radiant_sound\src\tools\radiant\plugins\sound\soundmanager.o:soundmanager.cpp:(.text$_ZN13ISoundManagerC2Ev[ISoundManager::ISoundManager()]+0x8): undefined reference to `vtable for ISoundManager'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 21 seconds)
7 errors, 0 warnings
--- End code ---

I reverted back before the sound manager was edited (25863) and it compiled fine.  Then I went to run it and had no idea what to put in for the compiler binary (tried all the binaries I could find), but always got this same error:


--- Code: ---Module Ready: 'toolbar' 'UFO:AI'
Module Initialising: 'plugin' 'SoundManager'
Module Ready: 'plugin' 'SoundManager'
Module Initialising: 'plugin' 'brushexport2'
Module Ready: 'plugin' 'brushexport2'
Gtk-CRITICAL **: gtk_accel_group_connect: assertion `GTK_IS_ACCEL_GROUP (accel_group)' failed**-Message: vfs directory: E:/dev/ufoai/base/
**-Message: filesystem initialised
**-Message: Parsing shaderfile 'E:/dev/ufoai/radiant/shaders/common.shader'
**-Message: Parsing shaderfile 'E:/dev/ufoai/radiant/shaders/textures.shader'
225:9: parse error at 'origin': expected '{'
ERROR: expected {. parsing file ufos/entities.ufo
**-Message: Try to load 'ufos/entities.ufo'
**-Message: Load entity definition file from 'ufos/entities.ufo'
**-Message: ScanFile: 'ufos/entities.ufo'
**-WARNING **: Could not find image (/pipes) for prefab /pipes.map

--- End code ---

I assume I have an obvious setting wrong with radiant, but am not finding it on the wiki/forums...

RudolfoWood:
currently there is a known bug with sound plugin. you should delete sound.dll before starting uforadiant from radiant subdirectory.
If that does not help, try to run radiant from debugger to see where it fails and report back here.

Duke:
The 'compiler binary' is your path to ufo2map.exe.

Navigation

[0] Message Index

Go to full version