Skip to content

Following instructions on git hub for installation of pcb2gcode does not work on MYSYS2 #725

@scnew

Description

@scnew

I did the following using the directions I could not get pcb2gcode to work:

Finally, download and build pcb2gcode

$ cd ..
$ git clone https://github.com/pcb2gcode/pcb2gcode.git
$ cd pcb2gcode/
$ autoreconf -fvi
$ ./configure <-- Failed : see below
$ make LDFLAGS='-s'

$ ./configure

.....................
..........
...
checking whether to build with code coverage support... no
checking for valgrind... no
checking for Boost headers version >= 1.60.0... no
configure: error: cannot find Boost headers version >= 1.60.0

I checked MYSYS2 for the boost libs that are installed using pacman

$ pacman -Ss | grep boost
clangarm64/mingw-w64-clang-aarch64-boost 1.88.0-2
clangarm64/mingw-w64-clang-aarch64-boost-libs 1.88.0-2
mingw32/mingw-w64-i686-boost 1.88.0-2
mingw32/mingw-w64-i686-boost-libs 1.88.0-2
mingw64/mingw-w64-x86_64-boost 1.88.0-2 [installed]
mingw64/mingw-w64-x86_64-boost-libs 1.88.0-2 [installed]
ucrt64/mingw-w64-ucrt-x86_64-boost 1.88.0-2
ucrt64/mingw-w64-ucrt-x86_64-boost-libs 1.88.0-2
clang64/mingw-w64-clang-x86_64-boost 1.88.0-2 [installed]
clang64/mingw-w64-clang-x86_64-boost-libs 1.88.0-2 [installed]

I then checked for boost*.pc under the mingw64 libs area with the following:
under /mingw64/lib

$ find . -type f -print | grep boost

There were a how bunch of files under cmake (too extensive to list)

Here is what I got ---
./cmake/...................
.......................................
...
./libboost_atomic-mt.a
./libboost_atomic-mt.dll.a
./libboost_charconv-mt.a
./libboost_charconv-mt.dll.a
./libboost_chrono-mt.a
./libboost_chrono-mt.dll.a
./libboost_cobalt-mt.a
./libboost_cobalt-mt.dll.a
./libboost_container-mt.a
./libboost_container-mt.dll.a
./libboost_context-mt.a
./libboost_context-mt.dll.a
./libboost_contract-mt.a
./libboost_contract-mt.dll.a
./libboost_coroutine-mt.a
./libboost_coroutine-mt.dll.a
./libboost_date_time-mt.a
./libboost_date_time-mt.dll.a
./libboost_fiber-mt.a
./libboost_fiber-mt.dll.a
./libboost_fiber_numa-mt.a
./libboost_fiber_numa-mt.dll.a
./libboost_filesystem-mt.a
./libboost_filesystem-mt.dll.a
./libboost_graph-mt.a
./libboost_graph-mt.dll.a
./libboost_iostreams-mt.a
./libboost_iostreams-mt.dll.a
./libboost_json-mt.a
./libboost_json-mt.dll.a
./libboost_locale-mt.a
./libboost_locale-mt.dll.a
./libboost_log-mt.a
./libboost_log-mt.dll.a
./libboost_log_setup-mt.a
./libboost_log_setup-mt.dll.a
./libboost_nowide-mt.a
./libboost_nowide-mt.dll.a
./libboost_numpy312-mt.a
./libboost_numpy312-mt.dll.a
./libboost_prg_exec_monitor-mt.a
./libboost_prg_exec_monitor-mt.dll.a
./libboost_process-mt.a
./libboost_process-mt.dll.a
./libboost_program_options-mt.a
./libboost_program_options-mt.dll.a
./libboost_python312-mt.a
./libboost_python312-mt.dll.a
./libboost_random-mt.a
./libboost_random-mt.dll.a
./libboost_serialization-mt.a
./libboost_serialization-mt.dll.a
./libboost_stacktrace_basic-mt.a
./libboost_stacktrace_basic-mt.dll.a
./libboost_stacktrace_noop-mt.a
./libboost_stacktrace_noop-mt.dll.a
./libboost_stacktrace_windbg-mt.a
./libboost_stacktrace_windbg-mt.dll.a
./libboost_stacktrace_windbg_cached-mt.a
./libboost_stacktrace_windbg_cached-mt.dll.a
./libboost_test_exec_monitor-mt.a
./libboost_thread-mt.a
./libboost_thread-mt.dll.a
./libboost_timer-mt.a
./libboost_timer-mt.dll.a
./libboost_type_erasure-mt.a
./libboost_type_erasure-mt.dll.a
./libboost_unit_test_framework-mt.a
./libboost_unit_test_framework-mt.dll.a
./libboost_url-mt.a
./libboost_url-mt.dll.a
./libboost_wave-mt.a
./libboost_wave-mt.dll.a
./libboost_wserialization-mt.a
./libboost_wserialization-mt.dll.a

There were no boost*.pc files under lib directory.

I did check boost repository. I found nothing as far as bugs or instructions for MYSYS2 boost libs. I have searched for something that would tell me why boost*.pc are not there only to find the following:

"Many Boost libraries are "header-only" and don't require separate compilation or linking, so they won't have a corresponding .pc file. pkg-config is primarily for linking against compiled libraries."

I am not sure which boost libs that are needed. I would have to go through the code and figure that out. Not sure if anyone has any answers to this issue.

I did try and find binaries for MYSYS2 and did not have any luck. So-- I guess I cannot use pcb2gcode for MYSYS2.

If anyone has info to the contrary please post.

Kind Regards---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions