Technical support > Windows

Compilation Errors - Radiant Related

(1/3) > >>

odie:
Hi,

I am trying to build a new revision based on 25712 on windows system.

Everything is ok until:


--- Code: ----------------- Build: windows_debug in uforadiant_sound ---------------

Compiling: ..\..\src\tools\radiant\plugins\sound\sound.cpp
Compiling: ..\..\src\tools\radiant\plugins\sound\soundmanager.cpp
In file included from C:\SVN Update\src\tools\radiant\plugins\sound\soundmanager.h:4,
                 from C:\SVN Update\src\tools\radiant\plugins\sound\sound.cpp:1:
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:5:19: error: AL/al.h: No such file or directory
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:6:20: error: AL/alc.h: No such file or directory
In file included from C:\SVN Update\src\tools\radiant\plugins\sound\soundmanager.h:4,
                 from C:\SVN Update\src\tools\radiant\plugins\sound\sound.cpp:1:
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:20: error: ISO C++ forbids declaration of 'ALCcontext' with no type
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:20: error: expected ';' before '*' token
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:23: error: 'ALuint' does not name a type
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:26: error: 'ALuint' does not name a type
In file included from C:\SVN Update\src\tools\radiant\plugins\sound\soundmanager.h:4,
                 from C:\SVN Update\src\tools\radiant\plugins\sound\soundmanager.cpp:1:
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:5:19: error: AL/al.h: No such file or directory
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:6:20: error: AL/alc.h: No such file or directory
In file included from C:\SVN Update\src\tools\radiant\plugins\sound\soundmanager.h:4,
                 from C:\SVN Update\src\tools\radiant\plugins\sound\soundmanager.cpp:1:
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:20: error: ISO C++ forbids declaration of 'ALCcontext' with no type
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:20: error: expected ';' before '*' token
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:23: error: 'ALuint' does not name a type
C:\SVN Update\src\tools\radiant\plugins\sound\soundplayer.h:26: error: 'ALuint' does not name a type
Process terminated with status 1 (3 minutes, 54 seconds)
12 errors, 6 warnings
 
Process terminated with status 1 (3 minutes, 54 seconds)
12 errors, 6 warnings

--- End code ---

I truncated the earlier part of log, cos they were all successful.
Its based on Codeblocks.

Could someone let me know if there have been a new version of radiant updates where i did not have?

If so, kindly advise me on the download links pls. Thanks. :D

Kildor:
odie, you need at first openal includes and libraries, and at second radiant is broken currently.

odie:

--- Quote from: Kildor on August 17, 2009, 07:38:05 am ---odie, you need at first openal includes and libraries, and at second radiant is broken currently.

--- End quote ---

Hihi kildor,

Thanks for letting me know radiant is broken. I was away for a wk plus overseas.
So, is there anyone working on the radiant to get it patched up yet??

Next, i was wondering if there are new includes and libraries which i dun already have from my Tortise-SVN patchings..... maybe i will try a revert back to 200 revisions ago and try again..... Hmmmm, i might just try tat. :D

So far, i managed to track to this soundplayer.h file, which seemed to have many components of the contents 'missing'.

I also saw mattn's webbie of uforadiant.exe and downloaded it, but cant seem to fiddle to make it work anywhere. Hmmmm....

Any other advise so far? :D

RudolfoWood:
mattn is out of office for some days, so some radiant issues will stay unresolved.

for some of them I found solutions:
- that "undefined glGetError" seems to be a slightly wrong lib file (libopengl32.a) which defines a _glGetError instead - solved (for me) by creating a clean lib file from my opengl32.dll
- sound plugin not working: as stated on ml it is easy to remove the dependencies for now - I won't commit as long as no one requests this, because after mattn is back these will probably be added again
- missing dependency files (eg. timer.cpp/RadiantException.cpp) - these were solved by adding the files to build chains

only one known issue for me actually: shutdown process is not 100% bugfree - a shader listener tries to update texbrowser when shaders are removed, I think the gui is not valid at this time and so that update causes an segfault. (This is nothing which hinders radiant from working, I don't know whether my suggested solution is good: that update function could have some "shutting down" flag which prevents from updates. Another one could be remove the listener before shutting down the shaders).

Are there any other issues that I'm not aware of?

odie:

--- Quote from: RudolfoWood on August 17, 2009, 10:00:53 pm ---mattn is out of office for some days, so some radiant issues will stay unresolved.

--- End quote ---

Oh, thanks for letting me know he's afc and afi (away from com n internet)


--- Quote from: RudolfoWood on August 17, 2009, 10:00:53 pm ---for some of them I found solutions:
- that "undefined glGetError" seems to be a slightly wrong lib file (libopengl32.a) which defines a _glGetError instead - solved (for me) by creating a clean lib file from my opengl32.dll
- sound plugin not working: as stated on ml it is easy to remove the dependencies for now - I won't commit as long as no one requests this, because after mattn is back these will probably be added again
- missing dependency files (eg. timer.cpp/RadiantException.cpp) - these were solved by adding the files to build chains

only one known issue for me actually: shutdown process is not 100% bugfree - a shader listener tries to update texbrowser when shaders are removed, I think the gui is not valid at this time and so that update causes an segfault. (This is nothing which hinders radiant from working, I don't know whether my suggested solution is good: that update function could have some "shutting down" flag which prevents from updates. Another one could be remove the listener before shutting down the shaders).

Are there any other issues that I'm not aware of?

--- End quote ---

I am not really getting those errors.
Mine was : soundplayer.h file generating many strange declarations not found.....
Still cant resolve this as of this morning. -.-
Sigh.

Anyone who can help?
Or is there someway to compile w/o bothering with that file? (If its not critical).

Navigation

[0] Message Index

[#] Next page

Go to full version