I have a working project on Linux (Ubuntu 11.04), but when i try to build the same exact code on my Windows 7 machine, I get the following error:
LINK : fatal error LNK1104: cannot open file 'windows_wminput.c'
The project I'm working on uses a C library called ManyMouse . I have included the .c files in my .pro file as follows:
LIBS += windows_wminput.c \
linux_evdev.c \
x11_xinput2.c \
macosx_hidmanager.c \
macosx_hidutilities.c
Again, this project/setup works fine on Linux, but gives an error on Windows. Why doesn't it work?
看起来你应该有SOURCES
而不是LIBS
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.