| View previous topic :: View next topic |
| Author |
Message |
domeniko
Joined: 03 Dec 2007 Posts: 11
|
Posted: Wed May 14, 2008 2:43 pm Post subject: installation openmask4, incompatibility with OIS v1.2? |
|
|
hi all
i have tried to install openmask4 and i get the following error:
| Code: | [ 1%] Built target ANTLR
[ 59%] Built target Wm4Foundation
[ 61%] Built target DotSceneInterface
[ 61%] Built target HBT
[ 75%] Built target OMK
[ 76%] Built target OMKSimpleLoader
[ 76%] Built target OMKReferenceApplication
[ 80%] Built target OMKVis
[ 84%] Built target OMKInteraction
[ 84%] Building CXX object Source/Inputs/Source/CMakeFiles/OMKInputs.dir/OMKInputExtension.o
/home/domenico/development/openmask4/OpenMASK/Source/Inputs/Source/OMKInputExtension.cpp: In member function ‘void OMK::Inp::InputExtension::initOIS()’:
/home/domenico/development/openmask4/OpenMASK/Source/Inputs/Source/OMKInputExtension.cpp:154: error: ‘class OIS::InputManager’ has no member named ‘numKeyboards’
/home/domenico/development/openmask4/OpenMASK/Source/Inputs/Source/OMKInputExtension.cpp:167: error: ‘class OIS::InputManager’ has no member named ‘numMice’
/home/domenico/development/openmask4/OpenMASK/Source/Inputs/Source/OMKInputExtension.cpp:190: error: ‘class OIS::InputManager’ has no member named ‘numJoySticks’
/home/domenico/development/openmask4/OpenMASK/Source/Inputs/Source/OMKInputExtension.cpp:194: error: ‘class OIS::InputManager’ has no member named ‘numJoySticks’
make[2]: *** [Source/Inputs/Source/CMakeFiles/OMKInputs.dir/OMKInputExtension.o] Error 1
make[1]: *** [Source/Inputs/Source/CMakeFiles/OMKInputs.dir/all] Error 2
make: *** [all] Error 2
|
from http://openmask.org/forum/viewtopic.php?t=14&postdays=0&postorder=asc&start=0
i understand that it's a problem of compatibility with the version of OIS, but unlike the person in the french thread linked above, i have installed a major version of OIS (v1.2)
in fact in my machine i have previously installed the latest version of both ois and ogre (1.4. ...
what should i do?. |
|
| Back to top |
|
 |
xlarrode Site Admin
Joined: 24 Sep 2007 Posts: 80 Location: Bruxelles
|
Posted: Wed May 14, 2008 6:24 pm Post subject: |
|
|
Actually it's also a problem of compatibility with the OIS version.
In the 1.0RC1 version it was :
| Code: | | _inputSystem->numKeyBoards() |
In the 1.0 :
| Code: | | _inputSystem->numKeyboards() |
In the 1.2
| Code: | | _inputSystem->getNumberOfDevices(OIS::OISKeyboard) |
If you have downloaded the last OpenMASK version it's like this :
| Code: | if( 0 < _inputSystem->numKeyboards() )
// Future OIS Version
// if( 0 < _inputSystem->getNumberOfDevices(OIS::OISKeyboard) ) |
So you just need to do : | Code: |
//Old version 1.0
//if( 0 < _inputSystem->numKeyboards() )
if( 0 < _inputSystem->getNumberOfDevices(OIS::OISKeyboard) ) |
Sorry about that... |
|
| Back to top |
|
 |
domeniko
Joined: 03 Dec 2007 Posts: 11
|
Posted: Wed May 14, 2008 10:47 pm Post subject: |
|
|
thanks! it worked!
may i suggest you to update the package allinone_ogre etc. including the new version of OIS?
in this way you could distribute already the version of the file OMKInputExtensions.cpp supporting the new syntax and solve the problem of broken compatibility... |
|
| Back to top |
|
 |
qingimiss
Joined: 09 Mar 2010 Posts: 13
|
Posted: Mon Apr 19, 2010 8:56 am Post subject: wedding |
|
|
| Putting together documentation for family histories has become a very popular activity. hair extensions The difference between placing photos in an album and lace front wigs creating a scrapbook is that the latter combines words and feelings with photographs and other pieces of memorabilia. dress up games It thus becomes a timeless treasure, a family heirloom. bridesmaid dresses Learn why brides and grooms are so wedding invitation wording excited about sharing the story of the beginning of their new family. |
|
| Back to top |
|
 |
qingimiss
Joined: 09 Mar 2010 Posts: 13
|
|
| Back to top |
|
 |
qingimiss
Joined: 09 Mar 2010 Posts: 13
|
|
| Back to top |
|
 |
qingimiss
Joined: 09 Mar 2010 Posts: 13
|
|
| Back to top |
|
 |
bobkerry
Joined: 10 Jul 2010 Posts: 4
|
Posted: Sat Jul 10, 2010 8:07 pm Post subject: downloading issue |
|
|
| hey you can resolve your downloding issue by reading the manual....it can proeprly guide you and you can work better/. |
|
| Back to top |
|
 |
|