wgois / OIS

Official OIS repository. Object oriented Input System
https://wgois.github.io/OIS/
zlib License
254 stars 86 forks source link

Question about .lib: OIS.lib and OIS_d.lib #87

Closed professor-oats closed 11 months ago

professor-oats commented 11 months ago

Hello!

Thank you very much for this repository. I am going forward with some tutorials for OGRE and situation has it that I would like to link libraries from OIS into the project.

I am building with CMAKE and make sure to export all files (resolve all symbols for Win) and still can't find the .lib files.

I am in the start of this journey so if you have guidance on how to get .lib I will be glad of your help. I will attach a print of the errorlist when building the OIS through MCVS.

errorlist

Ybalrid commented 11 months ago

Hi, you need to build the OIS source code in Visual studio too, in both Release and Debug configurations

Ybalrid commented 11 months ago

Tho I am curious what tutorial are you following. I would guess modern OGRE tutorials might just use SDL2 instead of OIS?

professor-oats commented 11 months ago

Hello! Yes, you are perfectly right. I built it in the correct way now and made sure to do it against each configurations. It works.

Also here you are right - it's an old book I found which is a good complement for the rest of the sources and the modern versions use SDL2.

Now I have options and I may do SDL2 when following the book as well.

Your comment made me realise where I was wrong building.

Thanks!