<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr><td id="DWT360" style="font: inherit;" valign="top">Dear Dr. Grindeanu,<br><br>Thank you very much for your kindly reply. With the help of CMake I have successfully build the libraries. There are 7 libs generated:<br>cgma_init.lib<br>cholla.lib<br>cubit_facet.lib<br>cubit_facetboolstub.lib<br>cubit_geom.lib<br>cubit_util.lib<br>cubit_virtual.lib<br><br></td></tr></tbody></table></blockquote>Hello,<br>So I assume you are on the main branch.<br>You can't use CGM without a geometry engine. Did you read my previous e-mail?<br><br>You will need to configure with OCC or Cubit. <br>Sorry, I can't be of more help. <br>Iulian<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr><td style="font: inherit;" valign="top">I tried to build a simple test "brick.cpp", however, there are some errors when run the example:<br><br>Facet-based geometry modification is a beta capability.<br>ERROR: This capability is currently disabled.<br>To enable this capability, issue the command 'set developer commands on'.<br>ERROR: In GeometryModifyTool::brick<br> Problem creating a brick.<br>Assertion failed: brick != 0, file ..\test\brick.cpp, line 42<br><br><br>I would like to do a simple test:<br>1) build a box and a sphere with both center at (0,0,0) and size
1;<br>2) do boolean operations such as intersection between the box and sphere;<br>3) output the result to an OFF file.<br><br>Could anyone give me such a simple example?<br><br>Thanks,<br>Zhanghong Tang<br><br><br>--- On <b>Fri, 11/2/12, Iulian Grindeanu <i><iulian@mcs.anl.gov></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Iulian Grindeanu <iulian@mcs.anl.gov><br>Subject: Re: [cgma-dev] How to build the CGMA on Windows 7 64bit + VS2010?<br>To: "Zhanghong Tang" <tangzhanghong98@yahoo.com><br>Cc: cgma-dev@mcs.anl.gov<br>Date: Friday, November 2, 2012, 11:21 PM<br><br><div id="yiv1014193871"><style>#yiv1014193871 p {margin:0;}</style><div><div style="font-family:times new roman, new york, times, serif;font-size:12pt;color:#000000;">Hello,<br>I don't know if anybody tried building on Windows, maybe Jane or Tim know.<br>You have to configure
with a geometric engine. If you don't have Cubit for your platform, you will need to configure with OCC<br>It seems that you use cygwin. I know that OCC can be build on Windows, on VS 2010.<br>(http://www.opencascade.org/getocc/require/)<br><br>You then can try configuring on cygwin with occ. And then look at Makefiles generated to see what would be needed for projects in VS. Or is there a cmake-based build? I think that would be easier to port to Windows.<br><br>Iulian<br><br><br><hr id="yiv1014193871zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><table cellpadding="0" cellspacing="0" border="0"><tbody><tr><td style="font:inherit;" valign="top">Dear all,<br><br>I am trying to build the CGMA on Windows 7 64bit + VS2010. I have attached the project. However, there are hundreds of errors such as:<br><br>2>CGMAD.lib(DAG.obj) : error LNK2019: unresolved external symbol "public: __cdecl
DLIList<class ModelEntity *>::~DLIList<class ModelEntity *>(void)" (??1?$DLIList@PEAVModelEntity@@@@QEAA@XZ) referenced in function "public: enum CubitStatus __cdecl DAG::get_children_at_level(class DLIList<class ModelEntity *> &,int,class DLIList<class ModelEntity *> &)" (?get_children_at_level@DAG@@QEAA?AW4CubitStatus@@AEAV?$DLIList@PEAVModelEntity@@@@H0@Z)<br>2>CGMAD.lib(CAActuateSet.obj) : error LNK2001: unresolved external symbol "public: __cdecl DLIList<class ModelEntity *>::~DLIList<class ModelEntity *>(void)"
(??1?$DLIList@PEAVModelEntity@@@@QEAA@XZ)<br>2>CGMAD.lib(PartitionTool.obj) : error LNK2001: unresolved external symbol "public: __cdecl DLIList<class ModelEntity *>::~DLIList<class ModelEntity *>(void)" (??1?$DLIList@PEAVModelEntity@@@@QEAA@XZ)<br>2>CGMAD.lib(CompositeTool.obj) : error LNK2001: unresolved external symbol "public: __cdecl DLIList<class ModelEntity *>::~DLIList<class ModelEntity *>(void)" (??1?$DLIList@PEAVModelEntity@@@@QEAA@XZ)<br>2>CGMAD.lib(TopologyEntity.obj) : error LNK2001: unresolved external symbol "public: __cdecl DLIList<class ModelEntity *>::~DLIList<class ModelEntity *>(void)" (??1?$DLIList@PEAVModelEntity@@@@QEAA@XZ)<br><br><br>Could anyone help me to take a look at it and give me some hints on how to setup the project or modify some code to successfully build the project?<br><br>Thanks,<br>Zhanghong
Tang<br><br><br></td></tr></tbody></table></blockquote><br></div></div></div></blockquote></td></tr></tbody></table></blockquote><br></div></body></html>