Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Compiling with Visual C++ 2005 Express  (Read 1738 times)

spline

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 2
    • View Profile
Compiling with Visual C++ 2005 Express
« on: May 04, 2006, 03:11:36 AM »

Hi
I think this engine looks very promising, and with all the great work you have been doing
i would like to maybe use it, as i am not really a programmer i am having problem compiling using Visual C++ 2005 Express, i can complile WGE and Game, but i am unable to
complile both sound systems is this due to using the Express edition .
this is the errors im having with OpenAlSoundSystem

------ Rebuild All started: Project: OpenAlSoundSystem, Configuration: Release Win32 ------
Deleting intermediate and output files for project 'OpenAlSoundSystem', configuration 'Release|Win32'
Compiling...
WGEOpenAlSoundSystem.cpp
c:\programming\ogre\WGE\trunk\includes\OpenAlSoundSystem\WGEOpenAlSoundSystem.h(94) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\programming\ogre\WGE\trunk\includes\OpenAlSoundSystem\WGEOpenAlSoundSystem.h(94) : error C2143: syntax error : missing ';' before '*'
c:\programming\ogre\WGE\trunk\includes\OpenAlSoundSystem\WGEOpenAlSoundSystem.h(94) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
..\src\OpenAlSoundSystem\WGEOpenAlSoundSystem.cpp(42) : error C2758: 'WGE::OpenAlSoundSystem::ALCchar' : must be initialized in constructor base/member initializer list
        c:\programming\ogre\WGE\trunk\includes\OpenAlSoundSystem\WGEOpenAlSoundSystem.h(94) : see declaration of 'WGE::OpenAlSoundSystem::ALCchar'
..\src\OpenAlSoundSystem\WGEOpenAlSoundSystem.cpp(47) : error C2065: 'DeviceName' : undeclared identifier
Build log was saved at "file://c:\programming\ogre\WGE\trunk\scripts\VC8Release\BuildLog.htm"
OpenAlSoundSystem - 5 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

it probably somthing im doing wrong, but please could you help thanx
keep up the great work :lol:
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling with Visual C++ 2005 Express
« Reply #1 on: May 04, 2006, 07:58:30 AM »

I don't think WGE is really at a stage where it is very useful for non-programmers.. There is still much work. But, if you really are interested in playing with it, then I am happy :)

DO you have the OpenAL SDK installed? These kind of errors are generally a missing header, though you didn't post any include errors :/

Perhaps, post you build log file.
Logged

mysterycoder

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 447
    • View Profile
Compiling with Visual C++ 2005 Express
« Reply #2 on: May 04, 2006, 09:28:48 AM »

Once you have the OpenAl SDK installed, make sure you add its include directories, and its lib directory, to the OpenAlSoundSystm project paths   :)
Logged

spline

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 2
    • View Profile
Compiling with Visual C++ 2005 Express
« Reply #3 on: May 15, 2006, 01:40:57 AM »

Hi, thanks for you help, iv got everything to compile except FmodSoundSystem were i have the following error
please could someone advise me



------ Build started: Project: FmodSoundSystem, Configuration: Release Win32 ------
Compiling...
WGEFmodSoundSystem.cpp
c:\ogre\WGE_\WGE\trunk\includes\FmodSoundSystem/WGEFmodSoundSystem.h(65) : error C2146: syntax error : missing ';' before identifier 'CustomStreamCallBack'
c:\ogre\WGE_\WGE\trunk\includes\FmodSoundSystem/WGEFmodSoundSystem.h(65) : error C2061: syntax error : identifier 'FSOUND_STREAM'
c:\ogre\WGE_\WGE\trunk\includes\FmodSoundSystem/WGEFmodSoundSystem.h(66) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\ogre\WGE_\WGE\trunk\includes\FmodSoundSystem/WGEFmodSoundSystem.h(66) : warning C4183: 'CustomStreamCallBack': missing return type; assumed to be a member function returning 'int'
c:\ogre\WGE_\WGE\trunk\includes\FmodSoundSystem/WGEFmodSoundSystem.h(69) : error C2143: syntax error : missing ';' before '*'
c:\ogre\WGE_\WGE\trunk\includes\FmodSoundSystem/WGEFmodSoundSystem.h(69) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\ogre\WGE_\WGE\trunk\includes\FmodSoundSystem/WGEFmodSoundSystem.h(69) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
..\src\FmodSoundSystem\WGEFmodSoundSystem.cpp(24) : fatal error C1083: Cannot open include file: 'fmoddyn.h': No such file or directory
Build log was saved at "file://c:\ogre\WGE_\WGE\trunk\scripts\VC8Release\BuildLog.htm"
FmodSoundSystem - 7 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


all the best spline
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Compiling with Visual C++ 2005 Express
« Reply #4 on: May 15, 2006, 08:28:52 AM »

WGE does not include the dependencies for a couple of things, namely (off the top of my head), Fmod and OpenAL SDK's. You can, however, freely download Fmod 3.7+ (What ever the latest one is, not FmodEx) and adjust your gloabal IDE settigns/directories/include/lib to reflect it's install location. Mainly, we do not redistribute those for legal purposes.

Also, if you have openAL sound system already built, you can just stick with that for now. As, the Fmod one is not all the way updated to where the openAL one is (Fmod Sound System cannot yet play samples, only streams).
Logged