Click here to Skip to main content
14,639,264 members
Home » Discussions » Linux Programming
   

Linux Programming

 
GeneralRe: Cross compilation mystery Pin
k50544-Feb-20 8:53
mvek50544-Feb-20 8:53 
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan4-Feb-20 9:00
mveRichard MacCutchan4-Feb-20 9:00 
GeneralRe: Cross compilation mystery Pin
fd97504-Feb-20 21:58
professionalfd97504-Feb-20 21:58 
AnswerRe: Cross compilation mystery Pin
fd97504-Feb-20 22:36
professionalfd97504-Feb-20 22:36 
GeneralRe: Cross compilation mystery Pin
Richard MacCutchan4-Feb-20 23:08
mveRichard MacCutchan4-Feb-20 23:08 
QuestionHow to Use SCP Command to Transfer Files/Folders in Linux Pin
Akash Kulkarni20-Jan-20 1:52
MemberAkash Kulkarni20-Jan-20 1:52 
AnswerMessage Closed Pin
20-Jan-20 1:55
MemberAkash Kulkarni20-Jan-20 1:55 
QuestionCross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975015-Jan-20 3:37
professionalfd975015-Jan-20 3:37 
Hi,

Not so long ago I managed to set up Cross platform development to build applications for a Raspberry PI running Raspbian from a windows 10 machine as described in this article I wrote: Toolset to Cross Compile/Remote Debug Raspberry from Windows Host[^].

What is does is build an example application ( simply "hello world" ) on the windows machine, transfer it to the raspberry PI and run/debug it using a GDB server on the Pi and a GDB client from Vscode on the windows machine.

Now I would like to try and expand that a bit to develop a GUI based application in the same way.
I have done some checking and I think that using the GTK-2.0 library is probably the way to go. On the PI I have installed that library successfully but now I would like to transfer it to the appropriate location in the msys32 directory where the cross compilation tools are located as well. The problem is that it is not entirely clear to me where all the header and library files are located on the PI. Running pkg-config --cflags --libs gtk+-2.0 does tell me what I should add as extra includes when I run the gcc build tool on the PI but it is not clear how and where I could copy the required header and library files so that the cross compilation tool on the windows machine could find them.

Any suggestions/ideas would be very much appreciated.

Edit: added "directory' to indicate that the mentioned msys32 is a directory.
AnswerRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
Eddy Vluggen15-Jan-20 3:45
professionalEddy Vluggen15-Jan-20 3:45 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975015-Jan-20 4:01
professionalfd975015-Jan-20 4:01 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
Eddy Vluggen15-Jan-20 6:08
professionalEddy Vluggen15-Jan-20 6:08 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
k505415-Jan-20 7:52
mvek505415-Jan-20 7:52 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975015-Jan-20 20:42
professionalfd975015-Jan-20 20:42 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
fd975022-Jan-20 3:30
professionalfd975022-Jan-20 3:30 
GeneralRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
k505424-Jan-20 6:37
mvek505424-Jan-20 6:37 
GeneralOT Pin
Richard MacCutchan24-Jan-20 9:09
mveRichard MacCutchan24-Jan-20 9:09 
GeneralRe: OT Pin
k505425-Jan-20 5:27
mvek505425-Jan-20 5:27 
GeneralRe: OT Pin
Richard MacCutchan25-Jan-20 5:55
mveRichard MacCutchan25-Jan-20 5:55 
GeneralRe: OT Pin
k505425-Jan-20 6:29
mvek505425-Jan-20 6:29 
AnswerRe: Cross compiling for Raspberry PI from windows host using GTK2.0 library Pin
Vaclav_4-Mar-20 5:29
MemberVaclav_4-Mar-20 5:29 
QuestionHow add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
Ngoc tuan nguyen18-Dec-19 17:29
MemberNgoc tuan nguyen18-Dec-19 17:29 
AnswerRe: How add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
Richard MacCutchan18-Dec-19 21:33
mveRichard MacCutchan18-Dec-19 21:33 
AnswerRe: How add LD_LIBRARY_PATH before PostgreSQL 10.6 service start Pin
k505419-Dec-19 4:43
mvek505419-Dec-19 4:43 
SuggestionAn interactive cheatsheet tool for the command-line Pin
denisidoro14-Dec-19 4:08
Memberdenisidoro14-Dec-19 4:08 
Questionbluetooth hci function fails to execute hci_read_class_of_dev Pin
Vaclav_2-Dec-19 8:27
MemberVaclav_2-Dec-19 8:27 

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.