I just can't compile titled 0.8, anyone help ?

30 views
Skip to first unread message

zengqh mansion

unread,
Dec 13, 2011, 2:00:38 AM12/13/11
to Tiled Map Editor
it can compile successfully. But can't debug:
Starting /home/zengqh/tiled-qt-0.8.0/tiled-build-desktop-
Desktop_Qt_4_7_4_for_GCC__Qt_SDK__Release/translations/phony_target...
Failed to start program. Path or permissions wrong?

what is phony_target ? I try to compile it with visual studio 2005,
but seem can't find phony_target.exe.

I want to debug tiled 0.8, anyone can help?
Thanks.

Thorbjørn Lindeijer

unread,
Dec 13, 2011, 5:18:30 AM12/13/11
to mape...@googlegroups.com
On Tue, Dec 13, 2011 at 08:00, zengqh mansion <zengqh....@gmail.com> wrote:
> it can compile successfully. But can't debug:
> Starting /home/zengqh/tiled-qt-0.8.0/tiled-build-desktop-
> Desktop_Qt_4_7_4_for_GCC__Qt_SDK__Release/translations/phony_target...
> Failed to start program. Path or permissions wrong?
>
> what is phony_target ? I try to compile it with visual studio 2005,
> but seem can't find phony_target.exe.

Ah, that phony_target is a hack which is somehow necessary in the
translations.pro since qmake normally expects each .pro file to have
some kind of target, but the translations aren't really a "target".

The unfortunate thing is that Qt Creator can pick this up as the
target of its default run configuration. It's annoying, but easy to
fix. You should be able to select some kind of "tiled" run
configuration from the target selector in the bottom left (or open
with Ctrl+T). If not, go into "Projects" mode, then "Run Settings" to
add it there.

I guess at some point I should go through the exact procedure and add
a note about this to the wiki page about contributing.

Best regards,
Bjørn

Reply all
Reply to author
Forward
0 new messages