How to make a first contribution correctly

Everything about development and the OpenMW source code.
loic
Posts: 16
Joined: 07 May 2012, 10:41

How to make a first contribution correctly

Post by loic »

Hello,

I have created this post because, I don't understand how to correctly create, configure, etc...
the git project, for contribution ( I have just for now get the git project, and build the source for launch the game).

I saw on this post, http://openmw.org/forum/viewtopic.php?f=22&t=667, the
manner to do, but I don't understand the difference between the fork and clone,

I must fork the git://github.com/zinnschlag/openmw.git and after that clone the project,
but it is not the same thing ?

Thank you

Loic
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: How to make a first contribution correctly

Post by scrawl »

Yes, there's a difference.

"Fork" refers to the repository that will appear on your github account after you have clicked the fork button on zinnschlag's repo.

"cloning" means creating a local working copy of a remote repository (in this case, the forked repo)
loic
Posts: 16
Joined: 07 May 2012, 10:41

Re: How to make a first contribution correctly

Post by loic »

scrawl wrote:Yes, there's a difference.

"Fork" refers to the repository that will appear on your github account after you have clicked the fork button on zinnschlag's repo.

"cloning" means creating a local working copy of a remote repository (in this case, the forked repo)
Ok, I understand, thank you.
loic
Posts: 16
Joined: 07 May 2012, 10:41

Re: How to make a first contribution correctly

Post by loic »

Actually I'am working on Fedora 16,

it seem that in the openmw wiki (Development Environment Setup - Fedora)
the package mygui-devel is missing.

After installation of this package I can launch cmake and make,
but I have this new problem with make in the beginning :

components/bsa/bsa_archive.cpp:310:22: error: invalid conversion from ‘const Ogre::Archive*’ to ‘Ogre::Archive*’ [-fpermissive].

For what I understand a cast from const* to * with -fpermissive option cannot work ?

Loic
edmondo
Posts: 36
Joined: 14 May 2012, 14:04
Contact:

Re: How to make a first contribution correctly

Post by edmondo »

Which Ogre version are you using?
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: How to make a first contribution correctly

Post by scrawl »

That error is definitely because of wrong ogre version, you must use exactly 1.8 RC1
loic
Posts: 16
Joined: 07 May 2012, 10:41

Re: How to make a first contribution correctly

Post by loic »

scrawl wrote:That error is definitely because of wrong ogre version, you must use exactly 1.8 RC1
Yes, Unfortunately in my fedora the package is 1.7.3, I didn't see that, sorry.
So logically, I must install ogre from source(1.8RC1), and not with the package from fedora. (maybe we can add that on wiki ?).
edmondo
Posts: 36
Joined: 14 May 2012, 14:04
Contact:

Re: How to make a first contribution correctly

Post by edmondo »

loic wrote:So logically, I must install ogre from source(1.8RC1), and not with the package from fedora. (maybe we can add that on wiki ?).
It's already in wiki. You can find useful information here:
http://openmw.org/wiki/index.php?title= ... ment_Setup
loic
Posts: 16
Joined: 07 May 2012, 10:41

Re: How to make a first contribution correctly

Post by loic »

edmondo wrote:
loic wrote:So logically, I must install ogre from source(1.8RC1), and not with the package from fedora. (maybe we can add that on wiki ?).
It's already in wiki. You can find useful information here:
http://openmw.org/wiki/index.php?title= ... ment_Setup
Yes, but unfortunately in the wiki you install the package of ogre-devel( yum install ... ogre-devel ... ), who install the version 1.7.3 (Fedora 16), and it seem we need the version 1.8RC1 ? or maybe I have misunderstood something in the wiki ?
loic
Posts: 16
Joined: 07 May 2012, 10:41

Re: How to make a first contribution correctly

Post by loic »

I see that in the beginning of the wiki page, we have Third-Party Libraries and Tools section
who say : OGRE 1.8rc1.x - the main graphic engine, so I think we must not install the package
ogre-devel (Version 1.7.3) ? in Fedora section of wiki.
Post Reply