You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using ubuntu 22.04 on wsl in windows11.
when I followed the README instructions and finish compiling, I run the Vina-GPU generated by compiler and got this error message: ./Vina-GPU: error while loading shared libraries: libboost_program_options.so.1.77.0: cannot open shared object file: No such file or directory
this is the output of make debug :
gcc -o Vina-GPU -I../../boost_1_77_0 -I../../boost_1_77_0/boost -I./lib -I./OpenCL/inc -I/usr/local/cuda/include ./main/main.cpp -g ./lib/*.cpp ./OpenCL/src/wrapcl.cpp ../../boost_1_77_0/libs/thread/src/pthread/thread.cpp ../../boost_1_77_0/libs/thread/src/pthread/once.cpp -lboost_program_options -lboost_system -lboost_filesystem -lOpenCL -lstdc++ -lstdc++fs -lm -lpthread -L../../boost_1_77_0/stage/lib -L/usr/local/cuda/lib64 -DOPENCL_3_0 -DNVIDIA_PLATFORM -DBUILD_KERNEL_FROM_SOURCE
In file included from /usr/local/cuda/include/CL/opencl.h:24,
from ./OpenCL/inc/commonMacros.h:13,
from ./lib/monte_carlo.h:28,
from ./lib/parallel_mc.h:26,
from ./main/main.cpp:34:
/usr/local/cuda/include/CL/cl.h:26:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
26 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^
In file included from /usr/local/cuda/include/CL/opencl.h:24,
from ./OpenCL/inc/commonMacros.h:13,
from ./lib/cache.h:32,
from ./lib/cache.cpp:41:
/usr/local/cuda/include/CL/cl.h:26:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
26 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^
In file included from /usr/local/cuda/include/CL/opencl.h:24,
from ./OpenCL/inc/commonMacros.h:13,
from ./lib/cache.h:32,
from ./lib/main_procedure_cl.cpp:1:
/usr/local/cuda/include/CL/cl.h:26:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
26 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^
In file included from ../../boost_1_77_0/boost/config/header_deprecated.hpp:18,
from ../../boost_1_77_0/boost/progress.hpp:22,
from ./lib/main_procedure_cl.cpp:10:
../../boost_1_77_0/boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp> instead.’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
../../boost_1_77_0/boost/config/pragma_message.hpp:24:34: note: in definition of macro ‘BOOST_PRAGMA_MESSAGE’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
../../boost_1_77_0/boost/progress.hpp:23:1: note: in expansion of macro ‘BOOST_HEADER_DEPRECATED’
23 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
../../boost_1_77_0/boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
../../boost_1_77_0/boost/config/pragma_message.hpp:24:34: note: in definition of macro ‘BOOST_PRAGMA_MESSAGE’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
../../boost_1_77_0/boost/timer.hpp:21:1: note: in expansion of macro ‘BOOST_HEADER_DEPRECATED’
21 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/cuda/include/CL/opencl.h:24,
from ./OpenCL/inc/commonMacros.h:13,
from ./lib/monte_carlo.h:28,
from ./lib/monte_carlo.cpp:23:
/usr/local/cuda/include/CL/cl.h:26:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
26 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^
In file included from /usr/local/cuda/include/CL/opencl.h:24,
from ./OpenCL/inc/commonMacros.h:13,
from ./lib/monte_carlo.h:28,
from ./lib/parallel_mc.h:26,
from ./lib/parallel_mc.cpp:24:
/usr/local/cuda/include/CL/cl.h:26:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
26 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^
In file included from ../../boost_1_77_0/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
from ../../boost_1_77_0/boost/smart_ptr/detail/yield_k.hpp:23,
from ../../boost_1_77_0/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
from ../../boost_1_77_0/boost/smart_ptr/detail/spinlock.hpp:42,
from ../../boost_1_77_0/boost/smart_ptr/detail/spinlock_pool.hpp:25,
from ../../boost_1_77_0/boost/smart_ptr/shared_ptr.hpp:29,
from ../../boost_1_77_0/boost/shared_ptr.hpp:17,
from ../../boost_1_77_0/boost/date_time/time_clock.hpp:17,
from ../../boost_1_77_0/boost/thread/thread_time.hpp:9,
from ../../boost_1_77_0/boost/thread/lock_types.hpp:18,
from ../../boost_1_77_0/boost/thread/pthread/thread_data.hpp:12,
from ../../boost_1_77_0/boost/thread/thread_only.hpp:17,
from ../../boost_1_77_0/boost/thread/thread.hpp:12,
from ./lib/parallel.h:31,
from ./lib/parallel_mc.cpp:23:
../../boost_1_77_0/boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp> instead.’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
../../boost_1_77_0/boost/config/header_deprecated.hpp:23:37: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
23 | # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
| ^~~~~~~~~~~~~~~~~~~~
../../boost_1_77_0/boost/progress.hpp:23:1: note: in expansion of macro ‘BOOST_HEADER_DEPRECATED’
23 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
../../boost_1_77_0/boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
../../boost_1_77_0/boost/config/header_deprecated.hpp:23:37: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
23 | # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
| ^~~~~~~~~~~~~~~~~~~~
../../boost_1_77_0/boost/timer.hpp:21:1: note: in expansion of macro ‘BOOST_HEADER_DEPRECATED’
21 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../boost_1_77_0/boost/config/header_deprecated.hpp:18,
from ../../boost_1_77_0/boost/progress.hpp:22,
from ./lib/parallel_progress.h:26,
from ./lib/parallel_progress.cpp:25:
../../boost_1_77_0/boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp> instead.’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
../../boost_1_77_0/boost/config/header_deprecated.hpp:23:37: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
23 | # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
| ^~~~~~~~~~~~~~~~~~~~
../../boost_1_77_0/boost/progress.hpp:23:1: note: in expansion of macro ‘BOOST_HEADER_DEPRECATED’
23 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp> or <boost/timer/progress_display.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
../../boost_1_77_0/boost/config/pragma_message.hpp:24:34: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.’
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
../../boost_1_77_0/boost/config/header_deprecated.hpp:23:37: note: in expansion of macro ‘BOOST_PRAGMA_MESSAGE’
23 | # define BOOST_HEADER_DEPRECATED(a) BOOST_PRAGMA_MESSAGE("This header is deprecated. Use " a " instead.")
| ^~~~~~~~~~~~~~~~~~~~
../../boost_1_77_0/boost/timer.hpp:21:1: note: in expansion of macro ‘BOOST_HEADER_DEPRECATED’
21 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/cuda/include/CL/opencl.h:24,
from ./OpenCL/inc/commonMacros.h:13,
from ./OpenCL/inc/wrapcl.h:2,
from ./OpenCL/src/wrapcl.cpp:1:
/usr/local/cuda/include/CL/cl.h:26:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
26 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^
./OpenCL/src/wrapcl.cpp: In function ‘void SetupQueue(_cl_command_queue**, cl_context, _cl_device_id**)’:
./OpenCL/src/wrapcl.cpp:334:34: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]
334 | *queue = clCreateCommandQueue(context, devices[0], *props, &err); checkErr(err);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/cuda/include/CL/opencl.h:24,
from ./OpenCL/inc/commonMacros.h:13,
from ./OpenCL/inc/wrapcl.h:2,
from ./OpenCL/src/wrapcl.cpp:1:
/usr/local/cuda/include/CL/cl.h:1980:1: note: declared here
1980 | clCreateCommandQueue(cl_context context,
| ^~~~~~~~~~~~~~~~~~~~
do anyone using ubuntu on wsl have the same trouble?
The text was updated successfully, but these errors were encountered:
I am using ubuntu 22.04 on wsl in windows11.
when I followed the README instructions and finish compiling, I run the Vina-GPU generated by compiler and got this error message:
./Vina-GPU: error while loading shared libraries: libboost_program_options.so.1.77.0: cannot open shared object file: No such file or directory
this is the output of
make debug
:do anyone using ubuntu on wsl have the same trouble?
The text was updated successfully, but these errors were encountered: