Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ memory freeing Pin
jschell18-Dec-23 5:30
jschell18-Dec-23 5:30 
GeneralRe: C++ memory freeing Pin
k505418-Dec-23 6:14
mvek505418-Dec-23 6:14 
QuestionFinding the Parent Process Pin
Richard Andrew x6415-Dec-23 8:21
professionalRichard Andrew x6415-Dec-23 8:21 
AnswerRe: Finding the Parent Process Pin
Gerry Schmitz15-Dec-23 8:32
mveGerry Schmitz15-Dec-23 8:32 
GeneralRe: Finding the Parent Process Pin
Richard Andrew x6415-Dec-23 8:47
professionalRichard Andrew x6415-Dec-23 8:47 
GeneralRe: Finding the Parent Process Pin
Gerry Schmitz15-Dec-23 12:36
mveGerry Schmitz15-Dec-23 12:36 
GeneralRe: Finding the Parent Process Pin
Richard Andrew x6415-Dec-23 12:41
professionalRichard Andrew x6415-Dec-23 12:41 
SuggestionRe: Finding the Parent Process Pin
David Crow15-Dec-23 10:53
David Crow15-Dec-23 10:53 
GeneralRe: Finding the Parent Process Pin
Richard Andrew x6415-Dec-23 11:00
professionalRichard Andrew x6415-Dec-23 11:00 
GeneralRe: Finding the Parent Process Pin
jschell18-Dec-23 5:43
jschell18-Dec-23 5:43 
AnswerRe: Finding the Parent Process Pin
jschell18-Dec-23 5:46
jschell18-Dec-23 5:46 
GeneralRe: Finding the Parent Process Pin
Richard Andrew x6418-Dec-23 6:23
professionalRichard Andrew x6418-Dec-23 6:23 
Questionlinker cannot find shared library... Pin
Salvatore Terress12-Dec-23 6:49
Salvatore Terress12-Dec-23 6:49 
AnswerRe: linker cannot find shared library... Pin
k505412-Dec-23 9:13
mvek505412-Dec-23 9:13 
GeneralRe: linker cannot find shared library... Pin
Salvatore Terress12-Dec-23 17:32
Salvatore Terress12-Dec-23 17:32 
GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan12-Dec-23 22:03
mveRichard MacCutchan12-Dec-23 22:03 
GeneralRe: linker cannot find shared library... Pin
k505413-Dec-23 5:32
mvek505413-Dec-23 5:32 
GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan13-Dec-23 5:58
mveRichard MacCutchan13-Dec-23 5:58 
AnswerRe: linker cannot find shared library... Pin
jschell13-Dec-23 3:47
jschell13-Dec-23 3:47 
GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan13-Dec-23 3:51
mveRichard MacCutchan13-Dec-23 3:51 
GeneralRe: linker cannot find shared library... Pin
Salvatore Terress13-Dec-23 12:24
Salvatore Terress13-Dec-23 12:24 
GeneralRe: linker cannot find shared library... Pin
Richard MacCutchan13-Dec-23 22:03
mveRichard MacCutchan13-Dec-23 22:03 
GeneralRe: linker cannot find shared library... Pin
jschell14-Dec-23 4:24
jschell14-Dec-23 4:24 
GeneralRe: linker cannot find shared library... Pin
Salvatore Terress15-Dec-23 11:47
Salvatore Terress15-Dec-23 11:47 
GeneralRe: linker cannot find shared library... Pin
Salvatore Terress16-Dec-23 10:03
Salvatore Terress16-Dec-23 10:03 
In case somebody is still interested in resolving / discussing this

I understand the "rm " , however it appears there in no need of knowledge / control from WHERE to remove valid .so build in first place.

then gcc proceeds to build the .so in " /home/nov25-1/Qt/5.15.2/ ..."

Since Qt changes as often as mine socks I am not sure its -gcc-_ selection of final resting place of .so files is OK.
IMHO .so should be part of the project structure - outside Qt.


Here is what compiler /linker outputs when I "rebuild" the library .pro project.

rm -f libBluetoothctl_Dialog.so.1.0.0 libBluetoothctl_Dialog.so libBluetoothctl_Dialog.so.1 libBluetoothctl_Dialog.so.1.0
clang++ -ccc-gcc-name g++ -Wl,-rpath,/home/nov25-1/Qt/5.15.2/gcc_64/lib -shared -Wl,-soname,libBluetoothctl_Dialog.so.1 -o libBluetoothctl_Dialog.so.1.0.0 main.o mainwindow_bluewtoothctl_dialog.o moc_mainwindow_bluewtoothctl_dialog.o  /home/nov25-1/Qt/5.15.2/gcc_64/lib/libQt5Widgets.so /home/nov25-1/Qt/5.15.2/gcc_64/lib/libQt5Gui.so /home/nov25-1/Qt/5.15.2/gcc_64/lib/libQt5Core.so -lGL -lpthread    
ln -s libBluetoothctl_Dialog.so.1.0.0 libBluetoothctl_Dialog.so
ln -s libBluetoothctl_Dialog.so.1.0.0 libBluetoothctl_Dialog.so.1
ln -s libBluetoothctl_Dialog.so.1.0.0 libBluetoothctl_Dialog.so.1.0
14:38:10: The process "/usr/bin/make" exited normally.
14:38:10: Elapsed time: 00:16.

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.