Subject: CGAL users discussion list
List archive
- From: Mahmood Naderan <>
- To:
- Subject: Re: [cgal-discuss] CGAL demos and Qt4
- Date: Wed, 28 Jan 2009 10:40:34 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=pP1q1LEPDQXsgdL53AQXuxnRfO2OEH1qNTkZgJlusp9y+NyZJX5nc8NsWJXNGn1Xk6CAIrQjMdoCwi62AvxGKd2R0W+X0Qo4pyfLssbkMCeo0KDi3tPLLMp4i0fmmENOF9izEZmbABZtLBl3KQbpyLijJCTgHB5YFnFaRYQLHl8=;
>What is the output of CMake? Probably you miss the QGLViewer library. There
>should be a message in the CMake output that says the Alpha_shape_3 demo has
>not been configured.
>should be a message in the CMake output that says the Alpha_shape_3 demo has
>not been configured.
I found CMakeError.log in CMakeFiles directory. In that, there are three errors
regarding Q_WS_QWS, Q_WS_MAC and Q_WS_X11.
What is that preprocessor? In an example from installation manual, Q_WS_WIN
is for windows. How can I resolve that?
Here is the log file for Q_WS_QWS section:
File C:/Program Files/CGAL-3.4-beta1/demo/Alpha_shapes_3/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_X11
cmakeRequireSymbol(0,&Q_WS_X11);
#endif
return 0;
}
int main()
{
#ifndef Q_WS_X11
cmakeRequireSymbol(0,&Q_WS_X11);
#endif
return 0;
}
Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: C:/Program Files/CGAL-3.4-beta1/demo/Alpha_shapes_3/CMakeFiles/CMakeTmp
Change Dir: C:/Program Files/CGAL-3.4-beta1/demo/Alpha_shapes_3/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~1\MICROS~1.0\Common7\IDE\VCExpress.exe CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
Microsoft (R) Visual C++ Express Edition Version 9.0.30729.1.
Copyright (C) Microsoft Corp 2007. All rights reserved.
------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32 ------
Compiling...
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86
Copyright (C) Microsoft Corporation. All rights reserved.
cl /Od /I "C:\Qt\4.4.3\include" /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/Program Files/CGAL-3.4-beta1/demo/Alpha_shapes_3/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /W3 /c /Zi /TC /Zm1000
".\CheckSymbolExists.c"
CheckSymbolExists.c
.\CheckSymbolExists.c(8) : error C2065: 'Q_WS_QWS' : undeclared identifier
Build log was saved at "file://c:\Program Files\CGAL-3.4-beta1\demo\Alpha_shapes_3\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
cmTryCompileExec - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
--------------------
Mahmood Naderan
From: Laurent Rineau (GeometryFactory) <>
To:
Sent: Wednesday, January 28, 2009 9:11:34 PM
Subject: Re: [cgal-discuss] CGAL demos and Qt4
On Wednesday 28 January 2009 18:26:56 Mahmood Naderan wrote:
> Hi,
> I did not find any information about which demo(s) uses Qt4.
You are right. That can be found out having a look at the CMakeLists.txt of
each demo.
In CGAL-3.4, the demo that use Qt4 are:
demo/Alpha_shapes_3
demo/Circular_kernel_2
demo/GraphicsView
demo/Polygon
demo/Polyhedron
demo/Surface_mesher
demo/Triangulation_2
> I found that main function of Alpha_shapes_3 uses Qt4.
> After using Cmake to create .sln project for that, the build
> process does not create any executable file.
What is the output of CMake? Probably you miss the QGLViewer library. There
should be a message in the CMake output that says the Alpha_shape_3 demo has
not been configured.
> In the manual, there are only general information regarding Qt4
> and CGAL. I remember that in previous versions of CGAL manual,
> there were examples about how to create, call and manipulate
> Qt objects (Qt_widget), signals and .... Are there such information
> in this version of manual?
No. We have decided that the Qt4 documentation contains better tutorials and
reference pages that what we could ship in the CGAL manual.
There exists only some pages about the CGAL classes that have been created to
interact with the Graphics View Framework of Qt4:
http://www.cgal.org/Manual/3.4/doc_html/cgal_manual/GraphicsView/Chapter_main.html
--
Laurent Rineau, PhD
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
- [cgal-discuss] CGAL demos and Qt4, Mahmood Naderan, 01/28/2009
- Re: [cgal-discuss] CGAL demos and Qt4, Laurent Rineau (GeometryFactory), 01/28/2009
- Re: [cgal-discuss] CGAL demos and Qt4, Mahmood Naderan, 01/28/2009
- Re: [cgal-discuss] CGAL demos and Qt4, Laurent Rineau (GeometryFactory), 01/28/2009
- Re: [cgal-discuss] CGAL demos and Qt4, Mahmood Naderan, 01/29/2009
- Re: [cgal-discuss] CGAL demos and Qt4, Laurent Rineau (GeometryFactory), 01/28/2009
- Re: [cgal-discuss] CGAL demos and Qt4, Mahmood Naderan, 01/28/2009
- Re: [cgal-discuss] CGAL demos and Qt4, Laurent Rineau (GeometryFactory), 01/28/2009
Archive powered by MHonArc 2.6.16.