I am having a dependencies problem while trying to use openbook:
1- Openbook-v2 requires anchor (v0.28.0)
2- Anchor v0.28.0 requires solana-program versions (>=1.14, <1.17)
3- But openbook-v2 requires solana-program versions starting from 1.17.1
Then i changed to Anchor 0.29.0, but i am having the following error. Any idea how can i resolve this? Thanks!
[dependencies]anchor-lang = "0.29.0"anchor-spl = "=0.29.0"openbook-v2 = { git = "https://github.com/openbook-dex/openbook-v2", rev = "f3e17421e675b083b584867594bf3cf4f675d156" }solana-program = "2.1.11"
ERROR
error: package `solana-program v2.1.11` cannot be built because it requires rustc 1.79.0 or newer, while the currently active rustc version is 1.75.0-devNote that this is the rustc version that ships with Solana tools and not your system's rustc version. Use `solana-install update` or head over to https://docs.solanalabs.com/cli/install to install a newer version.Either upgrade to rustc 1.79.0 or newer, or usecargo update solana-program@2.1.11 --precise verwhere `ver` is the latest version of `solana-program` supporting rustc 1.75.0-dev