Comments (6)
Hi @priyankguddu ,
thanks for taking the time to test this build !
Just to be sure, I confirm that the branch experimental-esp-idf-build-workflow is the best starting point.
It has all the latest patches, is updated with the main from time to time, AND is automatically built (by GitHub CI).
This way you can confirm that the build is possible indeed, plus you can use the automated build config file as a guideline if your setup is not working properly.
Additionally, some have found that building with the official docker image can remove the complexity of maintaining / tuning / tweaking your local ESP-IDF install. I'd suggest using the v5.0.1
tag of this image as a starting point.
If you still have issues, please highlight the detailed steps (if Docker: docker run ...
included ; indicating the ESP-IDF version, and your O/S version), the git branch and version of the OVMS3 you're using, and the output / error message, so that we can help you. The first step would be that we manage to reproduce the error message, so please reproduce it in a clean environment (a VM for example) and share the steps with us.
from open-vehicle-monitoring-system-3.
Hi @priyankguddu,
how does the compilation work for you ? Did you have time to fix it, or setup the docker image ?
Let us know !
from open-vehicle-monitoring-system-3.
Hi @llange,
Got the following error when build using normal command line.
CMake Error: Error required internal CMake variable not set, cmake may not
be built correctly.
Missing variable is:
CMAKE_FIND_LIBRARY_PREFIXES
CMake Error: Error required internal CMake variable not set, cmake may not
be built correctly.
When tried with docker, gives the following error:
CMake Error at /opt/esp/idf/tools/cmake/component.cmake:312 (message):
Include directory '/project/components/zip/libzip/lib' is not a directory.
Call Stack (most recent call first):
/opt/esp/idf/tools/cmake/component.cmake:486 (__component_add_include_dirs)
components/zip/CMakeLists.txt:10 (idf_component_register)
esp-idf version: 5.0.1
Please suggest resolution.
from open-vehicle-monitoring-system-3.
Hello @mk11047 ,
It seems that (at least for the docker try), you did not fully follow the instructions. It looks like your local git repo is not fully initialized, in particular the submodules.
Have you followed the developper guide https://docs.google.com/document/d/1q5M9Lb5jzQhJzPMnkMKwy4Es5YK12ACQejX_NWEixr0/edit#heading=h.iq9ytb4muvpt ? In particular the git submodule ...
part.
In any case, it's always better to give full (reproducible) context, including your command line so that we can follow exactly the steps you've made.
For the non-docker try, it seems you did not launch the export
script : https://docs.espressif.com/projects/esp-idf/en/v5.0.2/esp32/get-started/linux-macos-setup.html#step-4-set-up-the-environment-variables
So please start from scratch (in a temporary folder), reproduce your build error, and then copy all the steps starting from git clone ...
so that we can see exactly what happens.
Let us know.
from open-vehicle-monitoring-system-3.
Hi @llange
As suggested I followed the steps mentioned in link and observing the same issue. The hello world compilation is fine but getting issue with ovms compilation.
Attached is the log file of my execution of the commands and their received output. Log File: test_ovms.txt
from open-vehicle-monitoring-system-3.
Hi @mk11047,
thanks for the attached output log, it helped me see what parts are missing:
- You're using
master
branch of my fork, which is not the best starting point. I recommend starting with branchbuild-master
- The developper guide is not optional! You really should read it, in particular the git submodule parts as I explained previously.
- Then, there are a few manual patches that are still needed.
Let's try this sequence of operations: (please adapt when I guessed wrong)
. /home/yantrr/Videos/esp-idf/export.sh
cd /home/yantrr/Videos/Open-Vehicle-Monitoring-System-3
git checkout build-master
git fetch --all
git pull
git submodule update --init --recursive # Just do that one time, or when you update with git fetch
git apply --directory="vehicle/OVMS.V3/components/mongoose/mongoose" "vehicle/OVMS.V3/support/mongoose-espv5.patch" # Just do that one time
cd vehicle/OVMS.V3
cp support/sdkconfig.defaults.esp5.0.1 sdkconfig # Just do that one time
idf.py build
I believe it should then build.
Please be warned, that this branch is not (yet) ready for consumption, not working as it should, lacking some pieces (in particular TLS / SSL is not working, etc...)
This is really a developer testbed, with all its quirks, and if you feel that you're not ready to deal with all these issues then it's best waiting that we complete the port. (But of course every help is useful !)
Let us know.
from open-vehicle-monitoring-system-3.
Related Issues (20)
- mongoose: customize default DNS servers
- ESP-IDF-v5.1next: new error following a possible upgrade of toolchain
- Nissan Leaf 2014 - No reading of battery temperature by OVMS after converting from 24 to 40 kWh HOT 5
- 2023 Kia Niro EV - Vehicle is being transported while parked
- Unit conversion for temperature standard deviation not correct
- Trip report should have more digits of precision for mi/kWh
- Modem uses extremely high power when in failed roaming state
- Rename Hyundai Ioniq 5 (proposal)
- Regularly Dropping off the Network / Crashlog HOT 1
- Aux Batt Reference Voltage Issue HOT 1
- filesystem corruption HOT 2
- Edit links broken? HOT 1
- Compiled latest main, now stuck in bootloop HOT 1
- Toyota Hiace EV and Temperatures HOT 2
- Fiat 500e not showing charging status HOT 5
- OVMS Module Full Reflash HOT 2
- vehicle.charge.pilot.on/off storm on Leaf causing device to stop respond or even reboot. HOT 5
- Support for FIAT e-Doblo (same as Peugeot Rifter, Opel Combo, Citroen Berlingo?) HOT 5
- Kia Niro EV (eNiro) 2019. Aux battery high power drain HOT 2
- Connecting OVMS unit to running LEAF ZE0 caused orange car symbol on dashboard.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-vehicle-monitoring-system-3.