Sina Khalili
Sina Khalili
> > build error occur on Decaf , can not open file. it seems some path error. > > ``` > > Checking Build System > > Generating code for...
@David-WL Did you find any solutions?
To fix this issue, I had to make these changes in CMakeLists.txt files: in: `linphone-sdk\external\decaf\src\generator\CMakeLists.txt` Replace: `${PROJECT_SOURCE_DIR}/src/generator/template.py` With: `../../../../../../../../linphone-sdk/external/decaf/src/generator/template.py` And in `src\generator\curve25519\CMakeLists.txt` and `src\generator\ed448goldilocks\CMakeLists.txt` Replace: `${PROJECT_SOURCE_DIR}/src/generator/template.py` With: `../../../../../../../../../linphone-sdk/external/decaf/src/generator/template.py` I'm now...
> > To fix this issue, I had to make these changes in CMakeLists.txt files: > > in: `linphone-sdk\external\decaf\src\generator\CMakeLists.txt` Replace: `${PROJECT_SOURCE_DIR}/src/generator/template.py` With: `../../../../../../../../linphone-sdk/external/decaf/src/generator/template.py` > > And in `src\generator\curve25519\CMakeLists.txt` and `src\generator\ed448goldilocks\CMakeLists.txt`...
Hi, look at this answer. https://github.com/BelledonneCommunications/linphone-desktop/issues/505#issuecomment-984528853
I also advice you to copy and build project on the root path of your disk drive, because long path will cause build failure.
> > Hi, look at this answer. > > [#505 (comment)](https://github.com/BelledonneCommunications/linphone-desktop/issues/505#issuecomment-984528853) > > This did not resolve my issue. I had the same error. What is the error message? Because...
> > I also advice you to copy and build project on the root path of your disk drive, because long path will cause build failure. > > Long path...
> This was resolved but now a new error occurred : > > C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209, 5): error MSB6006: "cmd.exe" exited with code 1. [D:\linphone-test\test2\linphone2\build\WORK\sdk.vcxproj] [D:\linphone -test\test2\linphone2\build\sdk.vcxproj] Perhaps...
>  You should be able to see another red error message if you scroll up. That will help you more.