OpenCV QT VS2010 link error - visual-studio-2010

As the title implies, I am using VS2010 with OpenCV 2.4.3 and QT 4.8. I tried running them independently (OpenCV+VS2010) and then (Qt+VS2010) and they worked fine. But when I try to run all three of them together in a single program, I get a linker error
1>LINK : fatal error LNK1104: cannot open file 'opencv_calib3d244d.lib'
I tried looking around but doesn't seem to be able to find any solution. Could you please advice? Thank you.

Related

ROS for Windows, error LNK1104: cannot open file 'rt.lib'

I'm trying to use ROS for Windows for the first time, with a package that was previously developed in Linux.
Doing the catkin_make I find this error:
LINK : fatal error LNK1104: cannot
open file 'rt.lib'
I think the problem is in my CMakeLists.txt where I have:
target_link_libraries(omni_state HD HDU rt ncurses ${catkin_LIBRARIES})
I had a similar problem with HD.lib and HDU.lib, bacause I guess that the automatic find_path doesn't work well (or at all :P) in Windows. So I added
link_directories(path_to_lib_dir)
solving the problem. I would like to do the same thing for rt, but I can't find rt.lib in my PC. I also searched how to download it but I can't find a way.
Can someone help me?

WiX error: lght0094 unresolved reference to symbol

I'm having problems trying to light a .wixobj
I am a beginner with WiX and I was trying to get some code off of this website to work.
After I made Product.wixobj using the 'candle' command in command prompt, I go to 'light' it and it gives me this error:
(myDirectory)\Product.wxs(235) : error LGHT0094 : Unresolved reference to symbol 'WixUI:WixUI_HK.wxs' in section 'Product:'.*
The command I used was "light -ext WixUIExtension Product.wixobj".
My version of WiX is 3.10.
Thank you!
You aren't linking properly. You need to make wixobj files out of all the source files on that page.
You need to run candle on WixUI_HK.wxs, Product.wxs, LicenseAgreementDlg_HK.wxs, ServerDlg.wxs then use light referencing all the obj files you just created to link them all together. You also need to supply -loc Product_en-us.wxl to light.exe so it replaces all the !(loc.StringName) stuff in your wxs files.
I would suggest you try using visual studio if you can and make a wixproj and add all these files to the project. Wix will take care of properly building and linking your files together.
The other issue you'll have trying to build this is that you probably don't have an "uberAgent.exe" or the app.ico, BannerTop.bmp, Dialog.bmp, or Eula-en.rtf files.

cobc: Invalid argument error when compiling

I'm currently taking up a course in COBOL and recently I have only been using an online compiler. When I decided to install the OpenCOBOL IDE. I keep getting the error "cobc: Invalid argument" whenever i try to compile. I tried multiple re-installs still to no avail. I also tried installing just the compiler itself and compiling my files using cmd, but still it gives that error. Any help? I really need to get it working.
OS: Windows 8.1 64-bit
You need an "-x" option to tell the compiler build an executable with the same name as the program source (but without the .cbl or a "-o progname" option to tell the compile to produce an executable named progname.

cannot link to cvd.lib

I have tried to run the program from the web for 3d camera, I use vc2010, opencv 2.4.7.
but when I run this program error is occur and said that :
error LNK1104: cannot open file 'cvd.lib'
I have look around in the opencv lib directories there is no cvd.lib.
where can I find this lib? or solve this issue?
This is the link to cvd.lib download
https://www.assembla.com/code/AdidasAR/subversion/nodes/299/trunk/modules/lib/OpenCV/cvd.lib
!!!! Zope... :)

Xinput.h: No such file or directory

I'm trying to get input from an xbox controller, I went to this page:
http://www.codeproject.com/Articles/26949/Xbox-360-Controller-Input-in-C-with-XInput
and I'm just test running his source, good thing I did because it found an error:
C:\Users\me;)\Desktop\XBOX360Test\XBOX360Test\CXBOXController.h|9|fatal error: Xinput.h: No such file or directory|
Can I don't know what the issue is, doesn't Xinput ship with windows?
I'm late I know, but I get the same error.
Opening the project in Visual Studio works fine, but compiling with gcc doesn't. Seems like the compiler of VS knows more than gcc and you need to compile it with that one. Here's how:
http://msdn.microsoft.com/en-us/library/ms235639(v=vs.80).aspx

Resources