trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2015

Re: [trinity-users] Some progress on FreeBSD 10.1

From: "Dr. Nikolaus Klepp" <office@...>
Date: Fri, 23 Jan 2015 21:07:54 +0100
Am Freitag, 23. Januar 2015 schrieb Timothy Pearson:
> > Hi Tim!
> >
> > Maybe you can help me a little bit, I'm trying to compile tqtinterface.
> >
> > The buildorder on the homepage refers as tqtinterface beeing the second
> > package to build. However, running "cmake" throws an error:
> > "qapplication.h" is missing. Now the only  "qapplication.h" I find is in
> > "main/dependencies/qt3/include/". So, do I have to build qt3 in addition
> > to tqt3 ?
> 
> No; CMake goes on to look for the correct file "ntqapplication.h" but
> can't find it.  I don't think tqtinterface knows where your
> "ntqapplication.h" file is installed; what directory does it end up in on
> FreeBSD?
> 
> Thanks!
> 
> Tim

Hi Tim!

"ntqapplication.h" is located at /opt/trinity/include ... but "cmake" defines 
	QT_PREFIX_DIR : /opt/trinity/lib/qt3-3.3.8.d
and I have no idea why. 

Anyway, adding "-DQT_PREFIX_DIR=/opt/trinity" as the last argument to cmake does the trick:
	QT_PREFIX_DIR : /opt/trinity

"make" failes, because "cmake" does not add the correct paths to the header files, e.g.:
	fatal error: 'X11/X.h' file not found

Do you have a hint for me how to add the paths?

Nik



-- 
Please do not email me anything that you are not comfortable also sharing with the NSA.

Dr. Nikolaus Klepp
Einnehmerstra�e 14
A-4810 Gmunden
Tel.: +43 650 82 11 724
email: office@...