Search found 8 matches

by GotenXiao
Tue Nov 29, 2005 10:44 pm
Forum: C++ Development
Topic: Sockets FAQ/Tutorial
Replies: 29
Views: 48214

One thing that is currently bugging me is how to do a broadcast query... For example, sending a few packets out on the broadcast address and asking for any servers. Said servers are listening and grab said packets and reply so the client knows where to go (similar, if not identical, to a server brow...
by GotenXiao
Wed Oct 12, 2005 8:23 pm
Forum: C++ Development
Topic: wxGLCanvas
Replies: 31
Views: 7325

Yeah, the wxGLCanvas header is included. I just commented them out as a quick fix; I'm trying to get wxTextFile to play nice now XD

Note: the debugger is a pain in the rear.
by GotenXiao
Wed Oct 12, 2005 5:42 pm
Forum: C++ Development
Topic: wxGLCanvas
Replies: 31
Views: 7325

Guh. Undocumented: wx_msw_gl-2.6 Fixed the wxGLCanvas linker errors, now I'm just left with: build/base.o(.text+0x1699):base.cpp: undefined reference to `Mayhem::OnChar(wxKeyEvent&)' build/base.o(.text+0x16d6):base.cpp: undefined reference to `Mayhem::OnMouseEvent(wxMouseEvent&)' build/base.o(.text+...
by GotenXiao
Wed Oct 12, 2005 5:17 pm
Forum: C++ Development
Topic: wxGLCanvas
Replies: 31
Views: 7325

Code: Select all

#if !wxUSE_OPENGL
	#error "OpenGL required: set wxUSE_OPENGL to 1 and rebuild the library"
#endif
No error. glu32 is in the linker parameters, still no joy.
Equally this code:

Code: Select all

#if !wxUSE_GLCANVAS
  #error "OpenGL required: set wxUSE_GLCANVAS to 1 and rebuild the library"
#endif
produces no error.
by GotenXiao
Wed Oct 12, 2005 3:54 pm
Forum: C++ Development
Topic: wxGLCanvas
Replies: 31
Views: 7325

Still getting linker errors after making those changes. By the way, the MSW binary build I got via Dev-C++ devpaks came with wxUSE_OPENGL = 1.
by GotenXiao
Wed Oct 12, 2005 11:08 am
Forum: C++ Development
Topic: wxGLCanvas
Replies: 31
Views: 7325

...Diiiiie. Compiler: Default compiler Building Makefile: "M:\Code\CPP\mayhem\Makefile.win" Finding dependencies for file: M:\Code\CPP\mayhem\base.cpp Executing make... make.exe -f "M:\Code\CPP\mayhem\Makefile.win" all g++.exe -c base.cpp -o build/base.o -I"lib/gcc/mingw32/3.4.2/include" -I"include/...
by GotenXiao
Tue Oct 11, 2005 10:33 pm
Forum: C++ Development
Topic: wxGLCanvas
Replies: 31
Views: 7325

Thanks, I was trying to get something of my own working with wxGLCanvas (porting an old QuickBASIC game to C++) and I just couldn't figure out quite what to do from the examples.
by GotenXiao
Tue Oct 11, 2005 9:03 pm
Forum: C++ Development
Topic: wxGLCanvas
Replies: 31
Views: 7325

Is the code posted missing the wxApp code, or is there some obscure section of the manual evading me?