Error: Unable to initialize gtk, is DISPLAY set properly?
-bash-4.1$ make
find -name "*.o" -exec rm {} \;
rm -f window -R
g++ -c window.cpp `wx-config --cxxflags`
window.cpp: In member function ‘void MyFrame::OnAverageImage(wxCommandEvent&)’:
window.cpp:469: warning: name lookup of ‘r’ changed
window.cpp:438: warning: matches this ‘r’ under ISO standard rules
window.cpp:450: warning: matches this ‘r’ under old rules
g++ window.o -o window `wx-config --libs --gl-libs` `wx-config --cxxflags` -Wall -Wno-unused -Wno-reorder -O3 -fomit-frame-pointer -fforce-addr
-bash-4.1$ ./window
Error: Unable to initialize gtk, is DISPLAY set properly?
-bash-4.1$
I am trying to connect to college server bert where I am running wxWidget application related to image processing.
but when I run (./window )commands it give me error above.
I am runing OS X maverick I. I need urgent help .
Arshad
MacBook Pro, OS X Mavericks (10.9.1)