-
Notifications
You must be signed in to change notification settings - Fork 769
Added a libfreenect2_api export macro - to apply __declspec(dllexport) i... #69
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
Conversation
could you please rename libfreenectExport.h to libfreenect2_export.h to be consistent with the naming of the other headers? |
I have noticed that this export macro is already defined the in the header filer under libfreenect2/include/libfreenect2.h - but this file is not used anywhere, as far as I can see - is this a leftover from earlier - should it be removed? |
hm, actually that is the C API, which should wrap the C++ API, but nobody implemented it so far ;) |
77df7cb
to
610c222
Compare
Ahh. I have renamed the header file and corrected accordingly. |
610c222
to
0869faa
Compare
some more changes:
|
11f9a9f
to
6410f35
Compare
Updated accordingly. |
Is this problem solved? I try this new version but still no .lib file generate and the run time error shows that it still needs a libfreenect.lib |
Have you merged this pull-request and compiling using VS? Try look at the LIBFREENECT2_API macro and see what it is defined as. It should be something like __dllspec export - if not, do you have a compiler flag/define '_win32' - if not, this might be the problem and we might need to add a or statement or perhaps add something in the cake files. |
…) infront of all classes that is used from the library libfreenect2. If they are not specified VS won't generate a .lib file and protonect will give linking errors.
6410f35
to
a436dbd
Compare
…tion dependend macros; fixes OpenKinect#100, includes OpenKinect#69
Should I just close this pull request, as it is handled in #103 ? |
...nfront of all classes that is used from the library libfreenect2.
If they are not specified VS won't generate a .lib file and protonect will give linking errors.