I cant get imread to work, its same problem as this guy:
I just dont wannt use the workaround. Anyone know the problem?
Using windows 7 64bit
The problem was due to mixing up debugging and release builds. If building in debug mode, the debug libs are needed. On unix this dont seem to be a problem.
Jav_Rock
imread(filename) doesn't load any data if you use release libraries in debug mode. This is weird, I think it should'n happen but actually it does. Check this question asking about the reason why this is happening.
来源:https://stackoverflow.com/questions/7817704/opencv-2-3-imread-not-working