Fleshing out what @Qrrbrbirlbel noticed from your screenshot (which, generally speaking, isn't enough to solve a problem here on TeX.SX), it looks like you don't actually have a full installation of LaTeX. You should download a standard TeX distribution:
MikTeX is a popular choice for Windows, with a very idiomatic installation procedure, and will get the job done. TeX Live has other advantages, which are laid out elsewhere.
Both of these provide mature package managers to let you install LaTeX packages with a click of a button (they'll even present you with a searchable, comprehensive list of all files from CTAN). Search for PGF and TikZ, and download all related packages.
File `tikz.sty` not found.
You cannot substitute this withtikz-cd.sty
(which is actually found) because it relies on TikZ.\usetikzlibrary
is a TikZ macro is of course not defined then. Thetikz
package can be found in MiKTeX Package Manager under the namepgf
. That said, it also looks like you isntalledtikz-cd
in you local folder. Why don’t you use MiKTeX’s package manager for these default packages? – Qrrbrbirlbel Jun 29 '13 at 14:32tikz-cd.sty
file is found in the folderE:\latex files\article template`. Doesn’t look like MiKTeX’s
texmf` structure to me. This is why I assume that neither MiKTeX’s package manager nor its auto-package-downloading thing (which can be turned off) have been used correctly. But I agree, a screenshot of a log and half of TeX.sx is not the best material to judge what’s wrong. – Qrrbrbirlbel Jun 29 '13 at 22:46