[心情]可惡
新的不一定好...
******************************************************************************************
I think it is because of some changes from gcc 4.5 to gcc 4.6Try this command
instead (i.e.,move the libraries to the end, instead of at the beginning of
your command line) -- it works for me:g++ -I/usr/include/opencv hello.c
-lcxcore -lhighgui -lm
******************************************************************************************
move the libraries to the end... 陰了我一個下午
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.123.106.145
※ 編輯: dicebala 來自: 140.123.106.145 (10/17 17:11)
噓
11/09 07:51, , 1F
11/09 07:51, 1F
噓
11/12 04:39, , 2F
11/12 04:39, 2F
噓
11/12 17:29, , 3F
11/12 17:29, 3F
噓
11/16 20:40, , 4F
11/16 20:40, 4F
噓
11/18 20:39, , 5F
11/18 20:39, 5F
噓
11/20 20:12, , 6F
11/20 20:12, 6F
噓
12/06 01:35, , 7F
12/06 01:35, 7F
噓
12/06 01:35, , 8F
12/06 01:35, 8F
噓
12/06 01:36, , 9F
12/06 01:36, 9F
噓
12/06 01:36, , 10F
12/06 01:36, 10F
噓
12/06 01:36, , 11F
12/06 01:36, 11F
噓
12/06 01:36, , 12F
12/06 01:36, 12F
噓
12/07 00:35, , 13F
12/07 00:35, 13F