Re: [OT] where is XextFindDisplay?
On Tue, Oct 7, 2008 at 12:57 PM, Hugo Vanwoerkom <email@example.com> wrote:
> I figured it out but don't know the solution:
> The errors refer to the parameters used for XextFindDisplay, not
> XextFindDisplay itself, because I am using g++.
> When I do this:
> cc -Wall -I include-nv/ -I /usr/X11R6/include/ do-nv-control-dvc.c -o
> do-nv-control-dvc -L lib-nv/ -L /usr/X11R6/lib -lXNVCtrl -lXext -lX11
> I get no errors. But when I change the 'cc' to 'g++' I get the errors.
> The reason I use g++ is because I want to use Qt classes.
You probably need to use 'extern "C"' when you #include the headers then.