Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer
- Date: Fri, 05 Sep 2014 14:44:19 +0200
- Organization: GeometryFactory
The warning
WARNING: Target "T3_demo" requests linking to directory
"C:/dev/libQGLViewer-2.5.3/QGLViewer/debug". Targets may link only to
libraries. CMake is dropping the item.
tells you that you should not point to a directory but to the library directly.
Alternatively you can follow what is written here:
http://www.cgal.org/windows_installation.html#libQGLViewer
Sebastien.
On 09/05/2014 02:39 PM, john24 wrote:
Hello guys,
I am trying to build one of the demos for visual studio 2010 but having
weird issues.
Here is the Cmake output:
/Build type: Release
USING CXXFLAGS = ' /DWIN32 /D_WINDOWS /W3 /GR /EHsc
-D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE
-D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS /fp:strict /fp:except-
/wd4503 /bigobj /MD /O2 /Ob2 /D NDEBUG'
USING EXEFLAGS = ' /machine:X86 /INCREMENTAL:NO'
Targetting Visual Studio 10 2010
Target build enviroment supports auto-linking
Using VC10 compiler.
Generator uses intermediate configuration directory: $(Configuration)
Requested component: Qt4
Requested component: MPFR
Requested component: GMP
Found QGLViewer:
optimized;C:/dev/libQGLViewer-2.5.3/QGLViewer/release;debug;C:/dev/libQGLViewer-2.5.3/QGLViewer/debug
Configuring done
WARNING: Target "T3_demo" requests linking to directory
"C:/dev/libQGLViewer-2.5.3/QGLViewer/debug". Targets may link only to
libraries. CMake is dropping the item.
WARNING: Target "T3_demo" requests linking to directory
"C:/dev/libQGLViewer-2.5.3/QGLViewer/debug". Targets may link only to
libraries. CMake is dropping the item.
WARNING: Target "T3_demo" requests linking to directory
"C:/dev/libQGLViewer-2.5.3/QGLViewer/release". Targets may link only to
libraries. CMake is dropping the item.
WARNING: Target "T3_demo" requests linking to directory
"C:/dev/libQGLViewer-2.5.3/QGLViewer/release". Targets may link only to
libraries. CMake is dropping the item.
WARNING: Target "T3_demo" requests linking to directory
"C:/dev/libQGLViewer-2.5.3/QGLViewer/release". Targets may link only to
libraries. CMake is dropping the item.
WARNING: Target "T3_demo" requests linking to directory
"C:/dev/libQGLViewer-2.5.3/QGLViewer/release". Targets may link only to
libraries. CMake is dropping the item.
WARNING: Target "T3_demo" requests linking to directory
"C:/dev/libQGLViewer-2.5.3/QGLViewer/release". Targets may link only to
libraries. CMake is dropping the item.
WARNING: Target "T3_demo" requests linking to directory
"C:/dev/libQGLViewer-2.5.3/QGLViewer/release". Targets may link only to
libraries. CMake is dropping the item.
Generating done/
It does make a project but when I compile the code in visual studio I get 75
unresolved externals.
I think I have linked libQGLViewer properly, here is an image:
<http://cgal-discuss.949826.n4.nabble.com/file/n4659785/Untitled.png>
Thanks
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-Cmake-issue-with-libQGLViewer-tp4659785.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] CGAL Cmake issue with libQGLViewer, john24, 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, Sebastien Loriot (GeometryFactory), 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, john24, 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, Sebastien Loriot (GeometryFactory), 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, john24, 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, Sebastien Loriot (GeometryFactory), 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, john24, 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, Sebastien Loriot (GeometryFactory), 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, john24, 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, Sebastien Loriot (GeometryFactory), 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, john24, 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, Sebastien Loriot (GeometryFactory), 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, john24, 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, Sebastien Loriot (GeometryFactory), 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, john24, 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, Sebastien Loriot (GeometryFactory), 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, john24, 09/05/2014
- Re: [cgal-discuss] CGAL Cmake issue with libQGLViewer, Sebastien Loriot (GeometryFactory), 09/05/2014
Archive powered by MHonArc 2.6.18.