current source state? (Akari?)

  • Thread starter Thread starter Cyberman
  • Start date Start date
Status
Not open for further replies.
Ok, I'll discuss this with Akari on Monday, and we'll try to move new sources to SVN.
It would be great, if you can devote some time to the project.
So as soon as possible, it would be new sources on sourceforge.
Thanks man. I didn't mean to come off the wrong way. I'll start going over the wiki and gears doc.
 
Ok sounds good Akari. What is your tool chain by the way? Are you using DEVC++ with Ogre libraries under windows?

Cyb
 
Ok sounds good Akari. What is your tool chain by the way? Are you using DEVC++ with Ogre libraries under windows?
Akari is using MinGW toolchain and he is developing using CodeBlocks IDE under windows. DevCpp is abandoned for over a year.
From my side, I can guarantee, that current codebase is compiling and working with gcc-4.2.3 (latest on Ubuntu Hardy) on Linux.
I was figuring on developing on linux so if there's a makefile hanging around that would be a pretty sweet deal too.
Currently I am using CodeBlocks for Linux too, it speeds up development process. For now there isn't autotools scripts, so there isn't
any makefiles created. You can use my project file for CodeBlocks, or I can create autotools scripts for project
(however autoconf scripts would be separated from source tree, because Akari don't like Makefile.* in src directory :) ).
 
I can guarantee, that current codebase is compiling and working with gcc-4.2.3 (latest on Ubuntu Hardy) on Linux.
Sweet that sounds great to me.

Currently I am using CodeBlocks for Linux too, it speeds up development process. For now there isn't autotools scripts, so there isn't
any makefiles created. You can use my project file for CodeBlocks, or I can create autotools scripts for project
(however autoconf scripts would be separated from source tree, because Akari don't like Makefile.* in src directory :) ).
I can give CodeBlocks for linux a shot and if worse comes to worse I can just maintain my own simple makefile.
 
Safe to expect source to work from after the alpha 3 release?
I upload source from 3rd alpha to SVN. If someone will use it - I continue to upload, otherwise next upload will be with 4th alpha.

Screen from 3rd alpha:
00013s23
 
I check sourceforge svn and didn't see the update. Is there a different source repository. that i'm missing?
 
I check sourceforge svn and didn't see the update. Is there a different source repository. that i'm missing?
I didn't say 3rd alpha is finished =)
 
I've got final alpha3 sources yesterday from Akari. They are added to SVN now.
Old sources were branched to branches/old_source, new sources are in trunk, as there is right place for them.
Old sources are deprecated and unsupported, however I'll use them sometime when there would be need to test some generic things with sound.
As it was stated earlier, codeblocks is the only build system supported for now.
To begin hacking you need to copy common/linux/qgears.cbp or common/windows/qgears.cbp to root project directory.
For windows compilation you need a huge set of external headers/libraries. A ready set of libraries for linkage you can get either from me or Akari (of course they are not on svn).
For linux compilation and running you need to install all required dependencies, and make symlink /usr/lib/OGRE/RenderSystem_GL.so -> output (or change "Plugin Folder" in "output/plugins.cfg").
Here is list of needed libraries:
libogre
libboost_thread
iconv
libogg
libvorbisfile
libxml5
liblua-5.1 (5.0 version is unsupported)
zlib

Note: win32 default build of libvorbis on the net is broken, as it doesn't export essential function for proper vorbis decoding. Request it, and I'll upload correct build somewhere.
I'll try to create readme file with detail information how to build project, but later.

Happy Hacking! :)
 
And once again the SVN is full of Squeenix IP...
Developing a new engine for their game is a grey area, but if you distribute their copyrighted material they have every right to shut you down.

And no, just because it's in a different format does not make it legal.
 
Looks like some source is missing from Core.
XmlFile.h
ModuleManager.h
Module.h

Unless of course I'm doing something wrong.
 
Awesome on that front.
Just a weird issue with CodeBlocks. I have all the vorbisfile includes/libs yet codeblocks isn't picking them up when linking. It's using the proper `pkg-config --libs vorbisfile` and when run in a terminal it spits out the right "-lvorbisfile". I tried adding /usr/include/vorbis to the includes for the project hoping that would help, but not so. Ubuntu Hardy CodeBlocks 8.02

Any advice?
 
I guess here is the problem, my `pkg-config --libs vorbisfile` output is "-lvorbisfile -lvorbis -lm -logg", same system as your, libvorbis-dev-1.2.0.dfsg-2
Instead of adding `pkg-config --libs vorbisfile` as parameter to compiler, you can try to add
vorbisfile
vorbis
m
ogg
To "Linker Settings" section of Build options.
 
I fixed the package issue. I used a different version of vorbisfile because of another project I was working on with some friends. I redid that package and fixed a couple unrelated others but still the issue persists and pkg-config pops right list.
 
Code: [Select]
Code:
obj/Debug/src/core/sound/SoundEngine.o||In function `SoundEngine::FillBuffer(SoundEngine::Channel&, unsigned int)':|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|497|undefined reference to `ov_read'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|521|undefined reference to `ov_time_seek'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|543|undefined reference to `alBufferData'|obj/Debug/src/core/sound/SoundEngine.o||In function `SoundEngine::StopChannel(SoundEngine::Channel&)':|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|425|undefined reference to `alSourceStop'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|429|undefined reference to `alGetSourcei'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|435|undefined reference to `alSourceUnqueueBuffers'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|436|undefined reference to `alDeleteBuffers'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|440|undefined reference to `alDeleteSources'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|443|undefined reference to `ov_clear'|obj/Debug/src/core/sound/SoundEngine.o||In function `SoundEngine::RefreshBuffers(SoundEngine::Channel&)':|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|555|undefined reference to `alGetSourcei'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|560|undefined reference to `alSourceUnqueueBuffers'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|570|undefined reference to `alSourceQueueBuffers'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|577|undefined reference to `alGetSourcei'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|581|undefined reference to `alGetSourcei'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|589|undefined reference to `alSourcePlay'|obj/Debug/src/core/sound/SoundEngine.o||In function `SoundEngine::OpenALalcError(ALCdevice_struct const*)':|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|395|undefined reference to `alcGetError'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|402|undefined reference to `alcGetString'|obj/Debug/src/core/sound/SoundEngine.o||In function `SoundEngine::OpenALalError()':|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|373|undefined reference to `alGetError'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|379|undefined reference to `alGetString'|obj/Debug/src/core/sound/SoundEngine.o||In function `SoundEngine::OpenALFree()':|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|361|undefined reference to `alcMakeContextCurrent'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|363|undefined reference to `alcDestroyContext'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|365|undefined reference to `alcCloseDevice'|obj/Debug/src/core/sound/SoundEngine.o||In function `SoundEngine::OpenALInit()':|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|331|undefined reference to `alcOpenDevice'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|339|undefined reference to `alcCreateContext'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|345|undefined reference to `alcMakeContextCurrent'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|348|undefined reference to `alListenerfv'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|349|undefined reference to `alListenerfv'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|350|undefined reference to `alListenerfv'|obj/Debug/src/core/sound/SoundEngine.o||In function `SoundEngine::PauseSound(unsigned int, bool)':|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|263|undefined reference to `alSourcePause'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|265|undefined reference to `alSourcePlay'|obj/Debug/src/core/sound/SoundEngine.o||In function `SoundEngine::PlaySoundA(int)':|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|176|undefined reference to `ov_fopen'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|180|undefined reference to `ov_info'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|189|undefined reference to `alGenSources'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|193|undefined reference to `alGenBuffers'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|196|undefined reference to `alSourcei'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|202|undefined reference to `alSourceQueueBuffers'|/home/bryce/QGears/q-gears/trunk/src/core/sound/SoundEngine.cpp|206|undefined reference to `alSourcePlay'|||=== Build finished: 37 errors, 0 warnings ===|
I figure the error is something dumb that i'm misssing

**Fixed**
I knew it was something stupid I forgot to restart CodeBocks after I fixed vorbisfile and installed openal which i forgot to install initially.
 
Last edited:
Status
Not open for further replies.
Back
Top