-
Notifications
You must be signed in to change notification settings - Fork 4
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
Build Failure #8
Comments
|
could you try |
I did make update_external and the build failure happened again
…On Thu, Aug 23, 2018, 11:39 PM Jingnan Si ***@***.***> wrote:
could you try
make update_external
to update all external dependency to latest version?
looks like the pybind11 library does not update correctly
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFD6iAqAxn8KeD2poDFg2_FVhbFZiMP6ks5uT3V4gaJpZM4UkgYT>
.
|
I think it caused by python3.7, I never test the pybind11 on 3.7, I am using 3.6. I will do some test see if I could fix the problem, in the mean time, could you try python 3.6 |
Arch has moved to python 3.7
…On Fri, Aug 31, 2018, 8:58 AM Jingnan Si ***@***.***> wrote:
I think it caused by python3.7, I never test the pybind11 on 3.7, I am
using 3.6. I will do some test see if I could fix the problem, in the mean
time, could you try python 3.6
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFD6iFADFubnQV19-CYWKJlFZUehmFEbks5uWTL3gaJpZM4UkgYT>
.
|
thanks, I am trying 3.7 and come back to you if I fix the problem |
I fixed python3.7 issue, please try again |
For some reason when building in a "chroot" CMAKE is not find wxgtk3 or xw-common |
|
After building it not in chroot i got this |
I have no idea what's the problem, it works fine on my machine. could you show me the wxgtk version number? |
local/wxgtk-common 3.0.4-1 |
I am using debian and the package I am using is libwxgtk3.0-dev, it works fine. |
but it's all about "pkgver" |
sorry, I never use arch before, I could not find the reason of build failure |
I'll try to figure stuff out myself
On Sep 1, 2018 10:25 PM, "Jingnan Si" <notifications@github.com> wrote:
sorry, I never use arch before, I could not find the reason of build failure
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFD6iH5PIkrceWTeDj7S3kGNs89FZpjNks5uW0GLgaJpZM4UkgYT>
.
|
It's a compiler error i think |
It's definitely a compiler error, do you use gcc7 or gcc8 |
There's something going on in the code that isn't allowing certain compilers to compile the code |
Thanks, it is caused by gcc-8, I just upgrade my linux box and get the same error, the wxwidget 3.0 code under gcc-8 generate more warnings than before. |
[ 10%] Building CXX object src/plugins/CMakeFiles/plugins.dir/default_show_context_window_task.cpp.o
In file included from /home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/embed.h:12,
from /home/solaraquarion/pkgbuild/wxglterm-git/src/wxglterm/src/plugins/default_show_context_window_task.cpp:1:
/home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/pybind11.h: In member function ‘void pybind11::cpp_function::initialize_generic(pybind11::detail::function_record*, const char*, const std::type_info* const*, pybind11::size_t)’:
/home/solaraquarion/pkgbuild/wxglterm-git/src/build/pybind11_install/include/pybind11/pybind11.h:309:74: error: cast between incompatible function types from ‘PyObject* ()(PyObject, PyObject*, PyObject*)’ {aka ‘_object* ()(_object, _object*, _object*)’} to ‘PyCFunction’ {aka ‘_object* ()(_object, _object*)’} [-Werror=cast-function-type]
rec->def->ml_meth = reinterpret_cast(*dispatcher);
^
cc1plus: all warnings being treated as errors
make[2]: *** [src/plugins/CMakeFiles/plugins.dir/build.make:76: src/plugins/CMakeFiles/plugins.dir/default_show_context_window_task.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:516: src/plugins/CMakeFiles/plugins.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
The text was updated successfully, but these errors were encountered: