Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Error in a file that does not use CGAL classes

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Error in a file that does not use CGAL classes


Chronological Thread 
  • From: Nicholas Mario Wardhana <>
  • To:
  • Subject: Re: [cgal-discuss] Error in a file that does not use CGAL classes
  • Date: Sat, 13 Mar 2010 01:16:46 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XznfUKYgvgHuUDHkFY3Hh2t+tpo7LeE33sGmEy5YcPGC7uqrM6QM0L8+HkaFISbbLw YP+8md1XMWmbzeec6DFEHO9i7K+DqgcTqHNsKP7u/qGTpieZj1zUYqjt7OGRLj451XOr /ZQvo4MepY2G/pAWZ3GcDmg5QoKSXpkzQqNrQ=

Hi Laurent and Ramin,

Thanks for your suggestions. I tried to rearrange the header file
inclusion for quite some time, but of no avail, so I decided to search
for the keyword "infinity" and found a macro with the same name in our
project. Changing its name solved the problem.

To Laurent, our team are currently working in a project to create a
generic game platform, providing template for multiple genres. This
platform enables users with non-programming background to modify the
content of the games, such as the models and the gameplay quite
easily. For test cases, we are establishing a military-based prototype
game and also a simple racing game using this platform, and the target
is to build these games in a short time. We use CGAL to manipulate the
waypoints, which we automatically generate to be used in pathfinding.

Again, thanks for your responses. :-)

Best regards,
Nicholas Mario Wardhana



On 12 March 2010 07:32, Ramin H
<>
wrote:
> I had a "similar" issue with CGAL3.5.1 and Qt4.3.1 in my project. My code
> compiled on GCC but Visual Studio could not compile it.
>
> Reordering the #include directives might solve the problem. Try putting CGAL
> header files at the beginning and the rest of the header files after.
>
> -Ramin
>
> On Thu, Mar 11, 2010 at 6:15 PM, Laurent Rineau (GeometryFactory)
> <>
> wrote:
>>
>> Le Jeudi 11 Mars 2010 21:26:31, Nicholas Mario Wardhana a écrit :
>> > Hi all,
>> >
>> > We just used CGAL in our project to search for some closest neighbours
>> > of each waypoint. The code is adopted from :
>> >
>> >
>> > http://www.cgal.org/Manual/last/doc_html/cgal_manual/Spatial_searching/Chap
>> > ter_main.html#Subsection_57.3.5
>> > 1>------ Build started: Project: GameFactoryDemo, Configuration: Debug
>> > Win32 ------
>> > 1>Compiling...
>> > 1>GameScene.cpp
>>
>> Why the way, what sort of open source project are you working on? That
>> seems
>> interesting.
>>
>> --
>> Laurent Rineau, PhD
>> Release Manager of the CGAL Project       http://www.cgal.org/
>> R&D Engineer at GeometryFactory           http://www.geometryfactory.com/
>>
>> --
>> You are currently subscribed to cgal-discuss.
>> To unsubscribe or access the archives, go to
>> https://lists-sop.inria.fr/wws/info/cgal-discuss
>>
>
>



Archive powered by MHonArc 2.6.16.

Top of Page