Vector/ASC/vector_asc_export.h missing

Issue #8 resolved
Former user created an issue

Vector/ASC/vector_asc_export.h is included in File.h and seems to be missing. This prevents the visual studio project from building. :-/

What a pity, I'd really like to test this! :) Thanks for looking into it, Flo

Comments (3)

  1. Tobias Lorenz repo owner

    Hi, this file is normally created by CMake using the command generate_export_header automatically.

    See here: https://bitbucket.org/tobylorenz/vector_asc/src/master/src/Vector/ASC/CMakeLists.txt#lines-238

    Also see here the CMake documentation of the command: https://cmake.org/cmake/help/latest/module/GenerateExportHeader.html

    The generated file contains the export definitions suitable for your compiler. On my Linux system with gcc compiler it looks like this:

    #ifndef VECTOR_ASC_EXPORT_H
    #define VECTOR_ASC_EXPORT_H
    
    #ifdef VECTOR_ASC_STATIC_DEFINE
    #  define VECTOR_ASC_EXPORT
    #  define VECTOR_ASC_NO_EXPORT
    #else
    #  ifndef VECTOR_ASC_EXPORT
    #    ifdef VECTOR_ASC_EXPORTS
            /* We are building this library */
    #      define VECTOR_ASC_EXPORT __attribute__((visibility("default")))
    #    else
            /* We are using this library */
    #      define VECTOR_ASC_EXPORT __attribute__((visibility("default")))
    #    endif
    #  endif
    
    #  ifndef VECTOR_ASC_NO_EXPORT
    #    define VECTOR_ASC_NO_EXPORT __attribute__((visibility("hidden")))
    #  endif
    #endif
    
    #ifndef VECTOR_ASC_DEPRECATED
    #  define VECTOR_ASC_DEPRECATED __attribute__ ((__deprecated__))
    #endif
    
    #ifndef VECTOR_ASC_DEPRECATED_EXPORT
    #  define VECTOR_ASC_DEPRECATED_EXPORT VECTOR_ASC_EXPORT VECTOR_ASC_DEPRECATED
    #endif
    
    #ifndef VECTOR_ASC_DEPRECATED_NO_EXPORT
    #  define VECTOR_ASC_DEPRECATED_NO_EXPORT VECTOR_ASC_NO_EXPORT VECTOR_ASC_DEPRECATED
    #endif
    
    #if 0 /* DEFINE_NO_DEPRECATED */
    #  ifndef VECTOR_ASC_NO_DEPRECATED
    #    define VECTOR_ASC_NO_DEPRECATED
    #  endif
    #endif
    
    #endif /* VECTOR_ASC_EXPORT_H */
    

    Bye,

    Tobias

  2. Log in to comment