-
Notifications
You must be signed in to change notification settings - Fork 66
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
StdVector of pointer with CxxWrap 0.15 #419
Closed
Comments
grasph
added a commit
to grasph/wrapit
that referenced
this issue
Mar 23, 2024
Code for CxxWrap versions 0.15.x to generate differs from code for vesions 0.14.x, due to a change in the API. Wrapping of STL vectors of object pointers do not work with version 0.15.0. More details in JuliaInterop/CxxWrap.jl#419. The unit tests and the ROOT example that use such vector are conifgure to use 0.14.x version for now. The CxxWrap version the code should be generated can be selected using the new `cxxwrap_version` configuration parameter. Several other changes: o new --get command line option to retrieve values of some parameters; o new --add-cfg command line option to configure parameter normally set in the .wit configuration file; o fixed generation of random uuid; o add check of the verions of the libcxxwrap when compiling and when running the code. o Cleanup Julia package dependencies installation and version handling; Removed project setting from runtests.jl which is not needed anymore, as each test runs within its own temporary Julia project.
grasph
added a commit
to grasph/wrapit
that referenced
this issue
Mar 23, 2024
Code for CxxWrap versions 0.15.x to generate differs from code for vesions 0.14.x, due to a change in the API. Wrapping of STL vectors of object pointers do not work with version 0.15.0. More details in JuliaInterop/CxxWrap.jl#419. The unit tests and the ROOT example that use such vector are conifgure to use 0.14.x version for now. The CxxWrap version the code should be generated can be selected using the new `cxxwrap_version` configuration parameter. Several other changes: o new --get command line option to retrieve values of some parameters; o new --add-cfg command line option to configure parameter normally set in the .wit configuration file; o fixed generation of random uuid; o add check of the verions of the libcxxwrap when compiling and when running the code. o Cleanup Julia package dependencies installation and version handling; Removed project setting from runtests.jl which is not needed anymore, as each test runs within its own temporary Julia project.
grasph
added a commit
to grasph/wrapit
that referenced
this issue
Mar 23, 2024
Code for CxxWrap versions 0.15.x to generate differs from code for vesions 0.14.x, due to a change in the API. Wrapping of STL vectors of object pointers do not work with version 0.15.0. More details in JuliaInterop/CxxWrap.jl#419. The unit tests and the ROOT example that use such vector are conifgure to use 0.14.x version for now. The CxxWrap version the code should be generated can be selected using the new `cxxwrap_version` configuration parameter. Several other changes: o new --get command line option to retrieve values of some parameters; o new --add-cfg command line option to configure parameter normally set in the .wit configuration file; o fixed generation of random uuid; o add check of the verions of the libcxxwrap when compiling and when running the code. o Cleanup Julia package dependencies installation and version handling; Removed project setting from runtests.jl which is not needed anymore, as each test runs within its own temporary Julia project.
grasph
added a commit
to grasph/wrapit
that referenced
this issue
Mar 23, 2024
Code for CxxWrap versions 0.15.x to generate differs from code for vesions 0.14.x, due to a change in the API. Wrapping of STL vectors of object pointers do not work with version 0.15.0. More details in JuliaInterop/CxxWrap.jl#419. The unit tests and the ROOT example that use such vector are conifgure to use 0.14.x version for now. The CxxWrap version the code should be generated can be selected using the new `cxxwrap_version` configuration parameter. Several other changes: o new --get command line option to retrieve values of some parameters; o new --add-cfg command line option to configure parameter normally set in the .wit configuration file; o fixed generation of random uuid; o add check of the verions of the libcxxwrap when compiling and when running the code. o Cleanup Julia package dependencies installation and version handling; Removed project setting from runtests.jl which is not needed anymore, as each test runs within its own temporary Julia project.
grasph
added a commit
to grasph/wrapit
that referenced
this issue
Mar 23, 2024
Code for CxxWrap versions 0.15.x to generate differs from code for vesions 0.14.x, due to a change in the API. Wrapping of STL vectors of object pointers do not work with version 0.15.0. More details in JuliaInterop/CxxWrap.jl#419. The unit tests and the ROOT example that use such vector are conifgure to use 0.14.x version for now. The CxxWrap version the code should be generated can be selected using the new `cxxwrap_version` configuration parameter. Several other changes: o new --get command line option to retrieve values of some parameters; o new --add-cfg command line option to configure parameter normally set in the .wit configuration file; o fixed generation of random uuid; o add check of the verions of the libcxxwrap when compiling and when running the code. o Cleanup Julia package dependencies installation and version handling; Removed project setting from runtests.jl which is not needed anymore, as each test runs within its own temporary Julia project.
grasph
added a commit
to grasph/wrapit
that referenced
this issue
Mar 23, 2024
Code for CxxWrap versions 0.15.x to generate differs from code for vesions 0.14.x, due to a change in the API. Wrapping of STL vectors of object pointers do not work with version 0.15.0. More details in JuliaInterop/CxxWrap.jl#419. The unit tests and the ROOT example that use such vector are conifgure to use 0.14.x version for now. The CxxWrap version the code should be generated can be selected using the new `cxxwrap_version` configuration parameter. Several other changes: o new --get command line option to retrieve values of some parameters; o new --add-cfg command line option to configure parameter normally set in the .wit configuration file; o fixed generation of random uuid; o add check of the verions of the libcxxwrap when compiling and when running the code. o Cleanup Julia package dependencies installation and version handling; Removed project setting from runtests.jl which is not needed anymore, as each test runs within its own temporary Julia project.
grasph
added a commit
to grasph/wrapit
that referenced
this issue
Mar 23, 2024
Code for CxxWrap versions 0.15.x to generate differs from code for vesions 0.14.x, due to a change in the API. Wrapping of STL vectors of object pointers do not work with version 0.15.0. More details in JuliaInterop/CxxWrap.jl#419. The unit tests and the ROOT example that use such vector are conifgure to use 0.14.x version for now. The CxxWrap version the code should be generated can be selected using the new `cxxwrap_version` configuration parameter. Several other changes: o new --get command line option to retrieve values of some parameters; o new --add-cfg command line option to configure parameter normally set in the .wit configuration file; o fixed generation of random uuid; o add check of the verions of the libcxxwrap when compiling and when running the code. o Cleanup Julia package dependencies installation and version handling; Removed project setting from runtests.jl which is not needed anymore, as each test runs within its own temporary Julia project.
barche
added a commit
to JuliaInterop/libcxxwrap-julia
that referenced
this issue
Apr 1, 2024
barche
added a commit
to JuliaInterop/libcxxwrap-julia
that referenced
this issue
Apr 14, 2024
* Fix for JuliaInterop/CxxWrap.jl#419 * Fall back to CxxWrap as package in CI * Don't build JLL in CI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @barche , hello @melven ,
I have troubles with CxxWrap v0.15 and STL vectors of pointers. I get the following error message when compiling the wrapper.
The code producing this error is the following:
Julia script to compile and use the library in one shot:
It works fine with CxxWrap 0.14.2 + libcxxwarp v0.11.2+1 and it gives above error with CxxWrap 0.15.0 + libcxxwrap v0.12.2+0
Philippe.
The text was updated successfully, but these errors were encountered: