Sign in to follow this  

GLSL error??

This topic is 4838 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i face this error
--------------------Configuration: main - Win32 Debug--------------------
Linking...
main.obj : error LNK2001: unresolved external symbol "public: __thiscall aShaderManager::aShaderManager(void)" (??0aShaderManager@@QAE@XZ)
main.obj : error LNK2001: unresolved external symbol "public: __thiscall aShaderManager::~aShaderManager(void)" (??1aShaderManager@@QAE@XZ)
main.obj : error LNK2001: unresolved external symbol "public: class aShaderObject * __thiscall aShaderManager::loadfromMemory(char const *,char const *)" (?loadfromMemory@aShaderManager@@QAEPAVaShaderObject@@PBD0@Z)
main.obj : error LNK2001: unresolved external symbol "public: void __thiscall aShaderObject::end(void)" (?end@aShaderObject@@QAEXXZ)
main.obj : error LNK2001: unresolved external symbol "public: void __thiscall aShaderObject::begin(void)" (?begin@aShaderObject@@QAEXXZ)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/main.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

main.exe - 7 error(s), 0 warning(s)

is it because my Graphic Crad doesn't support GLSL "TNT2 Card" or what?? bye ff8

Share this post


Link to post
Share on other sites
Well it looks like you aren't implementing some aShaderManager methods, which has nothing to do with your hardware. At any rate, your TNT2 won't support GLSL once you get those errors sorted out.

Share this post


Link to post
Share on other sites
what should i do ????
really i want to learn GLSL
i have another question ?
what the different between CG and GLSL ???" i mean in what the best in the graphic"?
bye!
ff8

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
cg and glsl dont differ much, though youre better off buying a cheap card that supports shaders eg my gffx5200 costs the same price as a new pc/ps2 game

Share this post


Link to post
Share on other sites
you can use Cg, but it will be limited as to what it can do due to hardware limitations (vertex programs will execute on the cpu and you'll have limited texture combiner functionality).

nVidia have infomation on Cg on their website in the developers section

Share this post


Link to post
Share on other sites

This topic is 4838 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this