## LaTeX forum ⇒ MiKTeX and proTeXt ⇒ pgfcore.sty not found Topic is solved

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
beamme
Posts: 9
Joined: Thu May 26, 2011 1:03 pm

Hello,

I'm trying to get a Beamer-Presentation, which I wrote on TeXshop on a Mac, to work on my Windows 7 PC. I'm using MiKTeX 2.9 and TeXworks. At first, when I opened the .tex file in the editor I didn't get a preview at all and the error:

I installed pgf manually (with directions from the internet, so one can only hope that I did it right). It wouldn't install it with the package manager. So, I went to MiKTeX->Maintenance->Settings, hit "Refresh FNDB" and "Update Formats" (got that idea from the internet, too). But it still won't work. I do get a first preview now, when I open the file for the first time. When I click typeset though, I still get the same error.

I searched my computer for the file, and it found it in
C:\Program Files\MiKTeX 2.9\miktex\tex\latex\pgf\basiclayer

Does anybody know what I'm doing wrong? Thanks for any advice!!

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm
There is currently a problem with the PGF package in MiKTeX. Hopefully this will be fixed after a few days: I suspect you may have to wait for this fix.
Joseph Wright

beamme
Posts: 9
Joined: Thu May 26, 2011 1:03 pm
Oh! Ok, I'll try again then. The timing couldn't be worse for me, personally

Thank you for the info!

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am
In the meantime, you could try an online TeX compiler.

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
MiKTeX 2.9 now has got an update which should fix this. But it seems that you have to de-install and re-install pgf by the MiKTeX Package Manager because the package is not shown in the update list.

Thorsten
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

beamme
Posts: 9
Joined: Thu May 26, 2011 1:03 pm
Oh great! Yes I noticed that it works now, but the compilation takes really long.
I had installed pgf manually, with directions I found on the internet so how do I manually deinstall it? I don't quite remember exactly what I did to install it I think I extracted a folder and put 3 subfolders in the miktex folder, then I refreshed FNDB and updated formats...
I think the package manager didn't get that I have installed it already, so I can't deinstall it with the package manager.

Do I just have to erase some folders again?

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
beamme wrote:[…] I had installed pgf manually, with directions I found on the internet so how do I manually deinstall it? I don't quite remember exactly what I did to install it :oops: I think I extracted a folder and put 3 subfolders in the miktex folder, then I refreshed FNDB and updated formats […] Do I just have to erase some folders again?

I'm afraid that you are alone with this problem. Nobody else than you knows how you did that. Perhaps the kpathsea library can help you in this regard. You can start with searching the actual package file(s) on the command line.
`kpsewhich pgf.sty`

This should yield the full path to the file.
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Amyloofhqua
Posts: 1
Joined: Sat Jun 02, 2018 1:14 pm
I successfully solved this problem by :

1. Clicking on Start.
2. Search for MiKTeX Package Manager (Admin) [This step is very important]
3. Search for pgf package.
4. Right click and install that package.

Done. The error is now gone.