leihui6 / aisparse Goto Github PK
View Code? Open in Web Editor NEWparse info from vdm's msg
parse info from vdm's msg
int convert_to_strascii(const char * _str, size_t _before_count, size_t _count, std::string & _dst, size_t _len);
函数声明了未定义
swig编译时报错
> python3 setup.py build_ext --inplace
....
vdm_parse_core.cpp: In function ‘int convert_to_hexdecimal(char*, size_t, size_t, char*, size_t)’:
vdm_parse_core.cpp:109:43: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
_snprintf_s(&_dst[i], 1, 1, "%X", result);
^
In file included from /usr/include/features.h:364:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:502,
from /usr/include/c++/6/cstdio:41,
from vdm_parse_core.h:14,
from vdm_parse_core.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: initializing argument 3 of ‘int snprintf(char*, size_t, const char*, ...)’
__NTH (snprintf (char *__restrict __s, size_t __n,
^
vdm_parse_core.cpp:112:38: error: invalid conversion from ‘int’ to ‘const char*’ [-fpermissive]
_snprintf_s(&_dst[i], 1, 1, "%X", 0);
^
In file included from /usr/include/features.h:364:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:502,
from /usr/include/c++/6/cstdio:41,
from vdm_parse_core.h:14,
from vdm_parse_core.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: note: initializing argument 3 of ‘int snprintf(char*, size_t, const char*, ...)’
__NTH (snprintf (char *__restrict __s, size_t __n,
^
vdm_parse_core.cpp:113:3: error: ‘d’ was not declared in this scope
}d
^
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.