Thrive Game Development

Development of the evolution game Thrive.
 
HomeHome  PortalPortal  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  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 2 users online :: 0 Registered, 0 Hidden and 2 Guests :: 1 Bot

None

Most users ever online was 443 on Sun Mar 17, 2013 5:41 pm
Latest topics
» THIS FORUM IS NOW OBSOLETE
by NickTheNick Sat Sep 26, 2015 10:26 pm

» To all the people who come here looking for thrive.
by NickTheNick Sat Sep 26, 2015 10:22 pm

» Build Error Code::Blocks / CMake
by crovea Tue Jul 28, 2015 5:28 pm

» Hello! I can translate in japanese
by tjwhale Thu Jul 02, 2015 7:23 pm

» On Leave (Offline thread)
by NickTheNick Wed Jul 01, 2015 12:20 am

» Devblog #14: A Brave New Forum
by NickTheNick Mon Jun 29, 2015 4:49 am

» Application for Programmer
by crovea Fri Jun 26, 2015 11:14 am

» Re-Reapplication
by The Creator Thu Jun 25, 2015 10:57 pm

» Application (programming)
by crovea Tue Jun 23, 2015 8:00 am

» Achieving Sapience
by MitochondriaBox Sun Jun 21, 2015 7:03 pm

» Microbe Stage GDD
by tjwhale Sat Jun 20, 2015 3:44 pm

» Application for Programmer/ Theorist
by tjwhale Wed Jun 17, 2015 9:56 am

» Application for a 3D Modeler.
by Kaiju4u Wed Jun 10, 2015 11:16 am

» Translator to Serbian here
by Simeartherist Sun Jun 07, 2015 6:36 am

» Presentation
by Othithu Tue Jun 02, 2015 10:38 am

» Application of Sorts
by crovea Sun May 31, 2015 5:06 pm

» want to contribute
by Renzope Sun May 31, 2015 12:58 pm

» Music List Thread (Post New Themes Here)
by Oliveriver Thu May 28, 2015 1:06 pm

» Application: English-Spanish translator
by Renzope Tue May 26, 2015 1:53 pm

» Want to be promoter or project manager
by TheBudderBros Sun May 24, 2015 9:00 pm


Share | 
 

 Development troubleshooting

View previous topic View next topic Go down 
Go to page : Previous  1, 2, 3, 4, 5, 6
AuthorMessage
moopli
Developer


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

PostSubject: Re: Development troubleshooting   Wed Jun 11, 2014 6:32 pm

Thanks
I removed libfreetype6-dev as you suggested, but then the headers disappeared too, so i reinstalled it. Then, after editing the cmakelists to set the freetype library paths to the static paths, running cmake with some added settings (-DFREETYPE_H_PATH_ft2build=/usr/include/freetype2 -DFREETYPE_H_PATH_ftconfig=/usr/include/freetype2 -DCEGUI_HAS_FREETYPE=True) succeeded, and the CEGUI build succeeded. But then I built Thrive and I'm in the same old bind.

Oh chute I didn't make install.

Edit: And one make install later, we are back to square one.

Edit: This time I've removed libfreetype6 but not dev, leaving headers and stuff intact. Let's see if that works.

Edit: It didn't, I got linker errors since Ogre expects a dynamic freetype library and CEGUI links against Ogre. Could you try looking through your bash history?


Last edited by moopli on Wed Jun 11, 2014 9:07 pm; edited 6 times in total (Reason for editing : aaugh)
Back to top Go down
View user profile
moopli
Developer


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

PostSubject: Re: Development troubleshooting   Wed Jun 11, 2014 9:52 pm

Glorious news worthy of a double post:

We have liftoff :D!
liftoff:
 

But I see ugly stuff going on with stretching:
stretchy:
 

Anyway that's nothing compared to getting it all working yay :D!

As for how I got it working, I think I may have neglected to ldconfig one of the last times I rebuilt CEGUI, or so my garbled bash history tells me. Needless to say, I figured that out after an ldconfig prompted a relinking of Thrive and RunTests

Oh yes, I also edited the CMakeCache directly to change the libfreetype path from .so to .a. That would more likely have been the solution.


Last edited by moopli on Wed Jun 11, 2014 10:12 pm; edited 5 times in total (Reason for editing : yay yay happy yay :D)
Back to top Go down
View user profile
crovea
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Thu Jun 12, 2014 4:43 am

Great to see!

Could you perhaps add some troubleshooting tips to the ubuntu build document for potential future installers? You probably have a better idea how to get it worked now

The stretching isn't perfect, and it's very possible to add some bounds for the displayed text if thats what you're mostly bothered about, but obviously at those dimensions things aren't going to look great

_________________
- jjonj on github/reddit, jjonjex/Jacob Jensen on skype
Back to top Go down
View user profile
crovea
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Mon Jan 05, 2015 9:37 am

AwesomeSiebren wrote:
I encountered a problem when I was setting up CMake, and haven't found a solution.
Code:
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
CMake Warning (dev) at CMakeLists.txt:108 (add_subdirectory):
  The source directory

    C:/Users/Siebren/Desktop/Thrive/Thrive-master/contrib/googletest

  does not contain a CMakeLists.txt file.

  CMake does not support this case but it used to work accidentally and is
  being allowed for compatibility.

  Policy CMP0014 is not set: Input directories must have CMakeLists.txt.  Run
  "cmake --help-policy CMP0014" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find Bullet (missing: BULLET_DYNAMICS_LIBRARY
  BULLET_COLLISION_LIBRARY BULLET_MATH_LIBRARY BULLET_SOFTBODY_LIBRARY)
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  cmake_modules/FindBullet.cmake:72 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:121 (find_package)

Hrmm It looks like you might have missed a step or two from the setup of the pre-build environment https://github.com/Revolutionary-Games/Thrive/blob/master/mingw_setup/readme.txt are you sure you did the necessary git submodule update and ran the powershell script?
The powershell script should be replaceable by downloading this file: directory: mega.co.nz #!pAJgCADK!JZrwB4a2dw-3TBXGj_AImOysEazeVWXm_F_lfxUr7_Q although one person has reported an issue with that I have not yet looked into.

Reallly if all you wanted to mess with initially is lua specific stuff (as is what we discussed on github) then you could simply just get an up to date build and simply copy scripts over (I even have a batch script for that you can have)! Lemme know!

_________________
- jjonj on github/reddit, jjonjex/Jacob Jensen on skype
Back to top Go down
View user profile
untrustedlife
Regular


Posts : 252
Reputation : 19
Join date : 2013-03-26
Location : [Classified]

PostSubject: Re: Development troubleshooting   Mon Feb 02, 2015 11:33 pm

keep getting this error when I try to build thrive after following all directions
||=== Build: install in Thrive (compiler: GNU GCC Compiler) ===|
Users\bount_000\Desktop\Thrive\contrib\googletest\include||No such file or directory [-Werror]|
CMakeFiles\ThriveLib.dir\build.make|54|recipe for target `CMakeFiles/ThriveLib.dir/src/game.cpp.obj' failed|
CMakeFiles\Makefile2|131|recipe for target `CMakeFiles/ThriveLib.dir/all' failed|
C:\Users\bount_000\Desktop\Thrive\build\Makefile|116|recipe for target `all' failed|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 50 second(s)) ===|
Back to top Go down
View user profile
timlyo
Newcomer


Posts : 19
Reputation : 0
Join date : 2013-09-04
Age : 21
Location : England

PostSubject: Re: Development troubleshooting   Tue Feb 17, 2015 4:26 pm

You'll need to run git submodule init and git submodule update to pull in the googletest dependencies. Assuming that you're running command line that is.
Back to top Go down
View user profile
untrustedlife
Regular


Posts : 252
Reputation : 19
Join date : 2013-03-26
Location : [Classified]

PostSubject: Re: Development troubleshooting   Tue Feb 17, 2015 5:00 pm

timlyo wrote:
You'll need to run git submodule init and git submodule update to pull in the googletest dependencies. Assuming that you're running command line that is.

Figured it out ages ago. Thanks though.
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Development troubleshooting   Today at 6:29 am

Back to top Go down
 
Development troubleshooting
View previous topic View next topic Back to top 
Page 6 of 6Go to page : Previous  1, 2, 3, 4, 5, 6

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