Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Polyhedron file loading problem

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Polyhedron file loading problem


Chronological Thread 
  • From: Rob <>
  • To:
  • Subject: Re: [cgal-discuss] Polyhedron file loading problem
  • Date: Thu, 03 Dec 2009 06:02:26 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:openpgp:content-type; b=TaHeSOtqMn1soETDv96oExzBBEbeQqa6PtAFDy/Hyg6eHuP52rA8Pbvv0/vw3Zgwlo hTHM/QXaoBpLc+BgckPZuKeRsP9Mi1Em0ootI0vCi2zTKRueTzr4JoYIwO2epAiiTv6H 9Sh7k/UlB6a8vlMGOortUBohSm9h9YWSfRV0U=
  • Openpgp: url=

Stephane,

Ineed, this was the issue! The demo (along with a few others) look
for the shared libraries (plugins) in their current directory. However,
cmake places them in the lib directory. Is this the intended behavior?
It's not documented, and is a bit confusing; but I'm just glad to have
it working now. Thank you for your help! Perhaps it would make sense
to have CMake create a dynamic link to these plugins, or to have the
demos search for the relevant plugins in some default directory in which
they are placed after being built.

Cheers,
Rob

Stephane Tayeb wrote:
> Rob wrote:
>> Hello,
>>
>> I just downloaded and compiled a fresh copy of CGAL-3.5 and am running
>> into the following issue. When I run any demo which is supposed to load
>> a polyhedron_3, CGAL complains that it cannot load the file. For
>> example, if I try to open a mesh (any .off file from the data directory
>> that comes with the demos) in the Polyhedron demo, I get a message box
>> which says "File <file here> has not a known file format". If I click
>> ok, the message box goes away, but the polyhedron is not created. Any
>> ideas what might be causing this? CGAL and the demos compile without
>> error.
>>
>> Cheers,
>> Rob
>>
> Hi,
>
> The polyhedron demo uses several Qt4 plugins (one of them is used to
> read off files, liboff_plugin.so). Could you confirm that those
> plugins are loaded at Polyhedron demo start please ?
>
> If I remember well, cmake could put the compiled plugins (dynamic
> libraries) either in the Polyhedron demo directory or in CGAL-3.5/lib
> directory.
>
> Best,


Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.16.

Top of Page