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++ Library : Other (not classified elsewhere) » GLCtrl problem
GLCtrl problem [message #47242] Sat, 31 December 2016 12:25 Go to next message
koldo is currently offline  koldo
Messages: 3150
Registered: August 2008
Ultimate Member
Hello all

Trying to compile reference/OpenGL in Windows, a couple of problems avoided it:

- CtrlLib is not included
index.php?t=getfile&id=5138&private=0

- GlCtrl for MinGW wants to link with "glaux"
index.php?t=getfile&id=5139&private=0

Just by including CtrlLib in reference/OpenGL and removing glaux in GlCtrl package, both in MinGW and MSC the demo compiles and runs perfectly.
  • Attachment: cap.JPG
    (Size: 41.63KB, Downloaded 216 times)
  • Attachment: cap2.JPG
    (Size: 34.84KB, Downloaded 220 times)


Best regards
Iñaki
Re: GLCtrl problem [message #47340 is a reply to message #47242] Thu, 05 January 2017 13:59 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12581
Registered: November 2005
Ultimate Member
Thanks, fixed.
Re: GLCtrl problem [message #48401 is a reply to message #47242] Fri, 30 June 2017 16:00 Go to previous messageGo to next message
Y ++ is currently offline  Y ++
Messages: 12
Registered: June 2017
Promising Member
@koldo Thanks, I would not have found by myself. Note: I have removed "glaux" via menu "Project\Package organizer..", where are your screenshots come from ?

@mirek You've written "fixed". Where can I find the version of u++ you fixed ?


U++ version 11390 (64bits)(GCC)(C++11) on win8.1 64bits intel x64
Re: GLCtrl problem [message #48402 is a reply to message #48401] Fri, 30 June 2017 18:08 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12581
Registered: November 2005
Ultimate Member
http://www.ultimatepp.org/www$uppweb$nightly$en-us.html
Re: GLCtrl problem [message #48403 is a reply to message #48402] Fri, 30 June 2017 22:07 Go to previous message
Klugier is currently offline  Klugier
Messages: 660
Registered: September 2012
Location: Poland, Kraków
Contributor
Hello,

This patch is not on the trunk. Take a look at .upp file of GLCtrl ( https://github.com/ultimatepp/mirror/blob/master/uppsrc/GLCt rl/GLCtrl.upp):
uses
	CtrlCore; // No CtrlLib dependency

library(WIN32 GCC) "glaux glu32 opengl32";

library(LINUX | BSD) "GL GLU";

library((LINUX | BSD) & !X11 & !NOGTK) "gdkglext-x11-1.0 gtkglext-x11-1.0";

file
	GLCtrl.h,
	GLPicking.cpp,
	Win32GLCtrl.cpp,
	X11GLCtrl.cpp,
	GtkGLCtrl.cpp,
GLCtrl.cpp;


Anyway, this is not the problem here. OpenGL was working without CtrlLib for the long time. I believe the latest Core modification causes the CtrlLib dependency on the linking level. Mirek have you got any suspicion in this area?

Sincerely,
Klugier


Ultimate++ - one framework to rule them all.
Previous Topic: Please, look at specialized forums !
Next Topic: DBus integration -- need help
Goto Forum:
  


Current Time: Wed Jul 15 10:49:41 CEST 2020

Total time taken to generate the page: 0.01205 seconds