Skip to content
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

Performing configure step for 'open62541_build' FAILED #7

Open
kogi84 opened this issue Jan 9, 2021 · 1 comment
Open

Performing configure step for 'open62541_build' FAILED #7

kogi84 opened this issue Jan 9, 2021 · 1 comment

Comments

@kogi84
Copy link

kogi84 commented Jan 9, 2021

Hello, a great project, thank you for that! I get an error, maybe someone can help me?
Where do I have to configure the compiler again?
[855/921] Performing configure step for 'open62541_build'
FAILED: esp-idf/open62541/open62541_build-prefix/src/open62541_build-stamp/open62541_build-configure
cmd.exe /C "cd /D C:\Users\RK\eclipseWorkspaceESP32\open62541-esp32\build\open62541 && C:\Users\RK\esp\esp-idf-4.0.2\tools\cmake\3.13.4\bin\cmake.exe -DUA_ARCHITECTURE=freertosLWIP -DUA_ENABLE_AMALGAMATION=ON -DUA_NAMESPACE_ZERO=FULL -DUA_ENABLE_SUBSCRIPTIONS_EVENTS=ON -DUA_ENABLE_DISCOVERY=ON -DUA_ENABLE_DISCOVERY_MULTICAST=ON -DUA_ENABLE_TYPEDESCRIPTION=OFF -DUA_ENABLE_STATUSCODE_DESCRIPTIONS=ON -DUA_LOGLEVEL=300 -DUA_ENABLE_NODESET_COMPILER_DESCRIPTIONS=OFF -DUA_FILE_NS0_BLACKLIST=C:/Users/RK/eclipseWorkspaceESP32/open62541-esp32/components/open62541/../../nodes_blacklist.txt -GNinja C:/Users/RK/eclipseWorkspaceESP32/open62541-esp32/components/open62541/repo && C:\Users\RK\esp\esp-idf-4.0.2\tools\cmake\3.13.4\bin\cmake.exe -E touch C:/Users/RK/eclipseWorkspaceESP32/open62541-esp32/build/esp-idf/open62541/open62541_build-prefix/src/open62541_build-stamp/open62541_build-configure"
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown

@igrr
Copy link
Contributor

igrr commented Apr 29, 2021

I suspect the issue is that CMake step for open62541 is started without passing the C compiler from the top-level project. Therefore CMake tries to find the compiler. But on Windows, it is quite common to not have a C compiler in PATH (or not have it at all), therefore this step fails. I think this can be fixed by passing the Xtensa cross-compiler to open62541_build subproject. I don't have a Windows environment now to verify this, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants