opencv error link error in compresive tracking - opencv

Error 21 error LNK2019: unresolved external symbol "public: void __thiscall CompressiveTracker::processFrame(class cv::Mat &,class cv::Rect_ &)" (?processFrame#CompressiveTracker##QAEXAAVMat#cv##AAV?$Rect_#H#3##Z) referenced in function _main C:\Users\anc6kor\Documents\Visual Studio 2010\Projects\CT\CT\CT.obj CT

Related

CodeGuard in C++Builder 11 Alexandria

I can't get C++Builder 11 to link a project with CodeGuard. Not even with a new C++Builder VCL Application project.
I have tried various permutations of implib options (-a -c -f) on cg32.dll to create cg32.lib. The linker always comes back with multiple "unresolved external" errors from PROJECT1.OBJ / UNIT1.OBJ, like so:
[ilink32 Error] Error: Unresolved external '_CG_DESC' referenced from C:\PROJECT\TEST\000\WIN32\DEBUG\PROJECT1.OBJ
[ilink32 Error] Error: Unresolved external '_CG_THIS' referenced from C:\PROJECT\TEST\000\WIN32\DEBUG\UNIT1.OBJ
[ilink32 Error] Error: Unresolved external '_CG_DTORTHIS' referenced from C:\PROJECT\TEST\000\WIN32\DEBUG\UNIT1.OBJ
[ilink32 Error] Error: Unresolved external '_CG_DA_EPY' referenced from C:\PROJECT\TEST\000\WIN32\DEBUG\UNIT1.OBJ
[ilink32 Error] Error: Unresolved external '_CG_A_BP' referenced from C:\PROJECT\TEST\000\WIN32\DEBUG\UNIT1.OBJ
[ilink32 Error] Error: Unresolved external '_CG_A_PY' referenced from C:\PROJECT\TEST\000\WIN32\DEBUG\UNIT1.OBJ
[ilink32 Error] Error: Unresolved external '_CG_GDA_EGY' referenced from C:\PROJECT\TEST\000\WIN32\DEBUG\PROJECT1.OBJ
[ilink32 Error] Error: Unable to perform link
Failed
Elapsed time: 00:00:01.4
Am I missing something?

Error creating flutter app for iOS - Error (Xcode): Undefined symbol

--------------------------- Error Mensage:
Failed to build iOS app
Error output from Xcode build:
↳
2022-06-19 14:50:18.899 xcodebuild[39895:226134] Requested but did not find extension point
with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension
Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-19 14:50:18.899 xcodebuild[39895:226134] Requested but did not find extension point
with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in
com.apple.dt.IDEWatchSupportCore
2022-06-19 14:50:19.885 xcodebuild[39895:226172] DVTAssertions: Warning in
/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-20038/DTDeviceKitBase/D
TDKRemoteDeviceData.m:373
Details: (null) deviceType from 00008020-0008459A36B8003A was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x11d73a5d0>
Method: -platform
Thread: <NSThread: 0x600003501ec0>{number = 6, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any
useful information you can provide.
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/xk/24s15qjs3js_pbq9z13b7km00000gn/T/flutter_tools.XpLwrY/flutter_ios_build_temp_d
irundHWt/temporary_xcresult_bundle
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/geolocator_apple-1.2.2/ios
/Classes/GeolocatorPlugin.m:157:21: warning: 'openURL:' is deprecated: first deprecated in iOS
10.0 [-Wdeprecated-declarations]
openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/Target Support
Files/geolocator_apple/geolocator_apple-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS1
5.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1: note:
'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url
API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
NS_EXTENSION_UNAVAILABLE_IOS("");
^
1 warning generated.
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/geolocator_apple-1.2.2/ios
/Classes/GeolocatorPlugin.m:157:21: warning: 'openURL:' is deprecated: first deprecated in iOS
10.0 [-Wdeprecated-declarations]
openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/Target Support
Files/geolocator_apple/geolocator_apple-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS1
5.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1: note:
'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url
API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
NS_EXTENSION_UNAVAILABLE_IOS("");
^
1 warning generated.
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.1+7/ios/Classes
/CameraPlugin.m:596:13: warning: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first
deprecated in iOS 10.0 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead
[-Wdeprecated-declarations]
while (!OSAtomicCompareAndSwapPtrBarrier(old, newBuffer, (void **)&_latestPixelBuffer)) {
^
In module 'Darwin' imported from
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.1+7/ios/Classes
/CameraPlugin.m:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS1
5.5.sdk/usr/include/libkern/OSAtomicDeprecated.h:548:6: note:
'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwapPtrBarrier( void *__oldValue, void *__newValue, void * volatile
*__theValue );
^
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.1+7/ios/Classes
/CameraPlugin.m:806:11: warning: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first
deprecated in iOS 10.0 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead
[-Wdeprecated-declarations]
while (!OSAtomicCompareAndSwapPtrBarrier(pixelBuffer, nil, (void **)&_latestPixelBuffer)) {
^
In module 'Darwin' imported from
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.1+7/ios/Classes
/CameraPlugin.m:9:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS1
5.5.sdk/usr/include/libkern/OSAtomicDeprecated.h:548:6: note:
'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwapPtrBarrier( void *__oldValue, void *__newValue, void * volatile
*__theValue );
^
2 warnings generated.
2 warnings generated.
In file included from
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_mlkit_commons-0.2.0
/ios/Classes/MLKVisionImage+FlutterPlugin.m:1:
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_mlkit_commons-0.2.0
/ios/Classes/GoogleMlKitCommonsPlugin.h:12:22: warning: unused function 'getFlutterError'
[-Wunused-function]
static FlutterError *getFlutterError(NSError *error) {
^
1 warning generated.
In file included from
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_mlkit_commons-0.2.0
/ios/Classes/GoogleMlKitCommonsPlugin.m:1:
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_mlkit_commons-0.2.0
/ios/Classes/GoogleMlKitCommonsPlugin.h:12:22: warning: unused function 'getFlutterError'
[-Wunused-function]
static FlutterError *getFlutterError(NSError *error) {
^
1 warning generated.
In file included from
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_mlkit_commons-0.2.0
/ios/Classes/MLKVisionImage+FlutterPlugin.m:1:
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_mlkit_commons-0.2.0
/ios/Classes/GoogleMlKitCommonsPlugin.h:12:22: warning: unused function 'getFlutterError'
[-Wunused-function]
static FlutterError *getFlutterError(NSError *error) {
^
1 warning generated.
In file included from
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_mlkit_commons-0.2.0
/ios/Classes/GoogleMlKitCommonsPlugin.m:1:
/Users/pivajr/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_mlkit_commons-0.2.0
/ios/Classes/GoogleMlKitCommonsPlugin.h:12:22: warning: unused function 'getFlutterError'
[-Wunused-function]
static FlutterError *getFlutterError(NSError *error) {
^
1 warning generated.
ld: warning: ignoring file
/Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage,
file is universal (x86_64,arm64) but does not contain the armv7 architecture:
/Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage
ld: warning: ignoring file
/Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/MLKitCommon/Frameworks/MLKitCommon.framework/M
LKitCommon, file is universal (x86_64,arm64) but does not contain the armv7 architecture:
/Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/MLKitCommon/Frameworks/MLKitCommon.framework/M
LKitCommon
ld: warning: ignoring file
/Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/MLKitFaceDetection/Frameworks/MLKitFaceDetecti
on.framework/MLKitFaceDetection, file is universal (x86_64,arm64) but does not contain the
armv7 architecture:
/Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/MLKitFaceDetection/Frameworks/MLKitFaceDetecti
on.framework/MLKitFaceDetection
ld: warning: ignoring file
/Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/MLKitVision/Frameworks/MLKitVision.framework/M
LKitVision, file is universal (x86_64,arm64) but does not contain the armv7 architecture:
/Users/pivajr/Desktop/siscop/siscop-app/ios/Pods/MLKitVision/Frameworks/MLKitVision.framework/M
LKitVision
Undefined symbols for architecture armv7:
"_MLKFaceLandmarkTypeRightCheek", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceLandmarkTypeMouthRight", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceLandmarkTypeMouthLeft", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceLandmarkTypeLeftEye", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceLandmarkTypeLeftCheek", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceLandmarkTypeRightEar", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeNoseBottom", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeUpperLipTop", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceLandmarkTypeMouthBottom", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKModelDownloadDidFailNotification", referenced from:
-[GenericModelManager manageModel:call:result:] in
google_mlkit_commons(GenericModelManager.o)
-[GenericModelManager receiveTestNotification:] in
google_mlkit_commons(GenericModelManager.o)
"_MLKFaceContourTypeUpperLipBottom", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeRightEyebrowBottom", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeLeftEyebrowTop", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeRightEyebrowTop", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeRightEye", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeNoseBridge", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeLeftCheek", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_OBJC_CLASS_$_MLKFaceDetector", referenced from:
objc-class-ref in google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeLowerLipTop", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceLandmarkTypeLeftEar", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeLowerLipBottom", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeLeftEyebrowBottom", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeLeftEye", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeFace", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_OBJC_CLASS_$_MLKVisionImage", referenced from:
objc-class-ref in google_mlkit_commons(MLKVisionImage+FlutterPlugin.o)
__OBJC_$_CATEGORY_MLKVisionImage_$_FlutterPlugin in
google_mlkit_commons(MLKVisionImage+FlutterPlugin.o)
objc-class-ref in google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceLandmarkTypeRightEye", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceLandmarkTypeNoseBase", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKFaceContourTypeRightCheek", referenced from:
___57-[GoogleMlKitFaceDetectionPlugin handleDetection:result:]_block_invoke in
google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_MLKModelDownloadDidSucceedNotification", referenced from:
-[GenericModelManager manageModel:call:result:] in
google_mlkit_commons(GenericModelManager.o)
-[GenericModelManager receiveTestNotification:] in
google_mlkit_commons(GenericModelManager.o)
"_OBJC_CLASS_$_MLKModelDownloadConditions", referenced from:
objc-class-ref in google_mlkit_commons(GenericModelManager.o)
"_OBJC_CLASS_$_MLKFaceDetectorOptions", referenced from:
objc-class-ref in google_mlkit_face_detection(GoogleMlKitFaceDetectionPlugin.o)
"_OBJC_CLASS_$_MLKModelManager", referenced from:
objc-class-ref in google_mlkit_commons(GenericModelManager.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
Result bundle written to path:
/var/folders/xk/24s15qjs3js_pbq9z13b7km00000gn/T/flutter_tools.XpLwrY/flutter_ios_build_temp_dirundHWt/temporary_xcresult_bundle
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeRightChe
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeMouthRight
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeMouthLeft
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeLeftEye
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeLeftCheek
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeRightEar
Error (Xcode): Undefined symbol: _MLKFaceContourTypeNoseBottom
Error (Xcode): Undefined symbol: _MLKFaceContourTypeUpperLipTop
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeMouthBottom
Error (Xcode): Undefined symbol: _MLKModelDownloadDidFailNotification
Error (Xcode): Undefined symbol: _MLKFaceContourTypeUpperLipBottom
Error (Xcode): Undefined symbol: _MLKFaceContourTypeRightEyebrowBottom
Error (Xcode): Undefined symbol: _MLKFaceContourTypeLeftEyebrowTop
Error (Xcode): Undefined symbol: _MLKFaceContourTypeRightEyebrowTop
Error (Xcode): Undefined symbol: _MLKFaceContourTypeRightEye
Error (Xcode): Undefined symbol: _MLKFaceContourTypeNoseBridge
Error (Xcode): Undefined symbol: _MLKFaceContourTypeLeftCheek
Error (Xcode): Undefined symbol: OBJC_CLASS$_MLKFaceDetector
Error (Xcode): Undefined symbol: _MLKFaceContourTypeLowerLipTop
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeLeftEar
Error (Xcode): Undefined symbol: _MLKFaceContourTypeLowerLipBottom
Error (Xcode): Undefined symbol: _MLKFaceContourTypeLeftEyebrowBottom
Error (Xcode): Undefined symbol: _MLKFaceContourTypeLeftEye
Error (Xcode): Undefined symbol: _MLKFaceContourTypeFace
Error (Xcode): Undefined symbol: OBJC_CLASS$_MLKVisionImage
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeRightEye
Error (Xcode): Undefined symbol: _MLKFaceLandmarkTypeNoseBase
Error (Xcode): Undefined symbol: _MLKFaceContourTypeRightCheek
Error (Xcode): Undefined symbol: _MLKModelDownloadDidSucceedNotification
Error (Xcode): Undefined symbol: OBJC_CLASS$_MLKModelDownloadConditions
Error (Xcode): Undefined symbol: OBJC_CLASS$_MLKFaceDetectorOptions
Error (Xcode): Undefined symbol: OBJC_CLASS$_MLKModelManager
Encountered error while building for device.
--------------------------------------------------- End of Error Mesage.
Any idea what could be happening and how to fix it?
Tks!
Delete Podfile.lock, pods folder and .symlinks folder. Now run pod install turn open the runner.workspace file in xcode and build it once. Once it's built successfully in xcode it should start working by build ipa too
Deleting podfile.lock, pods folder and .symlinks folder did not work for me. i didnt add settings for armv7 devices, adding that setting to Podfile worked for me.
https://github.com/bharat-biradar/Google-Ml-Kit-plugin/blob/master/README.md
https://github.com/bharat-biradar/Google-Ml-Kit-plugin/issues/97

mosquitto linker error with visual studio 2015 c++ project

I use cmake to produce the visual studio project file and open project in visual studio 2015.
I try to compiler libmosquitto with visual studio 2015 C++ but I got these errors.
I already include the include folder of OpenSSL win32 but it still failed.
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol __imp___vsnprintf libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\MSVCRTD.lib(vsnprintf.obj) 1
Error LNK2019 unresolved external symbol __imp__vsnprintf referenced in function __mosquitto_log_printf libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\logging_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__vsnprintf libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\MSVCRTD.lib(vsnprintf.obj) 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\thread_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\util_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\read_handle.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\read_handle_client.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\read_handle_shared.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\socks_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\logging_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\messages_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_lock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\thread_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\util_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\read_handle.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\read_handle_client.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\read_handle_shared.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\socks_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\logging_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\messages_mosq.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_mutex_unlock libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_free referenced in function __mosquitto_destroy libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2001 unresolved external symbol _SSL_CTX_free libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_pending referenced in function _mosquitto_loop libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2019 unresolved external symbol _SSL_free referenced in function __mosquitto_destroy libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2001 unresolved external symbol _SSL_free libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol __imp__pthread_equal referenced in function __mosquitto_destroy libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2019 unresolved external symbol __imp__pthread_join referenced in function __mosquitto_destroy libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_join libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\thread_mosq.obj 1
Error LNK2019 unresolved external symbol __imp__pthread_self referenced in function _mosquitto_new libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_self libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\thread_mosq.obj 1
Error LNK2019 unresolved external symbol __imp__pthread_cancel referenced in function __mosquitto_destroy libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2001 unresolved external symbol __imp__pthread_cancel libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\thread_mosq.obj 1
Error LNK2019 unresolved external symbol __imp__pthread_mutex_init referenced in function _mosquitto_reinitialise libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2019 unresolved external symbol __imp__pthread_mutex_destroy referenced in function __mosquitto_destroy libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\mosquitto.obj 1
Error LNK2019 unresolved external symbol _CRYPTO_cleanup_all_ex_data referenced in function __mosquitto_net_cleanup libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _BIO_new_socket referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _CONF_modules_unload referenced in function __mosquitto_net_cleanup libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _ERR_get_error referenced in function __mosquitto_net_read libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _ERR_error_string referenced in function __mosquitto_net_read libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _ERR_free_strings referenced in function __mosquitto_net_cleanup libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _ERR_remove_state referenced in function __mosquitto_net_cleanup libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _OPENSSL_add_all_algorithms_noconf referenced in function __mosquitto_net_init libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _EVP_cleanup referenced in function __mosquitto_net_cleanup libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _ENGINE_cleanup referenced in function __mosquitto_net_cleanup libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_set_psk_client_callback referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_set_cipher_list referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_new referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_set_bio referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_use_PrivateKey_file referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_use_certificate_chain_file referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_load_error_strings referenced in function __mosquitto_net_init libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_set_verify referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_set_default_passwd_cb referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_set_default_passwd_cb_userdata referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_check_private_key referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_new referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_connect referenced in function _mosquitto__socket_connect_tls libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_read referenced in function __mosquitto_net_read libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_write referenced in function __mosquitto_net_write libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_ctrl referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_get_error referenced in function __mosquitto_net_read libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _TLSv1_client_method referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _TLSv1_1_client_method referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _TLSv1_2_client_method referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_shutdown referenced in function __mosquitto_socket_close libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_library_init referenced in function __mosquitto_net_init libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_CTX_load_verify_locations referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_set_ex_data referenced in function __mosquitto_socket_connect libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_get_ex_data referenced in function _psk_client_callback libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2001 unresolved external symbol _SSL_get_ex_data libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_get_ex_new_index referenced in function __mosquitto_net_init libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol _snprintf referenced in function _psk_client_callback libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\net_mosq.obj 1
Error LNK2019 unresolved external symbol __imp__pthread_create referenced in function _mosquitto_loop_start libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\thread_mosq.obj 1
Error LNK2019 unresolved external symbol _sk_num referenced in function __mosquitto_verify_certificate_hostname libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _sk_value referenced in function __mosquitto_verify_certificate_hostname libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _sk_pop_free referenced in function __mosquitto_verify_certificate_hostname libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _ASN1_STRING_data referenced in function __mosquitto_verify_certificate_hostname libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _X509_STORE_CTX_get_ex_data referenced in function __mosquitto_server_certificate_verify libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _X509_STORE_CTX_get_error_depth referenced in function __mosquitto_server_certificate_verify libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _X509_STORE_CTX_get_current_cert referenced in function __mosquitto_server_certificate_verify libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _X509_get_subject_name referenced in function __mosquitto_verify_certificate_hostname libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _X509_NAME_get_text_by_NID referenced in function __mosquitto_verify_certificate_hostname libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _X509_get_ext_d2i referenced in function __mosquitto_verify_certificate_hostname libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _GENERAL_NAME_free referenced in function __mosquitto_verify_certificate_hostname libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _SSL_get_ex_data_X509_STORE_CTX_idx referenced in function __mosquitto_server_certificate_verify libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\tls_mosq.obj 1
Error LNK2019 unresolved external symbol _BN_num_bits referenced in function __mosquitto_hex2bin libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\util_mosq.obj 1
Error LNK2019 unresolved external symbol _BN_bn2bin referenced in function __mosquitto_hex2bin libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\util_mosq.obj 1
Error LNK2019 unresolved external symbol _BN_free referenced in function __mosquitto_hex2bin libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\util_mosq.obj 1
Error LNK2019 unresolved external symbol _BN_hex2bn referenced in function __mosquitto_hex2bin libmosquitto C:\Users\KennethHu\JavaWorkspace\mosquitto2\lib\util_mosq.obj 1
I solve the most errors. This is because x86 is not compatibility with x64.
I replace x64 libeay32MD.lib and ssleay32MD.lib with x86.

Generate traincascade.exe

It's strange that haartraining in the other app's folders works just fine by taking exactly the same way. I was thinking there is a mistake in defining paths to necessary files, but it all looks fine.
Here is my setup (assuming OpenCV 2.4.5 with Visual Studio):
Set DLL path in environment variables:
Set OPENCV245_DIR to C:\opencv\opencv245\build\x86\vc10\bin
Add %OPENCV245_DIR% to PATH
Configure include directories:
C:\opencv\opencv245\build\include
C:\opencv\opencv245\build\include\opencv
C:\opencv\opencv245\apps\traincascade
Configure library directories:
C:\opencv\opencv245\build\x86\vc10\lib
Configure .lib dependencies:
opencv_core245d.lib
opencv_ml245d.lib
opencv_imgproc245d.lib
opencv_objdetect245d.lib
opencv_highgui245d.lib
opencv_calib3d245d.lib
opencv_video245d.lib
opencv_features2d245d.lib
opencv_flann245d.lib
opencv_legacy245d.lib
opencv_haartraining_engined.lib
opencv_contrib245d.lib
opencv_gpu245d.lib
opencv_nonfree245d.lib
opencv_photo245d.lib
opencv_stitching245d.lib
opencv_ts245d.lib
opencv_videostab245d.lib
I made a property sheet for both Debug and Release modes. I placed the sheets at the top as the first item under Debug|Win32 (or Release|Win32) folder in the Property Sheet pane, as I read that the order of the sheets determines their precedence. In addition, the Release property sheet omits the d at the end of the .lib file names.
If I attempt to compile the code, I get the following output:
1>------ Build started: Project: traincascade245, Configuration: Debug Win32 ------
1>Build started 4/12/2013 3:11:03 PM.
1>InitializeBuildStatus:
1> Touching "Debug\traincascade245.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1>ManifestResourceCompile:
1> All outputs are up-to-date.
1>Link:
1>
1> Searching libraries
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_core245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_ml245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_imgproc245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_objdetect245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_highgui245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_calib3d245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_video245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_features2d245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_flann245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_legacy245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_haartraining_engined.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_contrib245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_gpu245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_nonfree245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_photo245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_stitching245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_ts245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_videostab245d.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\kernel32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\user32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\gdi32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\winspool.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\comdlg32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\advapi32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\shell32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\ole32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\oleaut32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\uuid.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\odbc32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\odbccp32.lib:
1> Searching C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\msvcprtd.lib:
1> Searching C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\MSVCRTD.lib:
1> Searching C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\OLDNAMES.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_core245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_ml245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_imgproc245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_objdetect245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_highgui245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_calib3d245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_video245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_features2d245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_flann245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_legacy245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_haartraining_engined.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_contrib245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_gpu245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_nonfree245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_photo245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_stitching245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_ts245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_videostab245d.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\kernel32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\user32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\gdi32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\winspool.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\comdlg32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\advapi32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\shell32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\ole32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\oleaut32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\uuid.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\odbc32.lib:
1> Searching C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib\odbccp32.lib:
1> Searching C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\msvcprtd.lib:
1> Searching C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\MSVCRTD.lib:
1> Searching C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\OLDNAMES.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_core245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_ml245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_imgproc245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_objdetect245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_highgui245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_calib3d245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_video245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_features2d245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_flann245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_legacy245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_haartraining_engined.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_contrib245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_gpu245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_nonfree245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_photo245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_stitching245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_ts245d.lib:
1> Searching C:\opencv\opencv245\build\x86\vc10\lib\opencv_videostab245d.lib:
1>
1> Finished searching libraries
1>traincascade.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CvCascadeClassifier::train(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,int,int,int,int,class CvCascadeParams const &,class CvFeatureParams const &,struct CvCascadeBoostParams const &,bool)" (? train#CvCascadeClassifier##QAE_NV?$basic_string#DU?$char_traits#D#std##V? $allocator#D#2##std##00HHHHHABVCvCascadeParams##ABVCvFeatureParams##ABUCvCascadeBoostParams ##_N#Z) referenced in function _main
1>traincascade.obj : error LNK2019: unresolved external symbol "public: virtual bool __thiscall CvCascadeBoostParams::scanAttr(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (? scanAttr#CvCascadeBoostParams##UAE_NV?$basic_string#DU?$char_traits#D#std##V? $allocator#D#2##std##0#Z) referenced in function _main
1>traincascade.obj : error LNK2019: unresolved external symbol "public: virtual bool __thiscall CvCascadeParams::scanAttr(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?scanAttr#CvCascadeParams##UAE_NV? $basic_string#DU?$char_traits#D#std##V?$allocator#D#2##std##0#Z) referenced in function _main
1>traincascade.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall CvCascadeBoostParams::printDefaults(void)const " (? printDefaults#CvCascadeBoostParams##UBEXXZ) referenced in function _main
1>traincascade.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall CvCascadeParams::printDefaults(void)const " (? printDefaults#CvCascadeParams##UBEXXZ) referenced in function _main
1>traincascade.obj : error LNK2019: unresolved external symbol "public: __thiscall CvHOGFeatureParams::CvHOGFeatureParams(void)" (??0CvHOGFeatureParams##QAE#XZ) referenced in function _main
1>traincascade.obj : error LNK2019: unresolved external symbol "public: __thiscall CvLBPFeatureParams::CvLBPFeatureParams(void)" (??0CvLBPFeatureParams##QAE#XZ) referenced in function _main
1>traincascade.obj : error LNK2019: unresolved external symbol "public: __thiscall CvHaarFeatureParams::CvHaarFeatureParams(void)" (??0CvHaarFeatureParams##QAE#XZ) referenced in function _main
1>traincascade.obj : error LNK2019: unresolved external symbol "public: __thiscall CvCascadeBoostParams::CvCascadeBoostParams(void)" (??0CvCascadeBoostParams##QAE#XZ) referenced in function _main
1>traincascade.obj : error LNK2019: unresolved external symbol "public: __thiscall CvCascadeParams::CvCascadeParams(void)" (??0CvCascadeParams##QAE#XZ) referenced in function _main
1>traincascade.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CvCascadeBoostParams::printAttrs(void)const " (?printAttrs#CvCascadeBoostParams##UBEXXZ)
1>traincascade.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CvParams::printDefaults(void)const " (?printDefaults#CvParams##UBEXXZ)
1>traincascade.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CvParams::printAttrs(void)const " (?printAttrs#CvParams##UBEXXZ)
1>traincascade.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CvParams::scanAttr(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?scanAttr#CvParams##UAE_NV?$basic_string#DU?$char_traits#D#std##V?$allocator#D#2##std##0#Z)
1>traincascade.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall CvCascadeImageReader::PosReader::~PosReader(void)" (??1PosReader#CvCascadeImageReader##UAE#XZ) referenced in function __unwindfunclet$??0CvCascadeImageReader##QAE#XZ$0
1>traincascade.obj : error LNK2019: unresolved external symbol "public: __thiscall CvCascadeImageReader::NegReader::NegReader(void)" (??0NegReader#CvCascadeImageReader##QAE#XZ) referenced in function "public: __thiscall CvCascadeImageReader::CvCascadeImageReader(void)" (??0CvCascadeImageReader##QAE#XZ)
1>traincascade.obj : error LNK2019: unresolved external symbol "public: __thiscall CvCascadeImageReader::PosReader::PosReader(void)" (??0PosReader#CvCascadeImageReader##QAE#XZ) referenced in function "public: __thiscall CvCascadeImageReader::CvCascadeImageReader(void)" (??0CvCascadeImageReader##QAE#XZ)
1>C:\Users\knobukaw\Documents\Visual Studio 2010\Projects\traincascade245\Debug\traincascade245.exe : fatal error LNK1120: 17 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:02.52
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

libFLAC++ with c++Builder error

libflac++ includer to project
but there is error.. what's wrong?
[ILINK32 Error] Error: Unresolved external 'FLAC::Encoder::File::~File()' referenced from C:\USERS\INK\DESKTOP\AMUU UI\RELEASE\UNIT1.OBJ
[ILINK32 Error] Error: Unresolved external 'FLAC::Encoder::Stream::~Stream()' referenced from C:\USERS\INK\DESKTOP\AMUU UI\RELEASE\UNIT1.OBJ
[ILINK32 Error] Error: Unresolved external 'FLAC::Encoder::File::File()' referenced from C:\USERS\INK\DESKTOP\AMUU UI\RELEASE\UNIT1.OBJ
[ILINK32 Error] Error: Unresolved external 'FLAC::Encoder::Stream::is_valid() const' referenced from C:\USERS\INK\DESKTOP\AMUU UI\RELEASE\UNIT1.OBJ
[ILINK32 Error] Error: Unresolved external 'FLAC::Encoder::Stream::set_ogg_serial_number(long)' referenced from C:\USERS\INK\DESKTOP\AMUU UI\RELEASE\UNIT1.OBJ
[ILINK32 Error] Error: Unresolved external 'FLAC::Encoder::Stream::set_verify(bool)' referenced from C:\USERS\INK\DESKTOP\AMUU UI\RELEASE\UNIT1.OBJ
[ILINK32 Error] Error: Unresolved external 'FLAC::Encoder::Stream::set_streamable_subset(bool)' referenced from C:\USERS\INK\DESKTOP\AMUU UI\RELEASE\UNIT1.OBJ
Make sure you either compile the libFLAC source into the project or link with the library.

Resources