Changeset 2687 for code/branches/buildsystem3/src/orxonox
- Timestamp:
- Feb 21, 2009, 12:20:23 AM (16 years ago)
- Location:
- code/branches/buildsystem3/src/orxonox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/orxonox/gamestates/GSGraphics.cc
r2685 r2687 305 305 // create our own log that we can listen to 306 306 Ogre::Log *myLog; 307 myLog = ogreLogger_->createLog(ogreLogFilepath. native_file_string(), true, false, false);307 myLog = ogreLogger_->createLog(ogreLogFilepath.file_string(), true, false, false); 308 308 COUT(4) << "Ogre Log created" << std::endl; 309 309 … … 315 315 // check for config file existence because Ogre displays (caught) exceptions if not 316 316 std::ifstream probe; 317 probe.open(ogreConfigFilepath. native_file_string().c_str());317 probe.open(ogreConfigFilepath.file_string().c_str()); 318 318 if (!probe) 319 319 { 320 320 // create a zero sized file 321 321 std::ofstream creator; 322 creator.open(ogreConfigFilepath. native_file_string().c_str());322 creator.open(ogreConfigFilepath.file_string().c_str()); 323 323 creator.close(); 324 324 } … … 327 327 328 328 // Leave plugins file empty. We're going to do that part manually later 329 ogreRoot_ = new Ogre::Root("", ogreConfigFilepath. native_file_string(), ogreLogFilepath.native_file_string());329 ogreRoot_ = new Ogre::Root("", ogreConfigFilepath.file_string(), ogreLogFilepath.file_string()); 330 330 331 331 COUT(3) << "Ogre set up done." << std::endl; … … 342 342 SubString plugins(ogrePlugins_, ",", " ", false, 92, false, 34, false, 40, 41, false, '\0'); 343 343 for (unsigned int i = 0; i < plugins.size(); ++i) 344 ogreRoot_->loadPlugin((folder / plugins[i]). native_file_string());344 ogreRoot_->loadPlugin((folder / plugins[i]).file_string()); 345 345 } 346 346 -
code/branches/buildsystem3/src/orxonox/gui/GUIManager.cc
r2685 r2687 153 153 boost::filesystem::path ceguiLogFilepath(Core::getLogPath() + "cegui.log"); 154 154 this->ceguiLogger_ = new DefaultLogger(); 155 this->ceguiLogger_->setLogFilename(ceguiLogFilepath. native_file_string());155 this->ceguiLogger_->setLogFilename(ceguiLogFilepath.file_string()); 156 156 // set the log level according to ours (translate by subtracting 1) 157 157 this->ceguiLogger_->setLoggingLevel(
Note: See TracChangeset
for help on using the changeset viewer.