Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Pages: [1] 2

Author Topic: Documentation & discusion about compilers ;)  (Read 2338 times)

Gogolian

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 10
    • View Profile
Documentation & discusion about compilers ;)
« on: May 24, 2008, 11:34:54 AM »

Can any one tell me where can i get OIS documentation/tutorials?
I know wiki is still down but maybe somewhere is offline version doc.
any help?
« Last Edit: May 26, 2008, 02:16:05 AM by Gogolian »
Logged
And the darkness begun...

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +1/-0
  • Posts: 2661
    • View Profile
    • http://www.wreckedgames.com
Re: Documentation
« Reply #1 on: May 24, 2008, 04:44:47 PM »

Use is pretty straight forward. Though, you can run Doxygen yourself to generate API docs easily. If you have any advanced questions (like making your own device type and/or factories) feel free to post here.
Logged

Gogolian

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 10
    • View Profile
Re: Documentation
« Reply #2 on: May 25, 2008, 05:32:57 AM »

Well i just wanted to get joystick input from OIS (and maybe keyboard mapping as well). For now i am fighting  with compiling everything in DevC++.
(static lib ok, dll ok but: "Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized", when compiling  demos same warning)
For now i get "Failed to Create Win32 Dialog" error i don't know why...
Well if anything get's better i'll write a post ;)

Maybe someone got some experience with compiling OIS with Devc++?
Logged
And the darkness begun...

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +1/-0
  • Posts: 2661
    • View Profile
    • http://www.wreckedgames.com
Re: Documentation
« Reply #3 on: May 25, 2008, 07:30:15 AM »

It might be easier to try Code::Blocks. Code::Blocks is a much better IDE than DevC++. However, if under Windows, you really should use the Free VC Express :)
Logged

Gogolian

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 10
    • View Profile
Re: Documentation
« Reply #4 on: May 25, 2008, 09:36:26 AM »

My first (easy) projects was in C++Builderand i got used to it.
Dev is good for me cause it's free and i know there won't be any restrictions in license.
I haven't try'ed CB yet, i think i should try.
Well about M$... maybe... I think i've done something in it (can't remember)

I'm trying to link OIS with Irrlicht but for now it is not working ;)
Even can't compile demos cause i get: "Failed to create Win32 Window Dialog!"
Searched for this problem but it looks like noone had it before me :(
Logged
And the darkness begun...

OvermindDL1

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 288
    • View Profile
    • http://www.overminddl1.com/forum/
Re: Documentation
« Reply #5 on: May 25, 2008, 01:51:28 PM »

There are no licensing issues with any of the compilers out there (yes, even Microsoft's VS Express) for free (as in money, open-source or not matters not), and for commercial apps there is no issue with any of them (except Microsoft's VS Express, you need the standard edition or higher for pay stuff).  No license of any C/C++ compiler propagates to the compiled applications.

Also, DevC++ is horrible, sorry to say but it really is; not compliant, tons of issues, the works...  Do not use it.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +1/-0
  • Posts: 2661
    • View Profile
    • http://www.wreckedgames.com
Re: Documentation
« Reply #6 on: May 25, 2008, 04:31:06 PM »

Sounds like it can't load the embedded Window's resource file. If you have code already which has a window (such as an Irrlicht demo) just take OIS code from the console demo and implement it with the HWND from you window. The code is actually very short and easy (most code in console demo is simply creating/handling windows).

Besides that, as far as I know even MS Express really has no license that states you can't build commercial binaries from it? If it does, I would love a link and snippet of EULA where it says that. But, yeah, DevC++ is outdated as far as I know, and sucks for solutions with multiple projects in it. But, I see no reason why you couldn't get it to work if you must. Just make sure resource file is properly embedded. At worst, you could create a Window without a resource file manually - require small change to console demo source.
Logged

OvermindDL1

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 288
    • View Profile
    • http://www.overminddl1.com/forum/
Re: Documentation
« Reply #7 on: May 25, 2008, 06:50:57 PM »

Just a side note I heard, unknown about accuracy, but better safe then sorry; I do not use the Express editions anyway as I get Pro thanks to my work. :)
Logged

Gogolian

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 10
    • View Profile
Re: Documentation & discusion about compilers ;)
« Reply #8 on: May 26, 2008, 02:31:29 AM »

well i will really try to use Code::Blocks instead of VS (in fact i already installed it and I'm trying to get used to main funcions, GUI, options ect... loks nice ;) )
Well you know M$ is 'moneymaking' company. There are 90% chance that it realy is free but with M$ you probably never know that for sure ;) At least for me - I won't risk.

Anyway Code:Blocks is realy nice and i think i'll stay with it for a little longer.

About Dev -> Yes, the last dev biuld is:
From official DevC++ site:
Code: [Select]
February 21th 2005 : Dev-C++ 5 Beta 9.2 (4.9.9.2) released !
Anyway it's last 'Bloodshead' news ;)
Yes, that was the problem, and i have always thinking of changing it to something newer but... ( :-[ :-[ :-[) ...i did'nt knew Code::Blocks ;)

About this App:
If i handle with it can i post this code somwhere here?
Logged
And the darkness begun...

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +1/-0
  • Posts: 2661
    • View Profile
    • http://www.wreckedgames.com
Re: Documentation & discusion about compilers ;)
« Reply #9 on: May 28, 2008, 07:12:34 AM »

You can post code here for now. Maybe a wiki will be put up soon, not sure though. If it is a large code demo, it is possible it could be put into cvs oisaddons.
Logged

Gogolian

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 10
    • View Profile
Re: Documentation & discusion about compilers ;)
« Reply #10 on: May 30, 2008, 05:25:09 AM »

Hey, I already managed to integrate Irrlicht with OIS (Or if you want: OIS with Irrlicht ;) ) But for now i is very dirty-coded. Unfortunarely i am having a lack of free time, i am ending computer sience school now and i have exams ;). But if i only manage few minutes (hours maybe ;) ) I will try to write a class for thease two.
Of course i will post it here, and at Irrlicht forum also. Will be free to use.
Logged
And the darkness begun...

OvermindDL1

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 288
    • View Profile
    • http://www.overminddl1.com/forum/
Re: Documentation & discusion about compilers ;)
« Reply #11 on: May 30, 2008, 11:59:14 PM »

OIS is pretty rendering system agnostic, so I am not sure where you are getting that there might be any issues, certainly nothing that would require a new class.  Just give OIS a window handle and start it up, no issues...
Logged

Gogolian

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 10
    • View Profile
Re: Documentation & discusion about compilers ;)
« Reply #12 on: May 31, 2008, 05:20:26 AM »

well maybe i did a little overcode... it is hard to use when you get no doc's or tutorials, just 2 simple examples. You can learn the basics of basics, not full funcionality.
Logged
And the darkness begun...

OvermindDL1

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 288
    • View Profile
    • http://www.overminddl1.com/forum/
Re: Documentation & discusion about compilers ;)
« Reply #13 on: June 01, 2008, 04:25:18 PM »

I thought the example apps with OIS were quite perfect, what is wrong with them?  They should be fixed if anything is not clear enough...
Logged

Gogolian

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 10
    • View Profile
Re: Documentation & discusion about compilers ;)
« Reply #14 on: June 04, 2008, 06:56:08 AM »

No, it's not that, they ARE clear, but after searching a little bit on forum i've seen different solutions of several things. I tought maybe something was written in wiki but if you say there are complete it means that thease solutions were written by pepole. I can't say what it was correctly (seen it some time ago, and don't want to search for it) but whatever.
In the end i want to say that OIS is really good ;) Was realy simple to put it working with irrlicht and seems to be "light" for whole app.
For now i've encountered one problem, my friend who have "Logitech Dual Action". He got swapped analogs
i've got axis[0] and axis[1] in left analog stick and axis[2], axis[3] on right. He have 0 and 1 in right and [3],[4] in left. Well for now i am just swapping axes when device has "Logitech Dual Action" name. This is temporary solution maybe someone know why is this happening ;)
Thanks Anyway.
Logged
And the darkness begun...
Pages: [1] 2