Code::Blocks Forums

User forums => Help => Topic started by: aftabnaveed on October 25, 2006, 07:47:46 pm

Title: [SOLVED]RPM For Fedora Core 5
Post by: aftabnaveed on October 25, 2006, 07:47:46 pm
Hi
   I recently switched to Linux ( Fedora Core 5) from WindowsXP and I thinks it has been a tough but good experience for me,
   by the way, I want to Integrate OGRE3D Engine With Code::Blocks ( because they officaly support it ) But Where Can I find the RPMs for Fedora Core 5 , I have searched the Internet but was not successfull.
Can Some Body Please Help me
Title: Re: RPM For Fedora Core 5
Post by: _teo_ on October 25, 2006, 08:11:00 pm
The 25 October 2006 build:
http://prdownload.berlios.de/codeblocks/CB_20061025_rev3145_fc4+5.rpm
Title: Re: RPM For Fedora Core 5
Post by: stahta01 on October 25, 2006, 08:51:04 pm
See this thread
http://forums.codeblocks.org/index.php?topic=4299.0

Edit: see also http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks
Edit: see also http://developer.berlios.de/project/showfiles.php?group_id=5358

Note: The Unicode window build is done first (Next is ANSI window build) then the various Linux builds; last but not least the Mac build is done. This is based on past experience.

Tim S
Title: Re: RPM For Fedora Core 5
Post by: PsYhLo on October 25, 2006, 09:10:12 pm
I think he wants find RPM packages for OGRE 3D
for some reason there is no such of packages

aftabnaveed you'll have to compile your self a OGRE package


sorry for my bad english
Title: Re: RPM For Fedora Core 5
Post by: rcoll on October 25, 2006, 09:22:09 pm
The 25 October 2006 build:
http://prdownload.berlios.de/codeblocks/CB_20061025_rev3145_fc4+5.rpm

Whenever I try to download these RPMs (any of them) I always get a message
from berlios that "file does not exist".  This is not just for this build, but for all
builds (I just tried one from several days ago, and it did not work).

Am I doing something wrong?

Cheers,
Ron
Title: Re: RPM For Fedora Core 5
Post by: stahta01 on October 25, 2006, 09:38:37 pm
Sorry, did not state the Linux builds can take days to get put up; normally it just takes hours for Ubuntu, but I have not watched the others. Note: The link I posted shows which ones are there now.

Tim S
Title: Re: RPM For Fedora Core 5
Post by: rcoll on October 25, 2006, 09:40:57 pm
OK ... got it.   For some reason the berlios links on their download pages are not always
up-to-date.

It is easiest just to go to the listing page at

http://developer.berlios.de/project/showfiles.php?group_id=5358 (http://developer.berlios.de/project/showfiles.php?group_id=5358)

and select what you want to download from there.

Cheers,
Ron
Title: Re: RPM For Fedora Core 5
Post by: _teo_ on October 25, 2006, 11:20:07 pm
The 25 October 2006 build:
http://prdownload.berlios.de/codeblocks/CB_20061025_rev3145_fc4+5.rpm

Whenever I try to download these RPMs (any of them) I always get a message
from berlios that "file does not exist".  This is not just for this build, but for all
builds (I just tried one from several days ago, and it did not work).

Am I doing something wrong?

Cheers,
Ron
You may try clicking with right button and use "Save as...". I noticed that several times.
Title: Re: RPM For Fedora Core 5
Post by: aftabnaveed on October 27, 2006, 07:36:58 pm
Thanks for every one's help, and quick response, I got the RPM and it worked for me,
As PsYhLo said that I Want an OGRE3D build, I have already build the OGRE3D from source,
The Other Question is now how can I add path for the Ogre3D library it asks me For OgreSDK and OGRE Source, as I said I built OGRE From source so I choos the OGRE source option,  But Where can I Select or Add the Include and Library Files for a given project Or any Project and for any Library, thanks in advance
Title: Re: RPM For Fedora Core 5
Post by: Pecan on October 27, 2006, 07:55:41 pm
Thanks for every one's help, and quick response, I got the RPM and it worked for me,
As PsYhLo said that I Want an OGRE3D build, I have already build the OGRE3D from source,
The Other Question is now how can I add path for the Ogre3D library it asks me For OgreSDK and OGRE Source, as I said I built OGRE From source so I choos the OGRE source option,  But Where can I Select or Add the Include and Library Files for a given project Or any Project and for any Library, thanks in advance

 Global_compiler_variables in wiki (http://wiki.codeblocks.org/index.php?title=Global_compiler_variables&codeblo_wiki_session=cbb812b534017ba52511956a912e2134)

Menu=>Project =>Build Options=>Directories

Title: Re: RPM For Fedora Core 5
Post by: aftabnaveed on October 29, 2006, 03:08:22 pm
Thankyou for your reply, I got your point and tried to implement it, but it didn't solved my problem, The IDE detects my Header Files, But It give me error

Code
-------------- Build: Debug in cbogre01 ---------------
Linking console executable: ./cbogre01
Package ogre was not found in the pkg-config search path.
Perhaps you should add the directory containing `ogre.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ogre' found
/usr/bin/ld: cannot find -lOgreMain_d
collect2: ld returned 1 exit status

Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
Please help me i don't understand what does this mean, probably some linkage problem, but I don't how to solve this problem because i am new to linux.
 
Title: Re: RPM For Fedora Core 5
Post by: thomas on October 29, 2006, 03:52:54 pm
Perhaps you should add the directory containing `ogre.pc'
to the PKG_CONFIG_PATH environment variable
Have you tried which ogre.pc or anything of that kind (find / -name ogre.pc if nothing else helps) and adding the path that you get as PKG_CONFIG_PATH to the EnvVar Plugin?
Title: Re: RPM For Fedora Core 5
Post by: aftabnaveed on October 29, 2006, 04:22:39 pm
Where can I find the EnvVar plugin I am not able to see it in plugins menu....
Title: Re: RPM For Fedora Core 5
Post by: thomas on October 29, 2006, 04:36:02 pm
Setting --> Environment, then scroll down until it shows up.

It is a contrib plugin btw., so if you compile without contribs, it won't be there.
Title: Re: [SOLVED]RPM For Fedora Core 5
Post by: aftabnaveed on October 31, 2006, 07:43:22 am
Thanks to all for contribution
  I have found the Environment Variables in Settings>Environment and to the Left of the Dialog Environment Variables

and Set the Path For my Libraries
Thanks again