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

add debug POSTFIX d #62

Open
GarrickLin opened this issue Feb 10, 2018 · 3 comments
Open

add debug POSTFIX d #62

GarrickLin opened this issue Feb 10, 2018 · 3 comments

Comments

@GarrickLin
Copy link

I found that I cannot use release version of caffe.dll and caffe.lib when I try to debug my project. It is a good idea to set postfix d to distinguish them just like opencv does.

set(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Set debug library postfix")
@luoyetx
Copy link
Owner

luoyetx commented Feb 11, 2018

@GarrickLin would you like to send a pr?

@luoyetx
Copy link
Owner

luoyetx commented Feb 11, 2018

@GarrickLin you can link caffe.lib (release version) for both debug and release in your project. Thus, you need to compile release version first.

@GarrickLin
Copy link
Author

I can link caffe.lib successfully but cause an error (something like caffe parser errors) during runtime.

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