hello,
i set the shared dynamic library(libudev.so) via MS-Build property page.
but after compile, there is an error with undefined reference to “udev_……..”
visual gdb made the following makefile.
(“test” is executable project and lib.a uses libudev)
g++ -o Debug/test -Wl,-gc-sections -Wl,–start-group Debug/test.o -ludev -Wl,–rpath=’$ORIGIN’ /tmp/VisualGDB/d/PROJECT/MYLIB/VisualGDB/Debug/lib.a -Wl,–end-group
there is in an error, and i changed library order via putty.
g++ -o Debug/test -Wl,-gc-sections -Wl,–start-group Debug/test.o -Wl,–rpath=’$ORIGIN’ /tmp/VisualGDB/d/PROJECT/MYLIB/VisualGDB/Debug/lib.a -Wl,–end-group -ludev
compile success.
i have a question. i want to change library order via MSBuild property page.
i want to set -ludev in last.
please solve my problem.
thank you.