Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracking_export.h 这个文件有吗 #1

Closed
jueyisan opened this issue Oct 27, 2020 · 2 comments
Closed

tracking_export.h 这个文件有吗 #1

jueyisan opened this issue Oct 27, 2020 · 2 comments

Comments

@jueyisan
Copy link

No description provided.

@Rainweic
Copy link
Owner

这个文件是自动生成的 cmakelist是否某些参数被你修改了呢 建议使用clion编译试试

下面是tracking_export.h的内容 位于build/tracking


#ifndef TRACKING_EXPORT_H
#define TRACKING_EXPORT_H

#ifdef TRACKING_STATIC_DEFINE
#  define TRACKING_EXPORT
#  define TRACKING_NO_EXPORT
#else
#  ifndef TRACKING_EXPORT
#    ifdef tracking_EXPORTS
        /* We are building this library */
#      define TRACKING_EXPORT __attribute__((visibility("default")))
#    else
        /* We are using this library */
#      define TRACKING_EXPORT __attribute__((visibility("default")))
#    endif
#  endif

#  ifndef TRACKING_NO_EXPORT
#    define TRACKING_NO_EXPORT __attribute__((visibility("hidden")))
#  endif
#endif

#ifndef TRACKING_DEPRECATED
#  define TRACKING_DEPRECATED __attribute__ ((__deprecated__))
#endif

#ifndef TRACKING_DEPRECATED_EXPORT
#  define TRACKING_DEPRECATED_EXPORT TRACKING_EXPORT TRACKING_DEPRECATED
#endif

#ifndef TRACKING_DEPRECATED_NO_EXPORT
#  define TRACKING_DEPRECATED_NO_EXPORT TRACKING_NO_EXPORT TRACKING_DEPRECATED
#endif

#if 0 /* DEFINE_NO_DEPRECATED */
#  ifndef TRACKING_NO_DEPRECATED
#    define TRACKING_NO_DEPRECATED
#  endif
#endif

#endif /* TRACKING_EXPORT_H */

@jueyisan
Copy link
Author

谢谢,我已经编译成功了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants