On Mon, Apr 13, 2009 at 2:26 AM, Eeli Kaikkonen <eekai...@mail.student.oulu.fi> wrote: > Jonathan Marsden wrote: >> >> I'm seeing a problem building BT 2.0.alpha3 with the new 1.6.0RC1 SWORD >> library code. At this point I have no idea if this is my bad packaging, >> or an issue with the new library, or an issue with BT revealed by the >> new library. >> >> Jonathan >> >> --------------------------------------------------------------------- > >> >> /home/jonathan/packages/sword/bibletime/export-rc1/src/backend/managers/cswordbackend.cpp: >> In member function ‘void >> CSwordBackend::reloadModules(CSwordBackend::SetupChangedReason)’: >> >> /home/jonathan/packages/sword/bibletime/export-rc1/src/backend/managers/cswordbackend.cpp:498: >> error: ‘sysconfig’ was not declared in this scope > > > 'sysconfig' is used in our CSwordBackend class which inherits SWMgr. > sysconfig is, as far as I know, a public data member of SWMgr. Here's the > code: > > /** Reload all Sword modules. */ > void CSwordBackend::reloadModules(SetupChangedReason reason) { > shutdownModules(); > > //delete Sword's config to make Sword reload it! > > if (myconfig) { // force reload on config object because we may have > changed the paths > delete myconfig; > config = myconfig = 0; > // we need to call findConfig to make sure that augPaths are > reloaded > findConfig(&configType, &prefixPath, &configPath, &augPaths, > sysconfig); > // now re-read module configuration files > loadConfigDir(configPath); > } > else if (config) { > config->Load(); > } > > initModules(reason); > } > > It reloads the sword config in case it has been changed, e.g. the module > data paths have been changed. I hope someone could help - I haven't written > this and mgruner was the last one to edit this.
See Troy's response to my message - he's changed the casing from sysconfig to sysConfig. That should solve the issue. --Greg > > --Eeli Kaikkonen > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page