Skip to content
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

No new amalgamated file generated #51

Open
ishandutta2007 opened this issue Dec 3, 2022 · 4 comments
Open

No new amalgamated file generated #51

ishandutta2007 opened this issue Dec 3, 2022 · 4 comments

Comments

@ishandutta2007
Copy link

ishandutta2007 commented Dec 3, 2022

I am on MinGW x64 system hosted on Windows7
I installed quom via

pip install --user quom
PATH=/c/users/hp/.local/bin:$PATH
quom crt.hpp crt_gen.cpp

It runs silently without any output or error message. No new file crt_gen.cpp generated.
I have searched not just under current folder but under / , /home, /home/hp, /c/users/hp/.local/bin as well.

There is no issue with the usual way of running this which is like this:

$ g++ crt.cpp -o crt.exe -L/mingw64/bin -I/mingw64/include/flint -lgmp -lflint -lpthread
$ ./crt 2342

Everything is Fine

@Viatorus
Copy link
Owner

Viatorus commented Dec 5, 2022

Could you retry it:

@ishandutta2007
Copy link
Author

ishandutta2007 commented Dec 8, 2022

Could you retry it:

  • with an absolute output path (e.g. quom crt.hpp /home/hp/crt_gen.cpp)

tried, but no luck

same here, no luck here either be it with absolute output path or relative path .

Seems like support for MinGW x64 needs to be worked on. I haven't gone through the code yet to suggest changes. Please keep the ticket open until support for MinGW x64 is resolved.

@Viatorus
Copy link
Owner

Viatorus commented Dec 8, 2022

Okay. Hmm.

I do require more information: How did you exactly set up this MinGW environment?

@ishandutta2007
Copy link
Author

ishandutta2007 commented Dec 8, 2022

Here are the steps I followed:

  • go to msys2.org
  • download installer, follow instructions 1-5
  • run MSYS2 MinGW x64 from Start menu
  • follow instruction 7, installing all (the default)
  • pacman -S git

After that the usual drill for your code.

  • pip install --user quom
  • PATH=/c/users/hp/.local/bin:$PATH
  • git clone https://github.com/Viatorus/quom
  • cd quom/examples/flat_structure
  • quom /home/hp/quom/examples/flat_structure/libfoobar/foobar.hpp /home/hp/quom/examples/flat_structure/foobar_gen.hpp -s "> stitch <" -g FOOBAR_.+_HPP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants