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++ Core » Link problem on linux
Link problem on linux [message #40935] Wed, 09 October 2013 23:31 Go to previous message
Didier is currently offline  Didier
Messages: 680
Registered: November 2008
Location: France
Contributor
Hi,

A link problem has been introduced recently with the addition of fonts.
On my linux i get the following error :
Quote:

..../upp.out/MyApps/CtrlCore/GCC.Blitz.Gui.Shared.Sse2/DrawT extX11.o: In function `_GLOBAL__sub_I__ZN3Upp13gtk_antialiasE':
DrawTextX11.cpp:(.text.startup._GLOBAL__sub_I__ZN3Upp13gtk_a ntialiasE+0x86): undefined reference to `Upp::GetFontInfoSysXft'
DrawTextX11.cpp:(.text.startup._GLOBAL__sub_I__ZN3Upp13gtk_a ntialiasE+0x90): undefined reference to `Upp::GetGlyphInfoSysXft'



When looking at the code all seems right : the variables are instanciated :
Quote:

uppsrc/Draw/FontFc.cpp(144):CommonFontInfo (*GetFontInfoSysXft)(Font font);


And extern is used to tell these vars are available in another section.

The following question comes to my mind : "extern xxx;" is a C syntax, is it allowed in C++ ????

[Updated on: Wed, 09 October 2013 23:32]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Binary file to JSON
Next Topic: Algo.h rev6429 small bug
Goto Forum:
  


Current Time: Wed May 15 23:29:58 CEST 2024

Total time taken to generate the page: 0.01220 seconds