Coder Social home page Coder Social logo

Linker Error about rc_genicam_api HOT 5 CLOSED

roboception avatar roboception commented on September 26, 2024
Linker Error

from rc_genicam_api.

Comments (5)

heikohimu avatar heikohimu commented on September 26, 2024

I am not an expert regarding Windows and Visual Studio, but I think that MDd instead of MD means that the linker is looking for a debug version of the library, which is not available. I do not know how to tell Visual Studio to use the non-debug libraries instead. Can you try compiling your code as release instead?

from rc_genicam_api.

navona avatar navona commented on September 26, 2024

I allready tried this. Then the error says:
LINK : fatal error LNK1104: Cannot open file "GCBase_MD__v3_0.lib"

from rc_genicam_api.

heikohimu avatar heikohimu commented on September 26, 2024

I think it might be due to some pragmas in the GenICam reference implementation that try automatic linking. Can you try defining the symbol GENICAM_NO_AUTO_IMPLIB in your project with "/DGENICAM_NO_AUTO_IMPLIB"?

from rc_genicam_api.

navona avatar navona commented on September 26, 2024

I added the line as suggested:
#define GENICAM_NO_AUTO_IMPLIB "/DGENICAM_NO_AUTO_IMPLIB"

This solved the problem. Thank you!!

from rc_genicam_api.

heikohimu avatar heikohimu commented on September 26, 2024

Good!

#define GENICAM_NO_AUTO_IMPLIB without anything afterwards would have been enough. Or, better set "/DGENICAM_NO_AUTO_IMPLIB" in your project file so that it is defined for all your modules.

from rc_genicam_api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.