Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2012 10:21:33 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        Jason Helfman <jgh@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org, miwi@FreeBSD.org
Subject:   Re: ports/158533: [NEW PORT] devel/tiled: 2D game map editor
Message-ID:  <4F3CCA9D.4040709@gmail.com>
In-Reply-To: <20120214171056.GB23952@dormouse.experts-exchange.com>
References:  <201111282314.pASNEalY097315@freefall.freebsd.org> <4F355825.3090100@gmail.com> <20120210230737.GA79510@dormouse.experts-exchange.com> <4F3640B6.7020602@gmail.com> <20120212060158.GA1302@dormouse.experts-exchange.com> <4F38E0B8.6070808@gmail.com> <20120214171056.GB23952@dormouse.experts-exchange.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14/02/2012 18:10, Jason Helfman wrote:
> On Mon, Feb 13, 2012 at 11:06:48AM +0100, David Demelier thus spake:
>> On 12/02/2012 07:01, Jason Helfman wrote:
>>> On Sat, Feb 11, 2012 at 11:19:34AM +0100, David Demelier thus spake:
>>>> On 11/02/2012 00:07, Jason Helfman wrote:
>>>>> On Fri, Feb 10, 2012 at 06:47:17PM +0100, David Demelier thus spake:
>>>>>> On 29/11/2011 00:14, miwi@FreeBSD.org wrote:
>>>>>>> Synopsis: [NEW PORT] devel/tiled: 2D game map editor
>>>>>>>
>>>>>>> State-Changed-From-To: closed->open
>>>>>>> State-Changed-By: miwi
>>>>>>> State-Changed-When: Mon Nov 28 23:14:36 UTC 2011
>>>>>>> State-Changed-Why:
>>>>>>> reopen
>>>>>>>
>>>>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=158533
>>>>>>
>>>>>> Mmm, maybe this PR will be committed in 2049.
>>>>>>
>>>>>> --
>>>>>> David Demelier
>>>>>
>>>>> In miwi defense , he had asked regarding compiler errors back on July
>>>>> 2nd.
>>>>> Only a couple of days after it was submitted, and there was no
>>>>> reply to
>>>>> that
>>>>> request. It seems either it is the same issue, or maybe a new
>>>>> issue. The
>>>>> old
>>>>> log wasn't available for compariso or analysis.
>>>>>
>>>>> I did a fresh build here, and recevied compiler errors across the
>>>>> board.
>>>>>
>>>>> https://redports.org/buildarchive/20120210234431-57597/
>>>>>
>>>>> -jgh
>>>>>
>>>>
>>>> Are you sure ?
>>>>
>>>> From miwi the 02/07/2011 but I agree with you there was no feedback
>>>> because I only replied to miwi@ and forgot to cc the PR email.
>>>>
>>>> -- Message from miwi 02/07/2011 16:13 --
>>>>
>>>> think we can try that :) will test and report to you back.
>>>>
>>>> On Sat, Jul 2, 2011 at 9:46 PM, David Demelier
>>>> <demelier.david@gmail.com> wrote:
>>>>
>>>> On 02/07/2011 13:17, miwi@FreeBSD.org wrote:
>>>>
>>>> Synopsis: [NEW PORT] devel/tiled: 2D game map editor
>>>>
>>>> State-Changed-From-To: open->feedback
>>>> State-Changed-By: miwi
>>>> State-Changed-When: Sat Jul 2 11:17:52 UTC 2011
>>>> State-Changed-Why:
>>>> build failed
>>>> http://tb.smeets.im/tb/index.php?action=describe_port&id=509
>>>>
>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=158533
>>>>
>>>>
>>>> Hi, I'm not used to QT components, could you try to add
>>>> "opengl_build" in the QT_COMPONENTS= variable ?
>>>>
>>>
>>> Same error:
>>> http://redports.org/buildarchive/20120211185111-33188/
>>>
>>> -jgh
>>
>> I updated the port to 0.8.0 version and confirm that it successfully
>> build on my 9.0-RELEASE amd64 box. I've just added opengl_build, I had
>> no Qt libraries (of any type) before the build, only X11.
>>
>> Please take a look at the new shar file.
>>
>> cheers,
>>
>> --
>> David Demelier
>
> Here is the new build:
> https://redports.org/buildarchive/20120214065224-54/
>
> -jgh
>

Here, when I build the include path /usr/local/include/qt4/QtOpenGl is 
added to the c++ flags :

g++ -c -pipe -O2 -Wall -W -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII 
-DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. 
-I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui 
-I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4 -I../libtiled 
-I/usr/local/include -I.moc -I.uic -I/usr/local/include/qt4 
-I/usr/local/include -o .obj/mapview.o mapview.cpp

I can see that your build do not include this path :

g++ -c -pipe -O2 -Wall -W -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. 
-I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui 
-I/usr/local/include/qt4 -I../libtiled -I.moc -I.uic 
-I/usr/local/include/qt4 -I/usr/local/include -o .obj/mapview.o mapview.cpp

But I can't figure out why you don't have the include path. Is 
qt4-opengl installed?

Cheers,

-- 
David Demelier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F3CCA9D.4040709>