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

how to compile without boost #4

Open
LeeYangLBLBCS opened this issue Jul 18, 2022 · 1 comment
Open

how to compile without boost #4

LeeYangLBLBCS opened this issue Jul 18, 2022 · 1 comment
Assignees

Comments

@LeeYangLBLBCS
Copy link

I tried to compile ADPandABlocks on Ubuntu20.04.
I got the following error. It looks like boost is required to compile?
Is it possible to compile without boost?

thanks.

==========================
T_A=linux-x86_64 install
make[3]: Entering directory '/opt/epics/modules/ADPandABlocks/ADPandABlocksApp/tests/O.linux-x86_64'
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -Wall -Wextra -Wno-unused-parameter -mtune=generic -m64 -std=c++0x -pthread -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/opt/epics/modules/synApps_6_1_epics7/support/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/asyn-R4-38/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/areaDetector-R3-7/ADCore/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/motor-R7-2-1/include -I/opt/epics/base-7.0.4/include/compiler/gcc -I/opt/epics/base-7.0.4/include/os/Linux -I/opt/epics/base-7.0.4/include -I/usr/include/libxml2 -MM -MF testingutilities.d ../testingutilities.cpp
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -Wall -Wextra -Wno-unused-parameter -mtune=generic -m64 -std=c++0x -pthread -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/opt/epics/modules/synApps_6_1_epics7/support/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/asyn-R4-38/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/areaDetector-R3-7/ADCore/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/motor-R7-2-1/include -I/opt/epics/base-7.0.4/include/compiler/gcc -I/opt/epics/base-7.0.4/include/os/Linux -I/opt/epics/base-7.0.4/include -I/usr/include/libxml2 -MM -MF test_ADPandABlocks.d ../test_ADPandABlocks.cpp
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -Wall -Wextra -Wno-unused-parameter -mtune=generic -m64 -std=c++0x -pthread -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/opt/epics/modules/synApps_6_1_epics7/support/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/asyn-R4-38/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/areaDetector-R3-7/ADCore/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/motor-R7-2-1/include -I/opt/epics/base-7.0.4/include/compiler/gcc -I/opt/epics/base-7.0.4/include/os/Linux -I/opt/epics/base-7.0.4/include -I/usr/include/libxml2 -MM -MF tests.d ../tests.cpp
/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -Wall -Wall -Wextra -Wno-unused-parameter -mtune=generic -m64 -std=c++0x -pthread -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/opt/epics/modules/synApps_6_1_epics7/support/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/asyn-R4-38/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/areaDetector-R3-7/ADCore/include -I/opt/epics/base-7.0.4/../modules/synApps_6_1_epics7/support/motor-R7-2-1/include -I/opt/epics/base-7.0.4/include/compiler/gcc -I/opt/epics/base-7.0.4/include/os/Linux -I/opt/epics/base-7.0.4/include -I/usr/include/libxml2 -c ../tests.cpp
../tests.cpp:3:10: fatal error: boost/test/unit_test.hpp: No such file or directory
3 | #include <boost/test/unit_test.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [/opt/epics/base-7.0.4/configure/RULES_BUILD:249: tests.o] Error 1
make[3]: Leaving directory '/opt/epics/modules/ADPandABlocks/ADPandABlocksApp/tests/O.linux-x86_64'
make[2]: *** [/opt/epics/base-7.0.4/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[2]: Leaving directory '/opt/epics/modules/ADPandABlocks/ADPandABlocksApp/tests'
make[1]: *** [/opt/epics/base-7.0.4/configure/RULES_DIRS:85: tests.install] Error 2
make[1]: Leaving directory '/opt/epics/modules/ADPandABlocks/ADPandABlocksApp'
make: *** [/opt/epics/base-7.0.4/configure/RULES_DIRS:85: ADPandABlocksApp.install] Error 2

@gilesknap
Copy link

I was able to build this on ubuntu 20.04 without boost installed by removing this line from
configure/CONFIG_SITE.linux-x86_64.Common

BOOST=/usr

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