Hi,

I am building BRL-CAD with Visual Studio Express 2010 and I keep
getting these path not found errors and the build fails. Mged does
build ok so I can continue working. I have disabled building docs and
extra sample geometry in cmake :

http://paste.ubuntu.com/1221121/

Is it possible to disable the building of regression tests ?

Cheers,
Abhi

On Fri, Aug 31, 2012 at 7:56 AM, Christopher Sean Morrison
<brl...@mac.com> wrote:
>
> Hi Oana,
>
> Comments below and welcome!
>
> On Aug 30, 2012, at 12:31 PM, oana niculaescu wrote:
>
> I am trying to lower the /mged/joint command to the /libged library. Looking
> after the calls and how other ged_*() commands are being integrated in the
> /libged library, I did the following things :
>
> - in the /mged/cmd.h file I added another entry
>
>
> That shouldn't be necessary, that header declares the old functions.
>
> - in the /mged/setup.c file I added another entry in the table "static
> struct cmdtab mged_cmdtab[]" (@l 62):
>
>
> {"joint", cmd_get_plain_wrapper, ged_joint},
>
>
> Aside from a typo , that looks good.
>
> - now moving to the /libged directory I created a joint.c file where I added
>
> ged_joint(struct ged *gedp, int argc, const char *argv[]); and its
> definition.
>
>
> You shouldn't need a declaration, but you do need the definition.
>
> - in the /libged/wdb_obj.c I added another entry to the table "static struct
> bu_cmdtab wdb_newcmds[]"
> {"joint", (int (*)(void *, int, const char *))ged_joint}.
>
>
> Don't think you need to do anything with wdb_obj.c as it's an older
> interface that is going away.
>
> The problem is that it doesn't work as I was expecting it, I get a series of
> errors:
>
> /home/elf/brlcad-7.22.0/src/libged/wdb_obj.c:9487:53: error: ‘ged_joint’
> undeclared here (not in a function)
>
> While you don't need to edit wdb_obj.c, you should understand what this
> error means.  Functions must be declared before they're used.  Usually,
> declarations go in headers and that is the problem here.  See include/ged.h
> and it should be all clear.
>
> I am probably still not understand completely how the libged commands are
> being registred, though I thought I grasped it while looking through other
> commands
>
> All you really need to do to register a new command is that line in setup.c;
> that's it.
>
> Cheers!
> Sean
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> BRL-CAD Developer mailing list
> brlcad-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to