Compile problems NVSDK/Mandrake 9.0

when i make the makefile but with error

[root@pc90113 nvparse]# make
g++ -DYY_NO_UNPUT -DUNIX -Wall -g -I…/…/…/include/glh -I…/…/…/include/shared -c vs1.0_inst_list.cpp
vs1.0_inst_list.cpp: In function bool is_vs10(const char*)': vs1.0_inst_list.cpp:103: tolower’ undeclared (first use this function)
vs1.0_inst_list.cpp:103: (Each undeclared identifier is reported only once for each function it appears in.)
vs1.0_inst_list.cpp: In function void <unnamed>::StrToUpper(char*)': vs1.0_inst_list.cpp:256: toupper’ undeclared (first use this function)
make: *** [vs1.0_inst_list.o] Error 1
[root@pc90113 nvparse]#

thanks…

Open that file and add #include<ctype.h>

yes it is ok ,thank you .

but …

root@pc90113 nvparse]# gmake
g++ -DYY_NO_UNPUT -DUNIX -Wall -g -I…/…/…/include/glh -I…/…/…/include/shared -c vcp1.0_impl.cpp
vcp1.0_impl.cpp: In function void <unnamed>::ParseVertexProgramConstants(unsigned int, char*)': vcp1.0_impl.cpp:104:isspace’ undeclared (first use this function)
vcp1.0_impl.cpp:104: (Each undeclared identifier is reported only once for each function it appears in.)
vcp1.0_impl.cpp:116: `toupper’ undeclared (first use this function)
gmake: *** [vcp1.0_impl.o] Error 1
[root@pc90113 nvparse]#

up question is ok…but …

[root@pc90113 layerz]# make
g++ -DUNIX -Wall -g -I…/…/…/include/glh -I…/…/…/include/shared -I…/…/…/include/png -c layerz.cpp
In file included from …/…/…/include/glh/glh_extensions.h:45,
from layerz.cpp:37:
…/…/…/include/glh/glh_genext.h: In function int glh_init_extension(const char*)': ../../../include/glh/glh_genext.h:762:glXGetProcAddressARB’ undeclared (first use this function)
…/…/…/include/glh/glh_genext.h:762: (Each undeclared identifier is reported only once for each function it appears in.)
make: *** [layerz.o] Error 1
[root@pc90113 layerz]#

thanks!

can you help me ?

/usr/include/c++/3.2/bits/functexcept.h:76: previous declaration of void std::__throw_overflow_error(const char*)' with C++ linkage /usr/include/c++/3.2/bits/functexcept.h:76: conflicts with new declaration with C linkage /usr/include/c++/3.2/bits/functexcept.h:79: previous declaration ofvoid std::__throw_underflow_error(const char*)’ with C++ linkage
/usr/include/c++/3.2/bits/functexcept.h:79: conflicts with new declaration with C linkage

how to do this ??

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.