Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » GUI MT project does not compile
GUI MT project does not compile [message #19882] Thu, 29 January 2009 18:48 Go to next message
White_Owl is currently offline  White_Owl
Messages: 27
Registered: January 2009
Location: New York
Promising Member
I tried to do my first "GUI MT" project. And I can not compile it.
My own code has only creation of TopWindow. And already I see several very suspicious errors:
In file included from C:\upp\uppsrc\Core\heapdbg.cpp:7:
C:\upp\uppsrc\Core\HeapImp.h:164: error: thread-local storage not supported for this target
C:\upp\uppsrc\Core\Random.cpp:152: warning: ignoring #pragma comment 
In file included from C:/upp/out/Core/MINGW.Blitz.Gui.Mt\$blitz.cpp:54:
C:\upp\uppsrc\Core\Random.cpp:175: error: thread-local storage not supported for this target
C:\upp\uppsrc\Core\Random.cpp:176: error: thread-local storage not supported for this target

Any suggestions?
Re: GUI MT project does not compile [message #19963 is a reply to message #19882] Thu, 05 February 2009 16:07 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
Yes, please give U++ version and compiler used so we can try the same version.

But if you're using SVN version, try a different revision number. I wasn't able to build some new SVN versions and had to revert to older ones.
Re: GUI MT project does not compile [message #19967 is a reply to message #19882] Thu, 05 February 2009 17:16 Go to previous messageGo to next message
White_Owl is currently offline  White_Owl
Messages: 27
Registered: January 2009
Location: New York
Promising Member
I just did the svn update.
Opened Tutorial/Gui01.
Switched package configuration mode from GUI to GUI MT and get the same errors.

I am not sure how to tell version of U++ (svn update was done February 5, 2009. is it enough?)
I am compiling with MinGW on WinXP.
`g++ --version` reports: g++.EXE (GCC) 3.4.5 (mingw-vista special r3)
Re: GUI MT project does not compile [message #20100 is a reply to message #19967] Tue, 17 February 2009 16:11 Go to previous messageGo to next message
darthspawn is currently offline  darthspawn
Messages: 58
Registered: February 2009
Member
I have the same problem, windows XP, mingw 3.4.5, u++ from SVN revision 643

[Updated on: Tue, 17 February 2009 18:01]

Report message to a moderator

Re: GUI MT project does not compile [message #20103 is a reply to message #20100] Tue, 17 February 2009 19:19 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
You cannot do MT in mingw.

Mirek
Re: GUI MT project does not compile [message #20119 is a reply to message #20103] Thu, 19 February 2009 11:21 Go to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi,

you can do MT with MingW, but you need a more recent version.
I have 4.3.0 installed and it works, but 3.x is too old.

Regards,
Matthias
Previous Topic: Thread calls GUI
Next Topic: How to catch http client timeout error
Goto Forum:
  


Current Time: Fri Mar 29 01:48:41 CET 2024

Total time taken to generate the page: 0.01245 seconds