View Issue Details

IDProjectCategoryView StatusLast Update
0003588Spring engineGeneralpublic2013-08-25 03:28
Reportercranphin Assigned Toabma  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version93.2 
Summary0003588: Trying to build on windows gives error "CMake Error at cont/CMakeLists.txt:75 (message): pthreadGC2 not found!"
DescriptionI'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.

TagsNo tags attached.
Attached Files
CMake.txt (Attachment missing)
Checked infolog.txt for Errors

Relationships

child of 0003925 resolvedjK endless loop in test_ThreadPool & spring on win32 (first seen with ada052b7d3a52d765402685128ca7980ce7f3301) 

Activities

abma

2013-03-17 03:25

administrator   ~0010095

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

2013-03-17 11:08

reporter   ~0010097

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

2013-03-17 17:39

administrator   ~0010105

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

2013-08-10 15:59

developer   ~0011260

PLEASE revert the mingwlibs commit and ALWAYS search for pthreadGC2.dll

abma

2013-08-11 17:13

administrator   ~0011280

"PLEASE revert the mingwlibs"
hu? readd pthreadGC2 to mingwlibs? which commit do you mean?

jK

2013-08-11 17:17

developer   ~0011281

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

2013-08-12 02:16

administrator   ~0011286

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

2013-08-12 02:25

administrator   ~0011287

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

2013-08-12 02:27

administrator   ~0011288

before 0003925 isn't fixed it makes few sense to try to fix this bug.

Issue History

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
2013-03-17 11:08 cranphin Note Added: 0010097
2013-03-17 11:11 cranphin Note Edited: 0010097
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
2013-08-12 02:16 abma Note Added: 0011286
2013-08-12 02:17 abma Note Edited: 0011286
2013-08-12 02:25 abma Note Added: 0011287
2013-08-12 02:25 abma Note Edited: 0011287
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