mivp-agent / moos-ivp-agent

Model agnostic ML tooling for MOOS-IvP
https://mivp-agent.github.io/
MIT License
8 stars 3 forks source link

Moos-ivp linking error #14

Open CarterFendley opened 1 year ago

CarterFendley commented 1 year ago

In at least revision 10144 there is a linking error on linux. See the failing github action here. The OSX actions are passing though.

[ 67%] Linking CXX executable ../../../bin/uFldTagManagerAgent
/home/runner/work/moos-ivp-agent/moos-ivp-agent/moos-ivp/lib/libcontacts.a(NodeRecordUtils.cpp.o): In function `extrapolateRecord(NodeRecord const&, double, double)':
/home/runner/work/moos-ivp-agent/moos-ivp-agent/moos-ivp/ivp/src/lib_contacts/NodeRecordUtils.cpp:63: undefined reference to `LinearExtrapolator::LinearExtrapolator()'
/home/runner/work/moos-ivp-agent/moos-ivp-agent/moos-ivp/ivp/src/lib_contacts/NodeRecordUtils.cpp:70: undefined reference to `LinearExtrapolator::getPosition(double&, double&, double)'
collect2: error: ld returned 1 exit status
src/uFldTagManagerAgent/CMakeFiles/uFldTagManagerAgent.dir/build.make:145: recipe for target '../bin/uFldTagManagerAgent' failed
make[2]: *** [../bin/uFldTagManagerAgent] Error 1
make[1]: *** [src/uFldTagManagerAgent/CMakeFiles/uFldTagManagerAgent.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:395: recipe for target 'src/uFldTagManagerAgent/CMakeFiles/uFldTagManagerAgent.dir/all' failed
[ 71%] Linking CXX executable ../../../bin/uFldFlagManagerAgent
[ 71%] Built target uFldFlagManagerAgent
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2

The revision has been fixed to 9767 in the github workflow (same as the docker container). Last known working revision is 10090.

En-lightener commented 5 months ago

May I ask where is the repaired 9767 version? Is there a github download URL for 9767 version

CarterFendley commented 5 months ago

Hi @En-lightener,

The moos-ivp project is historically distributed via subversion although git / github mirrors do exist. If using subversion, you can checkout (clone) the respository through the same method used in the github-actions:

svn co -r 9767 https://oceanai.mit.edu/svn/moos-ivp-aro/trunk/ moos-ivp

Admittedly the official git mirror seems to be difficult to pull a specific SVN revision number from. Although it looks like commit 76b35bf is associated with revision 9770, which is most likely close enough if you want to checkout the repository at that commit.