-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling failed using most recent MSYS/MingW64 #282
Comments
Same issue.
|
The
If this compiles properly, then I'll check how to incorporate the fix into the master branch. I do not use Windows and have no way to test this myself. |
In the prebuilt MSY2 package we have been using |
This works. |
Hi, sorry for the delay. I can confirm that the compilation succeeds with the above instructions. |
I m sorry I posted the exact same issue as a new issue (sry noob here) Can you give exact instuctions on how and where to implement:
I had originally edited the .c file, but came to realize the this might have broken my synctex functionality. Do i need to run that in Msys2 or in Emacs or cmd or mingw64? |
alright, I now let the compiler run and fail. then it had created the configure file. in the file i searched for CFLAGS="-g -02" which is on line 4103 added the "-D_GNU_SOURCE" resulting in= CFLAGS="-g -O2 -D_GNU_SOURCE", and now ===========================
|
@Beakcraft : could you try and follow the instructions here https://pdftools.wiki/d14e01ff and see if they help you? And if you don't want to compile from source, you can also try installing from the msys2 package manager via https://packages.msys2.org/package/mingw-w64-x86_64-emacs-pdf-tools-server?repo=mingw64 |
@vedang Well no difference synctex still does not work as it should. Either the Error tells a real issue or in case of circumventing the error my init.el file is just not sufficient. Anyways I ll make it work. Recomiling and updating with latexmk works at least.
|
uuum i think i found the problem, synctex has issues with a synced folder outside of the (at least) C directory, i have a google synced folder in which i perform the compilation.
Weather this error and the previous one are connected no clue soz. But that rn is definitly some kind of pathing error, which can likly be easily resolved. |
SyncTeX has included a fix for this since jlaurens/synctex#39 (I discovered it via jlaurens/synctex#80). Inserting the |
I'm not sure how much of a plan you have about the correct way to do this, but I did some poking as an autoconf novice. Inserting I can provide reproduction instructions for the issue on Linux via Guix; haven't discovered when exactly the breakage happened. Best fix depends on how the subsets of the project are supposed to nest, so I won't presume to have a PR ready. |
FossilOrigin-Name: 2609b52757f2f067ca842ce43f932e9487cf145eb12042cede23fe620f664126
This workaround successfully installs epdfinfo for me without editing any files: (with-environment-variables
(("CFLAGS"
(mapconcat #'identity `("-D_GNU_SOURCE" ,(getenv "CFLAGS")) " ")))
(pdf-tools-install)) |
Describe the bug
Compiling failed using most recent MSYS/MingW64 in Windows.
Steps to Reproduce the behaviour
Steps to reproduce the behaviour:
Desktop
Please complete the following information:
Your pdf-tools install
Please complete the following information:
pdf-tools
Version: pdf-tools-20240429.407The text was updated successfully, but these errors were encountered: