#How do i get boost/regex.hpp header file?

1 messages · Page 1 of 1 (latest)

near badger
#

I've installed boost and its dependency, boost-libs for ucrt64, but it seems they don't provide regex.hpp. In a ucrt64 shell, compiling freemacs, I get this:
Mint/emacsbuffers.h:27:10: fatal error: boost/regex.hpp: No such file or directory

pacman -Ss boost regex comes up with nothing. Could it be some other package, do I have to compile part of Boost, or what?

It's been a long time since I compiled anything much. When I did, C++ wasn't so common and Boost dependency was even less common; it wasn't yet part of the C++ standard.

Installed boost packages:
ucrt64/mingw-w64-ucrt-x86_64-boost 1.89.0-1 [installed]
ucrt64/mingw-w64-ucrt-x86_64-boost-libs 1.89.0-1 [installed]

next coral
#

What compiler are you using? Looks like you might be missing mingw-w64-x86_64-ucrt-gcc mingw-w64-ucrt-x86_64-gcc.

near badger
#

oh dear. lol um... i don't know how to find which gcc is in use, i don't know how to filter the complex output of pacman -Ss, and that's not an exact package name. 🙂

#

lieska UCRT64 Freemacs $ pacman -Ss mingw-w64-x86_64-ucrt-gcc
lieska UCRT64 Freemacs $ pacman -Q mingw-w64-x86_64-ucrt-gcc
error: package 'mingw-w64-x86_64-ucrt-gcc' was not found

#

lieska UCRT64 Freemacs $ which g++
/usr/bin/g++

#

i guess this filtering is good enough:

#

lieska UCRT64 Freemacs $ pacman -Ss gcc | egrep '^ucrt64.*[installed]'
ucrt64/mingw-w64-ucrt-x86_64-gcc-libs 15.2.0-8 [installed]

#

that's a libs only. hmm

#

found this: ucrt64/mingw-w64-ucrt-x86_64-gcc 15.2.0-8 (mingw-w64-ucrt-x86_64-toolchain)

#

what does the parenthesised part on the end mean?

#

and if/when i install it, should i do anything besides make clean before trying again?

near badger
#

i finally thought to look at $PATH and oh i see! /ucrt64/bin is ahead of /usr/bin. that i can understand and work with. installing ...ucrt-x86_64-gcc

#

when i set this up, i thought pacman -S gcc make from a ucrt64 terminal would be enough, but i guess not. 🙂

#

i'm sorry for the noise. if i don't write things down, i can't think clearly enough to figure out what to do next. i'm going to start using a text file for that.

#

i installed, ran make clean and make, checked to find g++ is now /ucrt64/bin/g++, and got the same error.

#

i've found curses.h, but don't know whether to use the one in ncurses/ or ncursesw/ -- wide char or not? it's going to be 'not' for utf-8, isn't it?

near badger
#

well, i've got other compile issues now which aren't to do with msys. i want to mark this solved, how do i do that?

next coral
next coral