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 is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

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  Next
AuthorMessage
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Tue Oct 08, 2013 3:45 pm

You're welcome. By the way, in the "doc" subdirectory you can find some files (those ending in "dox") that contain a bit of information about how the engine is clobbered together. You could use doxygen to generate a nice HTML version (see the FAQ for some hints) or just read the raw markup, which isn't too hideous.

If those texts are unclear anywhere, let me know and I'll fill them in where possible.
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   Tue Oct 08, 2013 3:53 pm

Yeah i built doxygen yesterday already I wonder if it got everything tho, since i didn't have things working then!

Regarding unclear things, which forum would you like me to use? or do you have an irc or alike that you prefer?
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Thu Oct 10, 2013 5:08 am

crovea wrote:
Regarding unclear things, which forum would you like me to use? or do you have an irc or alike that you prefer?
I think the best option is to create a ticket over at GitHub, that's not as prone to being burried as a forum post. Our usual IRC is posted in this thread, although it's usually not very active. I'll try and be more present in there for any questions / coordination.
Back to top Go down
View user profile
HariboTer
Developer


Posts : 16
Reputation : 1
Join date : 2013-05-10
Age : 21
Location : Germany

PostSubject: Re: Development troubleshooting   Mon Oct 28, 2013 4:16 pm

Hi,
trying to set up my local development environment for Thrive, I have been following the readme file for a few hours now and after resolving errors on cloning / updating the submodules (had to give admin rights to git) and running the script (which was one of the few things that didn't cause errors), I am stuck getting CMake to do what it should do. I am sure that I configured it as correct as possible so far, however, CMake doesn't find something called PkgConfig, is unable to find the requested Boost libraries or header files, can't find Bullet and has trouble with a not-contained CMakeLists.txt file. As a complete novice in all of these things, I would appreciate any help to get it working!

Full error from the tiny CMake console:
 

If it is of importance, my OS is Windows 7 Home Premium

(btw, crovea has already been helping me out a lot via Skype, but in this case he doesn't know a solution too)


Last edited by HariboTer on Mon Oct 28, 2013 6:53 pm; edited 1 time in total
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 Oct 28, 2013 4:23 pm

I'm also having the same errors as HariboTer on my laptop (i had other errors that were resolved on my desktop pc).

I'll add that both him and me are running windows 7.
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Mon Oct 28, 2013 4:57 pm

Code:

Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
That line is normal, don't worry about it.

Code:

Unable to find the requested Boost libraries.
That one is not. Sounds like something went wrong with the setup script and screwed up the boost installation. Can you check whether the directory C:/MinGW/install/include/boost exists and contains a whole bunch of stuff? Also see if you can find files named "libboost_XYZ-mt.dll" inside C:/MinGW/install/lib.

Can you paste the output of the setup script to Pastebin? You can use the Powershell ISE (which should already be installed on Windows 7) to get a console that remembers more than 20 lines.

Code:

The source directory

    C:/Filestuff/C++/Thrive/contrib/googletest

  does not contain a CMakeLists.txt file.
This looks like something went wrong with the submodules (I'm seriously considering removing them and just copying the files into our repository). Is there anything inside the directory it mentions? Maybe try initializing and updating the googletest submodule once more.

Code:

Could NOT find Bullet (missing: BULLET_DYNAMICS_LIBRARY
  BULLET_COLLISION_LIBRARY BULLET_MATH_LIBRARY BULLET_SOFTBODY_LIBRARY)
More errors that suggest that the setup script had trouble, but it's probably a follow-up error of the missing boost libraries, causing errors when building bullet.
Back to top Go down
View user profile
HariboTer
Developer


Posts : 16
Reputation : 1
Join date : 2013-05-10
Age : 21
Location : Germany

PostSubject: Re: Development troubleshooting   Mon Oct 28, 2013 7:02 pm

Nimbal wrote:

Can you check whether the directory C:/MinGW/install/include/boost exists and contains a whole bunch of stuff? Also see if you can find files named "libboost_XYZ-mt.dll" inside C:/MinGW/install/lib.
Both the lot of stuff as well as all the libboost_bla-mt.dll files exist in the described locations.
Nimbal wrote:

Can you paste the output of the setup script to Pastebin? You can use the Powershell ISE (which should already be installed on Windows 7) to get a console that remembers more than 20 lines.
Is that available somewhere after closing Powershell or do I have to let the script run again to get its output "back"?

Nimbal wrote:
Is there anything inside the directory it mentions? Maybe try initializing and updating the googletest submodule once more.
I tried updating the submodules for two more times, but the googletest directory remains empty.
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 3:37 am

HariboTer wrote:

Both the lot of stuff as well as all the libboost_bla-mt.dll files exist in the described locations.
Interesting. I didn't expect that (queue X-Files music). Alright, more diagnostic. Open up the CMake GUI and check the box saying "Show advanced variables" (or similar). In the table below that, there should be quite a few entries beginning with "Boost_". I'm particularly interested in the values for "Boost_INCLUDE_DIR", "Boost_LIBRARY_DIRS" and "Boost_SYSTEM_LIBRARY".

Now, delete everything in your build directory, then go through the steps with CMake again. Is it the same result?

HariboTer wrote:

Is that available somewhere after closing Powershell or do I have to let the script run again to get its output "back"?
Unfortunately, you'll have to run it again (in the ISE, not with the normal DOS window that only saves that last 50 lines or so). Note to self: Figure out how to add logging to the PowerShell scripts.

HariboTer wrote:

I tried updating the submodules for two more times, but the googletest directory remains empty.
Without an error message, I really can't help you there. I only use TortoiseGit (I assume that's what you're using) occasionally, so I'm not sure what may have gone wrong. All I can say is that the submodule hasn't been cloned properly. As a last resort, try cloning the whole project again in a fresh directory.
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   Tue Oct 29, 2013 4:19 am

I will add, that i tried resolving (the same error as above) by copying the entire mingw folder (where the script put all the stuff) to my laptop and running cmake with the copied folders toolchain, which didn't help, so i assume that rules out the PS script.
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 4:26 am

Did you copy it to the exact same path? If not, you would also need to update the toolchain file. It might also be an issue with user permissions.

And just to clarify, you tried running the setup script on the laptop and got the errors HariboTer is describing. Then you copied the working mingw environment from your desktop over to the laptop and got the exact same error? Did you check that with a fresh, empty build directory?
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   Tue Oct 29, 2013 7:18 am

My case in name of the folder might have been different, i can try again, although i imagine it would give different errors if that was the issue.

Nimbal wrote:
And just to clarify, you tried running the setup script on the laptop and got the errors HariboTer is describing. Then you copied the working mingw environment from your desktop over to the laptop and got the exact same error? Did you check that with a fresh, empty build directory?
Yep, and i just tried again: I re-copied MinGW script output folder with the exact same path as my desktop (C:\MinGW), i deleted cmakes cache and deleted everything in the build directory.

My Cmake output is:
Code:
The C compiler identification is GNU 4.7.3
The CXX compiler identification is GNU 4.7.3
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/MinGW/bin/g++.exe
Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Looking for OGRE...
OGRE_PREFIX_WATCH changed.
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Found Ogre Byatis (1.8.1)
Found OGRE: optimized;C:/MinGW/OgreSDK/lib/release/libOgreMain.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgreMain_d.dll.a
Looking for OGRE_Paging...
Found OGRE_Paging: optimized;C:/MinGW/OgreSDK/lib/release/libOgrePaging.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgrePaging_d.dll.a
Looking for OGRE_Terrain...
Found OGRE_Terrain: optimized;C:/MinGW/OgreSDK/lib/release/libOgreTerrain.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgreTerrain_d.dll.a
Looking for OGRE_Property...
Found OGRE_Property: optimized;C:/MinGW/OgreSDK/lib/release/libOgreProperty.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgreProperty_d.dll.a
Looking for OGRE_RTShaderSystem...
Found OGRE_RTShaderSystem: optimized;C:/MinGW/OgreSDK/lib/release/libOgreRTShaderSystem.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgreRTShaderSystem_d.dll.a
OIS_PREFIX_PATH changed.
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
CMake Error at cmake_modules/FindBoost.cmake:1192 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  CMakeLists.txt:88 (find_package)


Found PythonInterp: D:/Python33/python.exe (found version "3.3.2")
Looking for include file pthread.h
Looking for include file pthread.h - found
Looking for pthread_create
Looking for pthread_create - not found
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - found
Found Threads: TRUE  
CMake Error at D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find Bullet (missing: BULLET_DYNAMICS_LIBRARY
  BULLET_COLLISION_LIBRARY BULLET_MATH_LIBRARY BULLET_SOFTBODY_LIBRARY)
Call Stack (most recent call first):
  D:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  cmake_modules/FindBullet.cmake:70 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:107 (find_package)


Configuring incomplete, errors occurred!
See also "C:/Users/jacob/Documents/GIT/Thrive/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/jacob/Documents/GIT/Thrive/build/CMakeFiles/CMakeError.log".
I guess it's not the exact same error, but quite close. I also tried re-running cmake on my desktop to a new build directory (just to make sure it was still working) and it did work.

On an unrelated note, a linux "guru" friend of mine managed to build thrives yesterday (help from me made up for the lack of a readme, submodules etc) Althought he had a minor problems. The libraries in the build/dist/bin/plugins folder, the 6 .a files in there were missing a trailing '_d' that he had to add manually (make was complaining that they didn't exist). Just a minor issue you might want to look at or write to the readme.
He managed to build and run it just fine though! (His collision grids around objects, in-game, were way fancier than mine, different version of bullet/ogre perhaps?)
My linux guru friend is here now, so if you're quick to reply he can give you more details.

EDIT: Got more details of the linux error.
Back to top Go down
View user profile
HariboTer
Developer


Posts : 16
Reputation : 1
Join date : 2013-05-10
Age : 21
Location : Germany

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 7:47 am

Nimbal wrote:

Open up the CMake GUI and check the box saying "Show advanced variables" (or similar). In the table below that, there should be quite a few entries beginning with "Boost_". I'm particularly interested in the values for "Boost_INCLUDE_DIR", "Boost_LIBRARY_DIRS" and "Boost_SYSTEM_LIBRARY".
For the first one the value is "Boost_INCLUDE_DIR-NOTFOUND", for the other two I can't find exactly those value mappings, only "Boost_DIR" ("Boost_DIR-NOTFOUND") and Boost_SYSTEM_LIBRARY_[DEBUG / RELEASE] ("Boost_SYSTEM_LIBRARY_DEBUG-NOTFOUND" / "Boost_SYSTEM_LIBRARY_RELEASE-NOTFOUND").

Nimbal wrote:
HariboTer wrote:

I tried updating the submodules for two more times, but the googletest directory remains empty.
Without an error message, I really can't help you there. I only use TortoiseGit (I assume that's what you're using) occasionally, so I'm not sure what may have gone wrong. All I can say is that the submodule hasn't been cloned properly. As a last resort, try cloning the whole project again in a fresh directory.
I'm sorry to disrupt the order, but I just ran the submodule update again and it finally generated something. As I didn't do anything inbetween other than turning my PC off yesterday and booting it today, I have no single clue why it might have worked now xD Running CMake again gives me similar (if not the same) error results though.

CMake output:
 

Nimbal wrote:

Now, delete everything in your build directory, then go through the steps with CMake again. Is it the same result?
Yes.

Nimbal wrote:
Unfortunately, you'll have to run it again (in the ISE, not with the normal DOS window that only saves that last 50 lines or so). Note to self: Figure out how to add logging to the PowerShell scripts.
Ok, after running in with the ISE and being informed by Pasebin that the paste exceeds the limit of 500 KB, seeing that a spoiler makes this post too long, not being able to attach it as txt-file - here is a mediafire link http://www.mediafire.com/view/hbvg1vttpe3wysw/script_output.txt ^^
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 8:02 am

crovea wrote:

I re-copied MinGW script output folder with the exact same path as my desktop (C:\MinGW), i deleted cmakes cache and deleted everything in the build directory.
Thanks for testing that. I'm honestly a little stumped here, I hope I can reproduce this somehow when I'm back home. By the way, which CMake versions are you using (both Desktop and Laptop)?

crovea wrote:

The libraries generated doing a step, im not sure which one, was missing a trailing '_d' that he had to add manually
Those were probably the Ogre libraries. I'm a little surprised that simply renaming them worked. The "_d" suffix indicates that they are debug libraries. The "proper" solution would have been to recompile Ogre as a debug build, or compile Thrive as a release build.

HariboTer wrote:

I just ran the submodule update again and it finally generated something
Hm, maybe the remote git repository was unreachable earlier (although unlikely, GitHub is pretty reliable). Anyway, do you still see the error about the missing CMakeLists.txt in the googletest directory? The other errors are unrelated to the missing submodule, but that one should definitely be gone now.

HariboTer wrote:

here is a mediafire link
Thanks. Nothing overly suspicious in there, apart from an error message about OpenCL missing. Doesn't look serious, but I'll check whether I get this too.

In the meantime, you could try and add a new entry to the CMake configuration. Name it "Boost_ROOT", make it a string value and set it to "C:/MinGW/install".
Back to top Go down
View user profile
HariboTer
Developer


Posts : 16
Reputation : 1
Join date : 2013-05-10
Age : 21
Location : Germany

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 8:11 am

Nimbal wrote:
Anyway, do you still see the error about the missing CMakeLists.txt in the googletest directory? The other errors are unrelated to the missing submodule, but that one should definitely be gone now.
As far as I can tell, I can not find that error any more.

Nimbal wrote:
In the meantime, you could try and add a new entry to the CMake configuration. Name it "Boost_ROOT", make it a string value and set it to "C:/MinGW/install".
Configuring with that produced the following
error log:
 

and after "fixing" the spelling:
error log nr. 2:
 
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 8:16 am

They check for capitalization? Oh well, seems to work. Alright, do the same for BULLET_ROOT now, same path.
Back to top Go down
View user profile
HariboTer
Developer


Posts : 16
Reputation : 1
Join date : 2013-05-10
Age : 21
Location : Germany

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 8:18 am

Code:
Looking for OGRE...
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Found Ogre Byatis (1.8.1)
Found OGRE: optimized;C:/MinGW/OgreSDK/lib/release/libOgreMain.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgreMain_d.dll.a
Looking for OGRE_Paging...
Found OGRE_Paging: optimized;C:/MinGW/OgreSDK/lib/release/libOgrePaging.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgrePaging_d.dll.a
Looking for OGRE_Terrain...
Found OGRE_Terrain: optimized;C:/MinGW/OgreSDK/lib/release/libOgreTerrain.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgreTerrain_d.dll.a
Looking for OGRE_Property...
Found OGRE_Property: optimized;C:/MinGW/OgreSDK/lib/release/libOgreProperty.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgreProperty_d.dll.a
Looking for OGRE_RTShaderSystem...
Found OGRE_RTShaderSystem: optimized;C:/MinGW/OgreSDK/lib/release/libOgreRTShaderSystem.dll.a;debug;C:/MinGW/OgreSDK/lib/debug/libOgreRTShaderSystem_d.dll.a
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE)
Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
Configuring done
Seems to have worked
Now back to the next step in the readme^^
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 8:19 am

Great to hear! I'll add those two to the toolchain file so future vict... err... contributors won't face the same problem.
Back to top Go down
View user profile
HariboTer
Developer


Posts : 16
Reputation : 1
Join date : 2013-05-10
Age : 21
Location : Germany

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 8:30 am

Alright, generatic from CMake worked, opening and building the project with Code::Blocks worked too (0 errors, 1 warning). Running Thrive.exe didn't
"The application can not be started, because libgcc_s_sjlj-1.dll is missing on the computer. Install the program again to fix the problem" (loosely translated from german^^)
What now?
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 8:36 am

In the dropdown near the build button, select the "install" target and build it. Then navigate to the directory "your_build_dir/dist/bin" and start Thrive from there.

Explanation: Starting Thrive from within Code::Blocks runs the executable inside the build directory. Unfortunately, the files that the application needs to run (scripts, textures, models and libraries) must be in very specific paths relative to the executable. The DLLs, for example, must be in the same directory as the executable. The "install" target creates the expected directory structure and copies all required files to the right place. It also rebuilds the executable if you changed some source code, so you can leave the build target at "install".

After some research just now, I may have gotten an idea how to make this a bit easier. No promises, though.

Edit: Slightly better explanation.


Last edited by Nimbal on Tue Oct 29, 2013 8:51 am; edited 1 time in total
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   Tue Oct 29, 2013 8:40 am

Good to hear things are working with cmake now, ill see if it worked for me aswell in a few hours, busy atm.

HariboTer run the exe inside dist/bin instead of the one at root in build. Also i recommend you use the install build target (perhaps nimbal clarify the build targets and their purpose)

EDIT: I see nimbal commented the same as me. Question: Can we run a different target that doesn't re-copy all the stuff?
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 8:56 am

crovea wrote:

Can we run a different target that doesn't re-copy all the stuff?
Not really, no. Although CMake (or rather, make) is smart enough to only copy files that have changed, so if you only change a single script file, only that file should be copied. The rest will be skipped.

I've also edited my previous post to provide a more thorough explanation for why this is necessary.
Back to top Go down
View user profile
HariboTer
Developer


Posts : 16
Reputation : 1
Join date : 2013-05-10
Age : 21
Location : Germany

PostSubject: Re: Development troubleshooting   Tue Oct 29, 2013 9:11 am

Ok, finally it is all set up (and working!^^) now.
Thanks for all your help and explanations, I'm sure further questions will follow, although on other topics
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   Tue Oct 29, 2013 12:23 pm

Mystery solved!

My cmake versions are 2.8.12 for my laptop and 2.8.11.2 for my desktop.

I just tried running cmake again on my desktop and everything was still working fine!
I then, however, tried upgrading to cmake 2.8.12 on my desktop and it reaches the same error! so it's the new cmake version that isn't quite compatible somehow!

Back to top Go down
View user profile
utikawa
Newcomer


Posts : 7
Reputation : 1
Join date : 2013-12-19
Age : 38
Location : Suzano - SP - Brazil

PostSubject: Cannot configure build environment   Tue Dec 24, 2013 8:56 pm

Hi!

I am trying to configure my build environment using the powershell scripts (setup.ps1) in mingw_setup subfolder.
I always get error when installing ogre dependencies and ogre itself. i get a message saying that cmake was not found.
cmake is installed (2.8.12.1) and i can run it in command prompt with the command "cmake".
Here is the error:



Any advices?

Merry Christmas!!! :-)

Marcelo Utikawa da Fonseca
Back to top Go down
View user profile
Nimbal
Programming Team lead


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

PostSubject: Re: Development troubleshooting   Wed Dec 25, 2013 11:54 am

Do you only get this for OpenAL, or also for Ogre and other libraries? Either way, I'll have to try and reproduce this when I'm back home sometime later this week.
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Development troubleshooting   Today at 4:34 pm

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

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