View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003588 | Spring engine | General | public | 2013-03-16 17:52 | 2013-08-25 03:28 | ||||
Reporter | cranphin | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 93.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003588: Trying to build on windows gives error "CMake Error at cont/CMakeLists.txt:75 (message): pthreadGC2 not found!" | ||||||||
Description | I'm trying to build on windows to see if there's an easy way to solve 3587. But I get the error "CMake Error at cont/CMakeLists.txt:75 (message): pthreadGC2 not found!". I use Mingw/CMake following the instructions here: http://springrts.com/wiki/Building_Spring_on_Windows I've gotten mingwlibs from here, with the zip button: https://github.com/spring/mingwlibs I use this tarball: http://sourceforge.net/projects/springrts/files/springrts/spring-93.1/spring_93.1_src.tar.gz/download I think pthreadsGC2 was part of mingwlibs at some point, but was removed here: https://github.com/spring/mingwlibs/commit/a3cf8c67a70421e2bd3ca101e2f10a9d2693ba0c But I'm not sure if the problem is in mingwlibs, or in some configuration. I'll attach the full CMake log. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
||||||
|
![]() |
|
abma (administrator) 2013-03-17 03:25 Last edited: 2013-03-17 03:26 |
its an mistake in the CMakeLists.txt, why do you want to compile 93.2 for windows? |
cranphin (reporter) 2013-03-17 11:08 Last edited: 2013-03-17 11:11 |
I want to compile 93.2/93.1 (those two are the same for windows right? the latest version) for Windows, since I only have windows, and want to try to change some code for issue 3587 :) So, what I want is just be able to compile the latest version, with some changes of my own, to see if it works or not :) |
abma (administrator) 2013-03-17 17:39 |
just comment out everything between if(OPENMP_FOUND) and endif(OPENMP_FOUND) to get past this error message: https://github.com/spring/spring/blob/develop/cont/CMakeLists.txt#L54 |
jK (developer) 2013-08-10 15:59 |
PLEASE revert the mingwlibs commit and ALWAYS search for pthreadGC2.dll |
abma (administrator) 2013-08-11 17:13 |
"PLEASE revert the mingwlibs" hu? readd pthreadGC2 to mingwlibs? which commit do you mean? |
jK (developer) 2013-08-11 17:17 Last edited: 2013-08-11 17:19 |
https://github.com/spring/mingwlibs/commit/a3cf8c67a70421e2bd3ca101e2f10a9d2693ba0c on the 2nd thought, the dll might be not enough :/ maybe needs to update wiki to how install pthreads (Behe added already such a comment) |
abma (administrator) 2013-08-12 02:16 Last edited: 2013-08-12 02:17 |
for the buildbot the wiki is mostly up to date: http://springrts.com/wiki/Buildbot:Gentoo also, whats the problem atm here? why status feedback? |
abma (administrator) 2013-08-12 02:25 Last edited: 2013-08-12 02:25 |
also as big fat note: atm compiling spring with pthreads / threadpool on windows is untested / won't work! instructions are not up to date. to get it work disable threadpool / pthreads. |
abma (administrator) 2013-08-12 02:27 |
before 0003925 isn't fixed it makes few sense to try to fix this bug. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-03-16 17:52 | cranphin | New Issue | |
2013-03-16 17:52 | cranphin | File Added: CMake.txt | |
2013-03-17 03:25 | abma | Note Added: 0010095 | |
2013-03-17 03:26 | abma | Note Edited: 0010095 | View Revisions |
2013-03-17 11:08 | cranphin | Note Added: 0010097 | |
2013-03-17 11:11 | cranphin | Note Edited: 0010097 | View Revisions |
2013-03-17 17:39 | abma | Note Added: 0010105 | |
2013-03-17 17:44 | abma | Changeset attached | => spring develop 69a84fab |
2013-03-17 17:44 | abma | Assigned To | => abma |
2013-03-17 17:44 | abma | Status | new => resolved |
2013-03-17 17:44 | abma | Resolution | open => fixed |
2013-08-10 15:59 | jK | Note Added: 0011260 | |
2013-08-10 15:59 | jK | Status | resolved => feedback |
2013-08-10 15:59 | jK | Resolution | fixed => reopened |
2013-08-11 17:13 | abma | Note Added: 0011280 | |
2013-08-11 17:17 | jK | Note Added: 0011281 | |
2013-08-11 17:19 | jK | Note Edited: 0011281 | View Revisions |
2013-08-12 02:16 | abma | Note Added: 0011286 | |
2013-08-12 02:17 | abma | Note Edited: 0011286 | View Revisions |
2013-08-12 02:25 | abma | Note Added: 0011287 | |
2013-08-12 02:25 | abma | Note Edited: 0011287 | View Revisions |
2013-08-12 02:26 | abma | Relationship added | child of 0003929 |
2013-08-12 02:26 | abma | Relationship added | child of 0003925 |
2013-08-12 02:26 | abma | Relationship deleted | child of 0003929 |
2013-08-12 02:27 | abma | Note Added: 0011288 | |
2013-08-25 03:28 | jK | Status | feedback => resolved |
2013-08-25 03:28 | jK | Resolution | reopened => fixed |