I have used sdl_ttf in opengl . but i have this error :

error LNK1104: cannot open file 'SDL_ttf.lib'

i already have tried to remove the "SDL_ttf.lib" , but it didn't useful.
i have trid used : lazyfoo.net for setting up the opengl with sdl
pls tell me what must i do ? .

Have you included Lib path for your project ?
If you have not included yet, You right mouse project, -> selection Configuration Properties -> selection VC Direction, then include path for header file and include lib file
Then add SDL_ttf.lib into linker ->input-> additional Dependencies or use command

pragma comment (lib, "SDL_ttf.lib") at cpp file (ex: stdafx.cpp)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.