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 5 users online :: 0 Registered, 0 Hidden and 5 Guests

None

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

» To all the people who come here looking for thrive.
troubleshooting - Development troubleshooting - Page 2 Emptyby NickTheNick Sat Sep 26, 2015 10:22 pm

» Build Error Code::Blocks / CMake
troubleshooting - Development troubleshooting - Page 2 Emptyby crovea Tue Jul 28, 2015 5:28 pm

» Hello! I can translate in japanese
troubleshooting - Development troubleshooting - Page 2 Emptyby tjwhale Thu Jul 02, 2015 7:23 pm

» On Leave (Offline thread)
troubleshooting - Development troubleshooting - Page 2 Emptyby NickTheNick Wed Jul 01, 2015 12:20 am

» Devblog #14: A Brave New Forum
troubleshooting - Development troubleshooting - Page 2 Emptyby NickTheNick Mon Jun 29, 2015 4:49 am

» Application for Programmer
troubleshooting - Development troubleshooting - Page 2 Emptyby crovea Fri Jun 26, 2015 11:14 am

» Re-Reapplication
troubleshooting - Development troubleshooting - Page 2 Emptyby The Creator Thu Jun 25, 2015 10:57 pm

» Application (programming)
troubleshooting - Development troubleshooting - Page 2 Emptyby crovea Tue Jun 23, 2015 8:00 am

» Achieving Sapience
troubleshooting - Development troubleshooting - Page 2 Emptyby MitochondriaBox Sun Jun 21, 2015 7:03 pm

» Microbe Stage GDD
troubleshooting - Development troubleshooting - Page 2 Emptyby tjwhale Sat Jun 20, 2015 3:44 pm

» Application for Programmer/ Theorist
troubleshooting - Development troubleshooting - Page 2 Emptyby tjwhale Wed Jun 17, 2015 9:56 am

» Application for a 3D Modeler.
troubleshooting - Development troubleshooting - Page 2 Emptyby Kaiju4u Wed Jun 10, 2015 11:16 am

» Presentation
troubleshooting - Development troubleshooting - Page 2 Emptyby Othithu Tue Jun 02, 2015 10:38 am

» Application of Sorts
troubleshooting - Development troubleshooting - Page 2 Emptyby crovea Sun May 31, 2015 5:06 pm

» want to contribute
troubleshooting - Development troubleshooting - Page 2 Emptyby Renzope Sun May 31, 2015 12:58 pm

» Music List Thread (Post New Themes Here)
troubleshooting - Development troubleshooting - Page 2 Emptyby Oliveriver Thu May 28, 2015 1:06 pm

» Application: English-Spanish translator
troubleshooting - Development troubleshooting - Page 2 Emptyby Renzope Tue May 26, 2015 1:53 pm

» Want to be promoter or project manager
troubleshooting - Development troubleshooting - Page 2 Emptyby TheBudderBros Sun May 24, 2015 9:00 pm

» A new round of Forum Revamps!
troubleshooting - Development troubleshooting - Page 2 Emptyby Oliveriver Wed May 20, 2015 11:32 am


 

 Development troubleshooting

Go down 
+6
benjamin71113
utikawa
HariboTer
Nimbal
SuperLala
Seregon
10 posters
Go to page : Previous  1, 2, 3, 4, 5, 6  Next
AuthorMessage
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 5:21 am

Actually i just git-reverted all the ps1 files as my research told me something fishy were indeed going on with the param stuff. This obviously meant that i had no more transcripting, however i took a lot of screenshots during debug and here are two seemingly relevant ones i managed to capture:

imgur.com/CwXqnTO,syCFpHD

Which did seem to fix the param issues.


I'll add the transcript code again, push my changes and give you my github link once it's done.

EDIT: Here github.com/jjonj/Thrive/tree/Fixing-Build
EDIT2: My first sentence didn't make any sence, fixed.
EDIT3: And just to add, the cmake still gives the cannot find ogre error after i reverted my cmakelists (which i edited out in my post above yesterday).
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 6:08 am

Thanks. I'll look into it when I'm back home this evening.
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 6:26 am

I am the one who thanks. - [Whalter White picture]
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 12:54 pm

My PowerShell does not like the transcript commands you inserted. After reading up on them, it seems to me that start-transcript and stop-transcript are not meant to be used for capturing a script's output, but rather creating a protocol of commands used in a live PowerShell session.

To fully capture the output of a script, you could run it inside the PowerShell ISE, which should already be installed if you are using Windows 7 or later.

Edit: Just to be sure, I just ran the setup script on my machine and then built Thrive. Apart from a little error that must have snuck into a commit when I wasn't looking (oops), everything went smoothly. So I'm a bit lost as to what might be going wrong for you.
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 1:27 pm

Here's most of the input

pastebin.com/WcfqAC3d

I took the liberty of removing a couple tens of thousands of lines of just "Extracting X" hopefully i didn't remove any errors

EDIT: Thought i removed the transcription code but i can see its still in the log :S
EDIT2: I did remove it... there's no code where its pointing to, could powershell be caching the files? O.o
EDIT3: Ah foundt ISE was just appending output, just ignore the first part about transcript
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 1:45 pm

Well just to reiterate the actual error i'm having in cmake:

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
Check for working C compiler: B:/MinGW/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: B:/MinGW/bin/g++.exe
Check for working CXX compiler: B:/MinGW/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Looking for OGRE...
OGRE_PREFIX_WATCH changed.
Found PkgConfig: D:/Users/Crovea/Downloads/pkg-config/bin/pkg-config.exe (found version "0.26")
checking for module 'OGRE'
 Â package 'OGRE' not found
Could not locate OGRE
CMake Error at cmake_modules/FindPkgMacros.cmake:112 (message):
 Â Required library OGRE not found! Install the library (including dev
 Â packages) and try again.  If the library is already installed, set the
 Â missing variables manually in cmake.
Call Stack (most recent call first):
 Â cmake_modules/FindOGRE.cmake:219 (findpkg_finish)
 Â CMakeLists.txt:57 (find_package)
as mentioned in my previous comments, i had it finding ogre with some manual moving things around and editing cmakelists perhaps i should continue with hacking at it like that?
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 1:51 pm

You can try, but if my experience with getting that stuff to run properly is any measure, it won't be pleasant.

Before you do that though, could you check what the OGRE_SDK variable in CMake is set to?
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 1:59 pm

Something wierd: my B drive installation of mingw (B:/MinGW/OgreSDK.), i discovered right after my last comment. The last 36 hours i've been using my C:/MinGW/
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:01 pm

Ah, ok. CMake is pretty zealous about caching and it can be hard to get rid of cached values. The surefire way is to just delete the build directory and create a new, empy one. Could you try that and report back?
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:03 pm

I've been doing that for atleast half my attempts, it doesnt seem to do anything

How does it know where to look for MinGW? it's not in any of the files directly obviously and not in PATH

EDIT: I'm trying to run the ps1 script on the B installation of MinGW again and it's giving me a TON of ogre related compiler warnings it didn't give me before. I guess thats a good sign perhaps?
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:07 pm

It's in the toolchain file that you give it when you first click "Configure". You do give CMake the toolchain file, do you?
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:14 pm

Yeah i do give it "a" toolchain file, never really gave much thought to which one, ill look into it

Yep, changing it to my C drive toolchain seem to have fixed it it just gives me this warning that i'm not sure how seriously to take:
Code:
CMake Warning (dev) at CMakeLists.txt:94 (add_subdirectory):
  The source directory

    D:/Users/Documents/git/Thrive/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 Warning (dev) at CMakeLists.txt:156 (add_subdirectory):
  The source directory

    D:/Users/Documents/git/Thrive/contrib/luabind

  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.
Anyway thank you very much for all the help xD i knew it was bound to be some stupid mistake i made


Last edited by crovea on Tue Oct 08, 2013 2:17 pm; edited 1 time in total
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:16 pm

The toolchain file is generated by the setup script, including absolute paths to the installed executables and libraries. So be sure to select the one that resides in the build environment you want to use.
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:19 pm

As mentioned above cmake actually completed now, but it didn't produce a project file, must be associated with the above warning i presume?

EDIT: no files in the build/src folder was produced at all
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:22 pm

Oh, right. Simple fix, for once. Our repository uses git submodules to pull in dependencies from external git repositories. Unfortunately, git doesn't automatically clone those submodules when cloning our repository. If you are using TortoiseGit, look for an option like "Submodule Update" or similar. Then rerun CMake.

Also, you might want to pull from the main repository before building because I fixed a syntax error an hour or so ago.
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:24 pm

Yeah i remembered there was something about those warnings in the readme and managed to remove the warnings effordlessly. HOWEVER still no project file or any files in build/src

Also with pull you mean rebase right? i'm not super familiar with the more advanced git features

EDIT: NVM ME!!!! I forgot to generate... lol
EDIT2: And with main repo you mean prototype branch right?
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:31 pm

The Code::Blocks project file should appear directly in the build directory, not in build/src.

Also, a "git pull" is a "git fetch" (download new commits from a remote repository), followed by a merge to combine those new changes with any you might have committed since your last pull.

A "git rebase" is a special kind of merge (i.e. the second part of a pull) that, instead of applying a bunch of commits from two branches in chronological order, applies first all commits from one branch, then all commits from another branch. This page has some excellent diagrams and explanations if you want to know more.

Edit: Great to hear you got it to work. And yes, I mean you should take your prototype branch and update it so it has the latest changes from the original prototype branch. You'll need to add the main repository as a new remote "main" (or whatever you'd like to call it), then make a pull from "main/prototype".
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 2:35 pm

Yeah the missing files were just me forgetting to generate

And i thought i read somewhere on the forums here that we needed to "rebase" from the main repo as we each have our own forked one.
So you're saying i just need to pull from github.com/Revolutionary-Games/Thrive/tree/prototype, ill give it a go
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 3:17 pm

So yeah, still having trouble adding the main repo as a remote in git and having it actually work but i'm not going to bother you with that.

I managed to build the project and finally get an executable, but it's complaining about missing gcc library dll (libgcc_s_sjlj-1.dll) when i try to run it. Furthermore in order to actually build it in codeblocks i had to manually add the gcc compilers (it had the right path, but the files it tried to use were prefixed with mingw while the actual compiler exes were just 'g++.exe' etc)

I assume the setup should have included these dll files? (the run tests is complaining about another dll)

EDIT: The dll files are in the C:\MinGW\bin folder, just need to link it somehow. Makes me think cmake didn't configure codeblocks correctly.


Last edited by crovea on Tue Oct 08, 2013 3:21 pm; edited 1 time in total
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 3:19 pm

I think the manual setup for Code::Blocks is normal. To get those dlls all in one place, "build" the target called "install". That will copy all the necessary stuff into the "dist" subdirectory of your build directory.
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 3:24 pm

Building install doesn't resolve the issue, i can just copy the dlls manually now i know where they are, unless you'd like to debug my problem for future devs


EDIT: It is working, i was just using the exe put at root, the exe in dist/bin works fine and has the dlls


Last edited by crovea on Tue Oct 08, 2013 3:27 pm; edited 1 time in total
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 3:26 pm

In case it wasn't clear, you'll need to manually go into the mentioned "dist" subdirectory and start the application. I don't know of a way to comfortably do this from inside Code::Blocks.
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 3:29 pm

Yep, got it running! it crashes right after it fullscreens though, is that related to your syntax error?

EDIT: Didn't crash on second run. I think i read about this bug somewhere on the forums
Back to top Go down
Nimbal
Programming Team lead



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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 3:36 pm

Yeah, I remember someone having similar problems that disappeared the second time around. Worked fine for me a couple of hours ago in the first run. Really weird.
Back to top Go down
crovea
Programming Team lead
crovea


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

troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 EmptyTue Oct 08, 2013 3:41 pm

Yep. Anyway thanks for all the help again! i learned a lot and i'll make sure to try and help others asking for help in here if i can!

I'll check in at all the other threads and see if i can't start tinkering a bit to get myself familiar with everything!
Back to top Go down
Sponsored content





troubleshooting - Development troubleshooting - Page 2 Empty
PostSubject: Re: Development troubleshooting   troubleshooting - Development troubleshooting - Page 2 Empty

Back to top Go down
 
Development troubleshooting
Back to top 
Page 2 of 6Go to page : Previous  1, 2, 3, 4, 5, 6  Next
 Similar topics
-
» I would like to help development.
» Two Questions Concerning Thrive's Development
» game development proccess
» Hello development team
» Development Bulletin: Microbe

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