ports/164545: graphics/ogre3d 1.7.4 build failed on the machine which has tinyxml installed
shen.elf at gmail.com
Fri Jan 27 18:10:08 UTC 2012
>Synopsis: graphics/ogre3d 1.7.4 build failed on the machine which has tinyxml installed
>Arrival-Date: Fri Jan 27 18:10:06 UTC 2012
>Originator: Yanhui Shen
>Release: FreeBSD 9.0
FreeBSD ThinkPad 9.0-STABLE FreeBSD 9.0-STABLE #0: Sun Jan 15 06:14:22 CST 2012 shen at R400:/usr/obj/usr/src/sys/ThinkPad amd64
graphics/ogre3d 1.7.4 build failed on the machine which already has tinyxml installed.
It is because some source files under work/ogre_src_v1-7-4/Tools/XMLConverter/src include the "tinyxml.h", however the search path /usr/local/include is used instead of its own work/ogre_src_v1-7-4/Tools/XMLConverter/include.
So, the quick and dirty way to fix this problem is to change those files' includes to "../include/tinyxml.h".
1.Look for the source files under work/ogre_src_v1-7-4/Tools/XMLConverter/src which include the "tinyxml.h".
2.The quick and dirty way is: change "tinyxml.h" to "../include/tinyxml.h".
More information about the freebsd-ports-bugs