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?
Related
I'm trying to compile portaudio in visual studio 2015 and I encountered this common problem with the missing ksguid.lib file, I found this question on stackoverflow which suggested to create a link to the file in windows sdks directory.
The problem is that I don't have ksguid.lib in my windows sdks folder and now I'm stuck, is there an easy way to fix this? the original question I found is contained in the link below
Can't Build PortAudio - "LNK1104: cannot open file 'ksguid.lib'"
after following the link posted by Hans Passant I managed to download the latest drivers and by linking ksguid.lib to my portaudio project I was able to build the solution.
I downloaded bitcloud, the atmel zigbee stack and I am trying to compile one of the default applications, ZLLDemo.
It is located currently at:
C:\Users\Ryan\Desktop\BitCloud_MEGARF_3_1_0\Applications\ZLLDemo\atmelStudio_projects\ATmega256RFR2.cproj
Everytime I try to compile the application I get a windows message screen for "mkdir.exe" error 0xc0000142. In the Output screen I see the line "make: *** [directories] Error -1073741502"
This same error and error code occurs later in the build process for cp.exe if I manually make the folders myself.
I have tried the following things to fix the error:
Change folder and contents to different owners, everyone having full
privileges
run make command manually from a command prompt window as admin
clean solution before retrying
all other examples files
ran directly from C: as "C:\BitCloud_MEGARF_3_1_0\Applications\ZLLDemo\atmelStudio_projects\ATmega256RFR2.cproj" - as per general suggestion for the windows error I tried
"sfc /scannow" in case mkdir had somehow been corrupted
Changed AppInitDLLs Reg key to 0 to load all DLLs at start of application
Disabled Internet security
Does this have a general fix or is there perhaps something else at work here? General compilations work, its just external ones. My friend did the same and it seems to work just fine for him.
Windows 8.1
Atmel Studio 6.2
Avrfreaks had a solution that I finally found here.
Their solution is to download an old version of the msys file for winavr. Which means that their is something more than likely wrong with the latest version of winavr for windows 8.1
sebastor wrote:
I found solution.
Copy this file:
http://www.madwizard.org/download/electronics/msys-1.0-vista64.zip
to utils\bin directory (WinAVR)
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... :)
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.
Working with Windows Vista. I wrote the rough interface out with Glade so I am working from that source. GTK 2.0. When I compile & run I get the above error. Is there a way to absolute path images? If not how in the world do I find it? I tried add_pixmap_directory using the absolute path with no luck. Ideas?
Turns out the problem was Msys. I swapped & started using MinGW. MSys was not writing out the output file so I just kept getting the same error as the file was not being overwritten. All is good now.