You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, everyone. When I try to compile this tool on mac, I got the following errors:
Undefined symbols for architecture x86_64:
"_alWalk", referenced from:
_alNew in edgetypes.o
"_alWalkBack", referenced from:
_alNew in edgetypes.o
"_crWalk", referenced from:
_crNew in edgetypes.o
"_crWalkBack", referenced from:
_crNew in edgetypes.o
"_egressWalk", referenced from:
_egressNew in edgetypes.o
"_egressWalkBack", referenced from:
_egressNew in edgetypes.o
"_elapseTimeWalk", referenced from:
_elapseTimeNew in edgetypes.o
"_elapseTimeWalkBack", referenced from:
_elapseTimeNew in edgetypes.o
"_haWalk", referenced from:
_haNew in edgetypes.o
"_haWalkBack", referenced from:
_haNew in edgetypes.o
"_hbWalk", referenced from:
_hbNew in edgetypes.o
"_hbWalkBack", referenced from:
_hbNew in edgetypes.o
"_headwayWalk", referenced from:
_headwayNew in edgetypes.o
"_headwayWalkBack", referenced from:
_headwayNew in edgetypes.o
"_linkWalk", referenced from:
_linkNew in edgetypes.o
"_linkWalkBack", referenced from:
_linkNew in edgetypes.o
"_streetWalk", referenced from:
_streetNew in edgetypes.o
"_streetWalkBack", referenced from:
_streetNew in edgetypes.o
"_tbWalk", referenced from:
_tbNew in edgetypes.o
"_tbWalkBack", referenced from:
_tbNew in edgetypes.o
"_waitWalk", referenced from:
_waitNew in edgetypes.o
"_waitWalkBack", referenced from:
_waitNew in edgetypes.o
ld: symbol(s) not found for architecture x86_64
The command I use is python setup.py install. My mac is macOS High Sierra 10.13.4. I have made the following modifications to make it pass C99 standard. Thanks if anyone can help!
-- a/core/hashtable_itr.h
+++ b/core/hashtable_itr.h
@@ -28,20 +28,12 @@ hashtable_iterator(struct hashtable *h);
/* hashtable_iterator_key
* - return the value of the (key,value) pair at the current position */
-extern inline void *
-hashtable_iterator_key(struct hashtable_itr *i)
-{
- return i->e->k;
-}
+void *hashtable_iterator_key(struct hashtable_itr *i);
/*****************************************************************************/
/* value - return the value of the (key,value) pair at the current position */
-extern inline void *
-hashtable_iterator_value(struct hashtable_itr *i)
-{
- return i->e->v;
-}
The text was updated successfully, but these errors were encountered:
Hello, everyone. When I try to compile this tool on mac, I got the following errors:
The command I use is
python setup.py install
. My mac ismacOS High Sierra 10.13.4
. I have made the following modifications to make it pass C99 standard. Thanks if anyone can help!The text was updated successfully, but these errors were encountered: