8000 add debug POSTFIX `d` · Issue #62 · luoyetx/mini-caffe · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
This repository was archived by the owner on Jul 3, 2025. It is now read-only.

add debug POSTFIX d #62

Open
Open

Description

@GarrickLin

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")

Activity

  1. luoyetx commented on Feb 11, 2018

    @luoyetx
    Owner

    @GarrickLin would you like to send a pr?

  2. luoyetx commented on Feb 11, 2018

    @luoyetx
    Owner

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

  3. GarrickLin commented on Feb 11, 2018

    @GarrickLin
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0