[cgma-dev] How to build the CGMA on Windows 7 64bit + VS2010?
Iulian Grindeanu
iulian at mcs.anl.gov
Sat Nov 3 09:30:45 CDT 2012
----- Original Message -----
| Dear Dr. Grindeanu,
| Thank you very much for your kindly reply. With the help of CMake I
| have successfully build the libraries. There are 7 libs generated:
| cgma_init.lib
| cholla.lib
| cubit_facet.lib
| cubit_facetboolstub.lib
| cubit_geom.lib
| cubit_util.lib
| cubit_virtual.lib
Hello,
So I assume you are on the main branch.
You can't use CGM without a geometry engine. Did you read my previous e-mail?
You will need to configure with OCC or Cubit.
Sorry, I can't be of more help.
Iulian
| I tried to build a simple test "brick.cpp", however, there are some
| errors when run the example:
| Facet-based geometry modification is a beta capability.
| ERROR: This capability is currently disabled.
| To enable this capability, issue the command 'set developer commands
| on'.
| ERROR: In GeometryModifyTool::brick
| Problem creating a brick.
| Assertion failed: brick != 0, file ..\test\brick.cpp, line 42
| I would like to do a simple test:
| 1) build a box and a sphere with both center at (0,0,0) and size 1;
| 2) do boolean operations such as intersection between the box and
| sphere;
| 3) output the result to an OFF file.
| Could anyone give me such a simple example?
| Thanks,
| Zhanghong Tang
| --- On Fri, 11/2/12, Iulian Grindeanu <iulian at mcs.anl.gov> wrote:
| | From: Iulian Grindeanu <iulian at mcs.anl.gov>
| | Subject: Re: [cgma-dev] How to build the CGMA on Windows 7 64bit +
| | VS2010?
| | To: "Zhanghong Tang" <tangzhanghong98 at yahoo.com>
| | Cc: cgma-dev at mcs.anl.gov
| | Date: Friday, November 2, 2012, 11:21 PM
| | Hello,
| | I don't know if anybody tried building on Windows, maybe Jane or Tim
| | know.
| | You have to configure with a geometric engine. If you don't have
| | Cubit
| | for your platform, you will need to configure with OCC
| | It seems that you use cygwin. I know that OCC can be build on
| | Windows,
| | on VS 2010.
| | (http://www.opencascade.org/getocc/require/)
| | 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.
| | Iulian
| | | Dear all,
| | | 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:
| | | 2>CGMAD.lib(DAG.obj) : error LNK2019: unresolved external symbol
| | | "public: __cdecl DLIList<class ModelEntity *>::~DLIList<class
| | | ModelEntity *>(void)" (??1?$DLIList at PEAVModelEntity@@@@QEAA at 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 at DAG@@QEAA?AW4CubitStatus@@AEAV?$DLIList at PEAVModelEntity@@@@H0 at Z)
| | | 2>CGMAD.lib(CAActuateSet.obj) : error LNK2001: unresolved external
| | | symbol "public: __cdecl DLIList<class ModelEntity
| | | *>::~DLIList<class
| | | ModelEntity *>(void)" (??1?$DLIList at PEAVModelEntity@@@@QEAA at XZ)
| | | 2>CGMAD.lib(PartitionTool.obj) : error LNK2001: unresolved
| | | external
| | | symbol "public: __cdecl DLIList<class ModelEntity
| | | *>::~DLIList<class
| | | ModelEntity *>(void)" (??1?$DLIList at PEAVModelEntity@@@@QEAA at XZ)
| | | 2>CGMAD.lib(CompositeTool.obj) : error LNK2001: unresolved
| | | external
| | | symbol "public: __cdecl DLIList<class ModelEntity
| | | *>::~DLIList<class
| | | ModelEntity *>(void)" (??1?$DLIList at PEAVModelEntity@@@@QEAA at XZ)
| | | 2>CGMAD.lib(TopologyEntity.obj) : error LNK2001: unresolved
| | | external
| | | symbol "public: __cdecl DLIList<class ModelEntity
| | | *>::~DLIList<class
| | | ModelEntity *>(void)" (??1?$DLIList at PEAVModelEntity@@@@QEAA at XZ)
| | | 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?
| | | Thanks,
| | | Zhanghong Tang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20121103/d0dac6f5/attachment.html>
More information about the cgma-dev
mailing list