I’m trying to use register combiners with nvparse but I always get a linking error …
So I’ve tryed to compil nvidia’s exemples (such as http://developer.nvidia.com/docs/IO/1814/ATT/superflow.zip ) but I get the same problems :
error LNK2001: unresolved external symbol “void __cdecl std::_Xlen(void)” (?_Xlen@std@@YAXXZ)
…
This problem appears in my code only if I call nvparse();
Does anyone has an idea, what’s wrong with the link ?
I use NVSDK 5.2 + cg 1.5 + MSVS 7 + win XP
Originally posted by jra101: You get that error when linking to a lib file created with VC6. Since you have VS7 you will need to compile nvparse yourself and link to those libs.
The current version of nvparse includes a Visual Studio.NET project that by default builds a nvparse_vc7.lib instead of a nvparse.lib. Superflow links to nvparse.lib by default so you might have to modify superflow to link to the vc7 lib or delete nvparse.lib and rename the vc7 one to nvparse.lib.
After I did this I had no trouble building and running superflow with .NET.
Originally posted by jra101:
[b]The current version of nvparse includes a Visual Studio.NET project that by default builds a nvparse_vc7.lib instead of a nvparse.lib. Superflow links to nvparse.lib by default so you might have to modify superflow to link to the vc7 lib or delete nvparse.lib and rename the vc7 one to nvparse.lib.
After I did this I had no trouble building and running superflow with .NET.[/b]