Bugs item #3609520, was opened at 2013-03-29 18:30
Message generated for change (Comment added) made by cprecup
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=640802&aid=3609520&group_id=105292

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Winston Wu (winstonwu91)
Assigned to: Nobody/Anonymous (nobody)
Summary: BRL-CAD svn version failed to build with libavoid

Initial Comment:
Version: BRL-CAD 7.23.1 svn 54980 & adaptagrams most recent GIT version

Problem: Compiled failed with libavoid with this error:

Scanning dependencies of target test_bottess
[ 90%] Building C object src/libgcv/CMakeFiles/test_bottess.dir/test_bottess.c.o
[ 90%] Building CXX object src/libged/CMakeFiles/libged.dir/dag.cpp.o
Linking C executable ../../bin/test_bottess
[ 90%] Built target test_bottess
[ 90%] Building C object src/libged/CMakeFiles/libged.dir/dbip.c.o
/home/highcheng/src/ENGINEERING/brlcad/src/libged/dag.cpp: In function ‘void 
position_node(_ged_dag_data*, bool, Avoid::ShapeRef*, Avoid::ShapeRef*, 
unsigned int&, std::vector<double>&)’:
/home/highcheng/src/ENGINEERING/brlcad/src/libged/dag.cpp:132:22: error: ‘const 
class Avoid::Polygon’ has no member named ‘getBoundingRect’
/home/highcheng/src/ENGINEERING/brlcad/src/libged/dag.cpp:140:20: error: ‘const 
class Avoid::Polygon’ has no member named ‘getBoundingRect’
/home/highcheng/src/ENGINEERING/brlcad/src/libged/dag.cpp: In function ‘int 
add_objects(ged*, _ged_dag_data*)’:
/home/highcheng/src/ENGINEERING/brlcad/src/libged/dag.cpp:522:18: error: ‘class 
Avoid::Router’ has no member named ‘setOrthogonalNudgeDistance’
/home/highcheng/src/ENGINEERING/brlcad/src/libged/dag.cpp: In function ‘void 
graph_positions(ged*, _ged_dag_data*)’:
/home/highcheng/src/ENGINEERING/brlcad/src/libged/dag.cpp:649:23: error: ‘const 
class Avoid::Polygon’ has no member named ‘getBoundingRect’




----------------------------------------------------------------------

Comment By: cprecup (cprecup)
Date: 2013-03-30 08:50

Message:
Tom, the changes were made a long time ago (~8 months). Here are the
commits that reflect the changes:
https://github.com/mjwybrow/adaptagrams/commit/c64d67790ca0546e8d04ba3fe03dd73174cddc58,
https://github.com/mjwybrow/adaptagrams/commit/35451d9e8ab66addcdfc49078cbb637f61cf076a.

----------------------------------------------------------------------

Comment By: Tom Browder (tbrowder2)
Date: 2013-03-30 08:46

Message:
That's correct, Sean, definitely a new API, and I don't see any stable
releases marked so far and haven't yet found where/when they changed the
API.

----------------------------------------------------------------------

Comment By: Sean Morrison (brlcad)
Date: 2013-03-30 08:39

Message:
I suspect that libavoid has simply changed API since the version was used
last summer, especially the git version.  It was probably developed against
the latest stable version, not their development sources.  Note that is
experimental code so if you're not planning on working on the dag command,
you can just turn it off.

----------------------------------------------------------------------

Comment By: Winston Wu (winstonwu91)
Date: 2013-03-30 07:33

Message:
HI tbrowder2,

the result is:

Linux caonima 3.6.11-030611-generic #201212171335 SMP Mon Dec 17 18:36:00
UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


----------------------------------------------------------------------

Comment By: Tom Browder (tbrowder2)
Date: 2013-03-30 07:31

Message:
That's okay, I think have enough to go on.  I've never used ccmake so it'll
be a new experience.

Oops, what system/OS are you running on/under?  If  *nix, execute 'uname
-a' and let us know the results.

-Tom  

----------------------------------------------------------------------

Comment By: Winston Wu (winstonwu91)
Date: 2013-03-30 07:25

Message:
Hi tbrowder2,

I configured my BRLCAD by ccmake, so I don't know how to find the cmake
configure line. But I can upload my CMakeCache.txt. It might help.

----------------------------------------------------------------------

Comment By: Tom Browder (tbrowder2)
Date: 2013-03-30 04:23

Message:
Can you please post your cmake configure line?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=640802&aid=3609520&group_id=105292

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to