New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest master compile error with ogre 1.8 #634

Closed
tritonas00 opened this Issue Jan 22, 2016 · 8 comments

Comments

Projects
None yet
4 participants
@tritonas00
Collaborator

tritonas00 commented Jan 22, 2016

Two days ago compiled fine but today i get http://pastebin.com/HLkY165X

@Speciesx

This comment has been minimized.

Show comment
Hide comment
@Speciesx

Speciesx Jan 22, 2016

Contributor

Compiling fine on Windows.

Contributor

Speciesx commented Jan 22, 2016

Compiling fine on Windows.

@Hiradur

This comment has been minimized.

Show comment
Hide comment
@Hiradur

Hiradur Jan 22, 2016

Contributor

no problems here
gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)

Travis CI (gcc 4.8) also had no problem

What compiler are you using?

Contributor

Hiradur commented Jan 22, 2016

no problems here
gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)

Travis CI (gcc 4.8) also had no problem

What compiler are you using?

@tritonas00

This comment has been minimized.

Show comment
Hide comment
@tritonas00

tritonas00 Jan 22, 2016

Collaborator

I tried from aur which uses ogre 1.9 and it builds fine. So an ogre 1.8 thing?

Collaborator

tritonas00 commented Jan 22, 2016

I tried from aur which uses ogre 1.9 and it builds fine. So an ogre 1.8 thing?

@tritonas00 tritonas00 changed the title from Latest master compile error to Latest master compile error with ogre 1.8 Jan 22, 2016

@tritonas00

This comment has been minimized.

Show comment
Hide comment
@tritonas00

tritonas00 Jan 22, 2016

Collaborator

Ok the problem is in this commit d963b6d

Removed lines from 679 to 720 here https://github.com/RigsOfRods/rigs-of-rods/blob/master/source/main/gameplay/RoRFrameListener.cpp#L679 and compiles again with ogre 1.8.

Collaborator

tritonas00 commented Jan 22, 2016

Ok the problem is in this commit d963b6d

Removed lines from 679 to 720 here https://github.com/RigsOfRods/rigs-of-rods/blob/master/source/main/gameplay/RoRFrameListener.cpp#L679 and compiles again with ogre 1.8.

@Hiradur Hiradur added the coding label Jan 25, 2016

@Hiradur

This comment has been minimized.

Show comment
Hide comment
@Hiradur

Hiradur Jan 25, 2016

Contributor

Ogre 1.8 is lacking toString for double so try String ssmsg = _L("New simulation speed: ") + TOSTRING(static_cast<float>(floor(mLastSimulationSpeed * 1000.0f) / 10.0f)) + "%";

Contributor

Hiradur commented Jan 25, 2016

Ogre 1.8 is lacking toString for double so try String ssmsg = _L("New simulation speed: ") + TOSTRING(static_cast<float>(floor(mLastSimulationSpeed * 1000.0f) / 10.0f)) + "%";

@tritonas00

This comment has been minimized.

Show comment
Hide comment
@tritonas00

tritonas00 Feb 2, 2016

Collaborator

Again with this 6d7bdee i get

/home/babis/Downloads/rigsofrods-next-build/rigsofrods/src/rigs-of-rods/source/configurator/Configurator.cpp: In function ‘void initLanguage(wxString, wxString)’:
/home/babis/Downloads/rigsofrods-next-build/rigsofrods/src/rigs-of-rods/source/configurator/Configurator.cpp:555:58: error: no matching function for call to ‘Ogre::ImprovedConfigFile::getSetting(const char [9])’
wxString langSavedName = conv(cfg.getSetting("Language"));

Collaborator

tritonas00 commented Feb 2, 2016

Again with this 6d7bdee i get

/home/babis/Downloads/rigsofrods-next-build/rigsofrods/src/rigs-of-rods/source/configurator/Configurator.cpp: In function ‘void initLanguage(wxString, wxString)’:
/home/babis/Downloads/rigsofrods-next-build/rigsofrods/src/rigs-of-rods/source/configurator/Configurator.cpp:555:58: error: no matching function for call to ‘Ogre::ImprovedConfigFile::getSetting(const char [9])’
wxString langSavedName = conv(cfg.getSetting("Language"));

@tritonas00 tritonas00 reopened this Feb 2, 2016

@AnotherFoxGuy

This comment has been minimized.

Show comment
Hide comment
@AnotherFoxGuy

AnotherFoxGuy Feb 2, 2016

Member

Also hapens on windows

D:\Jenkins\workspace\rigs-of-rods\source\configurator\Configurator.cpp(555): error C2661: 'RoR::ConfigFile::getSetting' : no overloaded function takes 1 arguments

full log: http://pastebin.com/raw/iG8TzCUQ

Member

AnotherFoxGuy commented Feb 2, 2016

Also hapens on windows

D:\Jenkins\workspace\rigs-of-rods\source\configurator\Configurator.cpp(555): error C2661: 'RoR::ConfigFile::getSetting' : no overloaded function takes 1 arguments

full log: http://pastebin.com/raw/iG8TzCUQ

@tritonas00

This comment has been minimized.

Show comment
Hide comment
@tritonas00

tritonas00 Feb 2, 2016

Collaborator

fixed in #704

Collaborator

tritonas00 commented Feb 2, 2016

fixed in #704

@tritonas00 tritonas00 closed this Feb 2, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment