Click here to Skip to main content
15,617,203 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach Pin
Richard MacCutchan20-Oct-21 3:14
mveRichard MacCutchan20-Oct-21 3:14 
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach Pin
ForNow20-Oct-21 3:24
ForNow20-Oct-21 3:24 
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach Pin
Victor Nijegorodov20-Oct-21 4:07
Victor Nijegorodov20-Oct-21 4:07 
GeneralRe: CBitmap::LoadBitmap Strange Result From CIMage::Load and CBitmap::Attach "used TransparentBLT thank you all" Pin
ForNow20-Oct-21 8:46
ForNow20-Oct-21 8:46 
QuestionLinking to bluetooth library - voluntarily moved from "quick answers" forum Pin
Member 1496877118-Oct-21 6:15
Member 1496877118-Oct-21 6:15 
AnswerRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
k505418-Oct-21 6:56
mvek505418-Oct-21 6:56 
AnswerRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
k505418-Oct-21 7:05
mvek505418-Oct-21 7:05 
AnswerRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
Member 1496877119-Oct-21 5:54
Member 1496877119-Oct-21 5:54 
Sorry about the long post - I have one more problem.
I installed libbluetooth-dev on my ARM /RPi OS ,
used csp to copy to my X86 PC
verified it exist on PC
added -L to my options

Still getting same error

BUT

the linker error is coming from different path and it definitely looks as the linker is NOT looking to the path I added

-L/usr/lib/arm-linux-gnueabihf/arm-linux-gnueabihf' '-L/usr/lib/arm-linux-gnueabihf' '


, but it is in verbose output

Still missing something...


OLLECT_GCC_OPTIONS='-L/usr/lib/x86_64-linux-gnu' '-L/usr/lib/arm-linux-gnueabihf/arm-linux-gnueabihf' '-L/usr/lib/arm-linux-gnueabihf' '-v' '-o' 'RPI_Bluetooth' '-shared-libgcc' '-march=armv6' '-mtune=arm1176jz-s' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu'
 /home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../libexec/gcc/arm-linux-gnueabihf/4.8.3/collect2 --sysroot=/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc --build-id --eh-frame-hdr -dynamic-linker /lib/ld-linux-armhf.so.3 -X -m armelf_linux_eabi -o RPI_Bluetooth /home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf/crt1.o /home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf/crti.o /home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/crtbegin.o -L/usr/lib/x86_64-linux-gnu -L/usr/lib/arm-linux-gnueabihf/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3 -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/lib -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc/lib/arm-linux-gnueabihf -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc/lib -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc/lib/arm-linux-gnueabihf -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc/usr/lib -L/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf ./src/RPI_Bluetooth.o -llibbluetooth-dev -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/crtend.o /home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf/crtn.o
/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -llibbluetooth-dev
/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.so when searching for -lm
/home/qw/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: skipping incompatible /usr/lib/x86_64-linux-gnu/libm.a when searching for -lm
/usr/lib/x86_64-linux-gnu/libgcc_s.so.1: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make: *** [makefile:61: RPI_Bluetooth] Error 1
"make all" terminated with exit code 2. Build might be incomplete.

GeneralRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
k505419-Oct-21 7:19
mvek505419-Oct-21 7:19 
GeneralRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
Member 1496877119-Oct-21 7:36
Member 1496877119-Oct-21 7:36 
GeneralRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
Member 1496877121-Oct-21 9:00
Member 1496877121-Oct-21 9:00 
GeneralRe: Linking to bluetooth library - voluntarily moved from "quick answers" forum Pin
Richard MacCutchan21-Oct-21 21:33
mveRichard MacCutchan21-Oct-21 21:33 
Generall:libbluetooth.a ?? Pin
Member 1496877122-Oct-21 8:00
Member 1496877122-Oct-21 8:00 
QuestionLatest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Maximilien18-Oct-21 4:43
Maximilien18-Oct-21 4:43 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Mircea Neacsu18-Oct-21 5:08
Mircea Neacsu18-Oct-21 5:08 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) Pin
Victor Nijegorodov18-Oct-21 9:21
Victor Nijegorodov18-Oct-21 9:21 
AnswerRe: Latest Visual Studio (16.11.5) does not show the Resources or Classes (C++/MFC) (FIXED) Pin
Maximilien21-Oct-21 6:11
Maximilien21-Oct-21 6:11 
QuestionDialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
ForNow17-Oct-21 5:52
ForNow17-Oct-21 5:52 
AnswerRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
Richard Andrew x6417-Oct-21 14:50
professionalRichard Andrew x6417-Oct-21 14:50 
GeneralRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
ForNow17-Oct-21 15:31
ForNow17-Oct-21 15:31 
AnswerRe: Dialog GetClientRect vs RichEdit ClientRect doesnt seem correct Pin
Richard MacCutchan17-Oct-21 22:02
mveRichard MacCutchan17-Oct-21 22:02 
QuestionInserting a Bitmap into a RichEditctrl Pin
ForNow13-Oct-21 14:08
ForNow13-Oct-21 14:08 
SuggestionRe: Inserting a Bitmap into a RichEditctrl Pin
David Crow14-Oct-21 9:10
David Crow14-Oct-21 9:10 
GeneralRe: Inserting a Bitmap into a RichEditctrl Pin
ForNow14-Oct-21 9:49
ForNow14-Oct-21 9:49 
QuestionUnable to initialize of clear initial buffer or value of richeditcontrol Pin
ForNow7-Oct-21 13:15
ForNow7-Oct-21 13:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.