Thrive Game Development
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Thrive Game Development

Development of the evolution game Thrive.
 
HomeHome  PortalPortal  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Welcome new and returning members!
If you're new, read around a bit before you post: the odds are we've already covered your suggestion.
If you want to join the development team, sign up and tell us why.
ADMIN is pleased to note that this marquee has finally been updated.
ADMIN reminds you that the Devblog is REQUIRED reading.
Currently: The Microbe Stage GUI is under heavy development
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Quick Links
Website
/r/thrive
GitHub
FAQs
Wiki
New Posts
Search
 
 

Display results as :
 
Rechercher Advanced Search
Statistics
We have 1675 registered users
The newest registered user is dejo123

Our users have posted a total of 30851 messages in 1411 subjects
Who is online?
In total there are 10 users online :: 0 Registered, 0 Hidden and 10 Guests

None

Most users ever online was 443 on Sun Mar 17, 2013 5:41 pm
Latest topics
» THIS FORUM IS NOW OBSOLETE
Build system discussion - Page 4 Emptyby NickTheNick Sat Sep 26, 2015 10:26 pm

» To all the people who come here looking for thrive.
Build system discussion - Page 4 Emptyby NickTheNick Sat Sep 26, 2015 10:22 pm

» Build Error Code::Blocks / CMake
Build system discussion - Page 4 Emptyby crovea Tue Jul 28, 2015 5:28 pm

» Hello! I can translate in japanese
Build system discussion - Page 4 Emptyby tjwhale Thu Jul 02, 2015 7:23 pm

» On Leave (Offline thread)
Build system discussion - Page 4 Emptyby NickTheNick Wed Jul 01, 2015 12:20 am

» Devblog #14: A Brave New Forum
Build system discussion - Page 4 Emptyby NickTheNick Mon Jun 29, 2015 4:49 am

» Application for Programmer
Build system discussion - Page 4 Emptyby crovea Fri Jun 26, 2015 11:14 am

» Re-Reapplication
Build system discussion - Page 4 Emptyby The Creator Thu Jun 25, 2015 10:57 pm

» Application (programming)
Build system discussion - Page 4 Emptyby crovea Tue Jun 23, 2015 8:00 am

» Achieving Sapience
Build system discussion - Page 4 Emptyby MitochondriaBox Sun Jun 21, 2015 7:03 pm

» Microbe Stage GDD
Build system discussion - Page 4 Emptyby tjwhale Sat Jun 20, 2015 3:44 pm

» Application for Programmer/ Theorist
Build system discussion - Page 4 Emptyby tjwhale Wed Jun 17, 2015 9:56 am

» Application for a 3D Modeler.
Build system discussion - Page 4 Emptyby Kaiju4u Wed Jun 10, 2015 11:16 am

» Presentation
Build system discussion - Page 4 Emptyby Othithu Tue Jun 02, 2015 10:38 am

» Application of Sorts
Build system discussion - Page 4 Emptyby crovea Sun May 31, 2015 5:06 pm

» want to contribute
Build system discussion - Page 4 Emptyby Renzope Sun May 31, 2015 12:58 pm

» Music List Thread (Post New Themes Here)
Build system discussion - Page 4 Emptyby Oliveriver Thu May 28, 2015 1:06 pm

» Application: English-Spanish translator
Build system discussion - Page 4 Emptyby Renzope Tue May 26, 2015 1:53 pm

» Want to be promoter or project manager
Build system discussion - Page 4 Emptyby TheBudderBros Sun May 24, 2015 9:00 pm

» A new round of Forum Revamps!
Build system discussion - Page 4 Emptyby Oliveriver Wed May 20, 2015 11:32 am


 

 Build system discussion

Go down 
+4
~sciocont
Daniferrito
Nimbal
Seregon
8 posters
Go to page : Previous  1, 2, 3, 4
AuthorMessage
Nimbal
Programming Team lead



Posts : 258
Reputation : 24
Join date : 2013-03-17
Age : 40
Location : Ratingen, Germany

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptyMon May 13, 2013 2:16 am

untrustedlife wrote:
Ok guys, I wish to start helping, do I just follow the main post like I did before or was there a change?
Great to hear that! As Dani already said, you can follow the readme.txt in the mingw_setup subfolder of the repository. If there are any problems, let me know.

Daniferrito wrote:

The documentation with doxygen is awesome, once you get it working. There is probably a better way ...
There should be a new build target named "doc". If Code::Blocks didn't pick it up, re-run CMake and make sure that DOXYGEN_EXECUTABLE is set correctly. Note that this may overwrite the changes you made to your install target. I'll see if I can add a target like "install & run", but I'm not sure this is possible in a clean way. Oh, and you probably have to revert the changes you made to doxygen.cfg.in. The paths you edited will be filled in by CMake.
Back to top Go down
Daniferrito
Experienced
Daniferrito


Posts : 726
Reputation : 70
Join date : 2012-10-10
Age : 30
Location : Spain

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptyMon May 13, 2013 6:05 am

That makes quite a lot of sense. I'm on my phone right now, but i dont see any option for doxigex executable, only doc output dir.

When i get home, i'll fo a full reinstalation to see if i can set up doxygen on cmake. That would be this afternoon.
Back to top Go down
Nimbal
Programming Team lead



Posts : 258
Reputation : 24
Join date : 2013-03-17
Age : 40
Location : Ratingen, Germany

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptyMon May 13, 2013 6:08 am

Try and check the "Advanced" checkbox to see DOXYGEN_EXECUTABLE.
Back to top Go down
Daniferrito
Experienced
Daniferrito


Posts : 726
Reputation : 70
Join date : 2012-10-10
Age : 30
Location : Spain

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptyMon May 13, 2013 6:29 am

It is showing under advanced. Ill try it when i get home.
Back to top Go down
Daniferrito
Experienced
Daniferrito


Posts : 726
Reputation : 70
Join date : 2012-10-10
Age : 30
Location : Spain

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptyTue May 14, 2013 7:53 am

We solved this on the IRL, just for anybody wondering.

I just pushed into the repo, inside the branch Physics, the scripts to add the Physics engine bullet and the sound library irrKlang into Thrive. They are still WIP, but i'm working on it. All it does for now is download the libraries and make them avaible for the game, I still have to implement them into the engine.

However, there is something i've done that could be interesting. I seted it up so on startup it will load Thrive's main theme and play it on a loop. At least to show off that it is working. I'm currently uploading it, i'll post it in about 30 mins.
Back to top Go down
Nimbal
Programming Team lead



Posts : 258
Reputation : 24
Join date : 2013-03-17
Age : 40
Location : Ratingen, Germany

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptyTue May 14, 2013 7:58 am

I guess the sound systems can be put into the OgreEngine class. That way, sound and graphics should always fit reasonably well together (no delays due to unlucky thread scheduling) and I don't think the sound engine is heavy-weight enough to warrant its own dedicated thread.

(This discussion may be better in the Engine Architecture thread, but you mentioned it here)
Back to top Go down
crovea
Programming Team lead
crovea


Posts : 310
Reputation : 59
Join date : 2013-10-07
Age : 34
Location : Denmark

Build system discussion - Page 4 Empty
PostSubject: Build problems!   Build system discussion - Page 4 EmptyMon Oct 07, 2013 9:33 am

Hey new programmer interrested in getting involved here!

I forked the prototype repo and have been following the readme in the mingw_setup directory but am having some trouble at step 6.6

I noticed RodGame had a very similar problem to mine on page 2 of this post (although mine does not complain about the two variables his did) but couldn't find any solution to the specific problem.

My cmake gui variables window have the following variables:

Code:
CMAKE_BUILD_TYPE
CMAKE_CODEBLOCKS_EXECUTABLE    CMAKE_CODEBLOCKS_EXECUTABLE-NOTFOUND
CMAKE_INSTALL_PREFIX           C:/Program Files (x86)/Thrive
OGRE_SDK                       B:/MinGW/OgreSDK
CMAKE_TOOLCHAIN_FILE           B:/MinGW/cmake/toolchain.cmake
The codeblocks executable seem to have some trouble, i tried specifying my codeblocks.exe, but after clicking configure it states its missing again.
As you can see, i use my B drive for most things (altough the i have the repo itself on my D drive), and i never use my C drive, so im not sure why it's using my cdrive fro the install prefix.

I only have very little experience with cmake WinGW and codeblocks so besides the fruitless search i did for similar problems i'm not sure how to fix these errors atm. Hoping one of you guys could make the process a little more pain free!

The cmake error:
Code:
The C compiler identification is GNU 4.7.3
The CXX compiler identification is GNU 4.7.3
Check for working C compiler: B:/MinGW/bin/gcc.exe
CMake Error: Generator: execution of make failed. Make command was: /MinGW/bin/mingw32-make.exe "cmTryCompileExec4173182653/fast"
Check for working C compiler: B:/MinGW/bin/gcc.exe -- broken
CMake Error at B:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "B:/MinGW/bin/gcc.exe" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: D:/Users/Documents/git/Thrive/build/CMakeFiles/CMakeTmp

  

  Run Build Command:/MinGW/bin/mingw32-make.exe
  "cmTryCompileExec4173182653/fast"

  The system cannot find the file specified

  Generator: execution of make failed.  Make command was:
  /MinGW/bin/mingw32-make.exe "cmTryCompileExec4173182653/fast"

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:9 (project)


Configuring incomplete, errors occurred!
EDIT: I resolved my problem by rerunning the setup script with a new MinGW directly as C:\MinGW
Also found this other thread that may be more appropriate for troubleshooting: https://thrivegame.canadaboard.net/t999-development-troubleshooting#27758
Back to top Go down
Nimbal
Programming Team lead



Posts : 258
Reputation : 24
Join date : 2013-03-17
Age : 40
Location : Ratingen, Germany

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptyMon Oct 07, 2013 2:20 pm

Great to hear you managed to solve this particular problem. Just out of curiosity, did you try manually setting the CMAKE_MAKE_PROGRAM to the file bin/mingw32-make.exe inside the mingw directory? I could have sworn I put a note about that in the readme.txt for people that install mingw to non-standard directories, but I either hallucinated that or took it out for a reason I can't remember right now.
Back to top Go down
crovea
Programming Team lead
crovea


Posts : 310
Reputation : 59
Join date : 2013-10-07
Age : 34
Location : Denmark

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptyWed Oct 16, 2013 7:02 am

Yes setting that variable manually does resolve the issue :)just tried building on my laptop today.

I'll add a pull request with the information about this issue to the readme (it wasn't there, just a recommendation for using the C drive). I will also update the link in the top of the readme to be the other build problems thread, which seems more appropriate!

EDIT: Actually more errors occour, but i think i've become familiar enough with the build system that i can figure it out and add it to the readme
Back to top Go down
moopli
Developer
moopli


Posts : 318
Reputation : 56
Join date : 2013-09-30
Age : 29
Location : hanging from the chandelier

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptyFri May 16, 2014 10:50 pm

A quick scan though the thread reveals that nobody's brought up Travis for continuous integration. Travis-CI is integrated with github, free for open-source projects, and very easy to set up -- all we need are some ubuntu dependency-installation and build scripts. Since I am conveniently-enough busy trying to get Thrive to build on my own ubuntu box, I could cobble together a build script once I get it working, and then we can get thrive on travis.

Oh, what's more, travis can do continuous deployment too, so if we can figure something out with a download server (github releases?), we'll have a completely automated release system.
Back to top Go down
crovea
Programming Team lead
crovea


Posts : 310
Reputation : 59
Join date : 2013-10-07
Age : 34
Location : Denmark

Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 EmptySat May 17, 2014 8:54 am

That would be great. We had a Jenkins server running here: http://nimbal.net/jenkins/ but It's not under my control anymore and it hasn't been building successfully for a long time. It would be the most useful if it would do cross-compiling to windows builds (or windows and linux) like we had with the Jenkins, but that needs some work with getting the cross-compiling scripts back up to date (CEGUI, tinyxml and ogg/vorbis).
Back to top Go down
Sponsored content





Build system discussion - Page 4 Empty
PostSubject: Re: Build system discussion   Build system discussion - Page 4 Empty

Back to top Go down
 
Build system discussion
Back to top 
Page 4 of 4Go to page : Previous  1, 2, 3, 4
 Similar topics
-
» My Evolution System Concept
» Compound system
» System Requirements
» Application System
» Aiming System

Permissions in this forum:You cannot reply to topics in this forum
Thrive Game Development :: Development :: Programming-
Jump to: