Closed hzxGoForward closed 4 years ago
@hzxGoForward you will need to configure a custom build, following these steps:
dash make
the target in my exampleCustom Build Application
:
Target: choose the target defined in step 4
Executable: could be dash-qt or dashd - generated in step 2
Program arguments: parameters that will be passed when starting the executableNow you can run or debug the code Have fun :)
'FDELT_TYPE 'does not name a type
Here is my CMakeLists.txt:
When I clicked the 'Build' button in CLion, I got a wong message which is :
/usr/gitHubCode/dash/src/compat/glibc_compat.cpp:24:12: error: ‘FDELT_TYPE’ does not name a type; did you mean ‘DEV_T_TYPE’? extern "C" FDELT_TYPE fdelt_warn(FDELT_TYPE a) ^
~~~~~ DEV_T_TYPE /usr/gitHubCode/dash/src/compat/glibc_compat.cpp:30:12: error: ‘FDELT_TYPE’ does not name a type; did you mean ‘__DEV_T_TYPE’? extern "C" FDELT_TYPE fdelt_chk(FDELT_TYPE) attribute((weak, alias("__fdelt_warn"))); ^~~~~~So, can anyone know tells me how to fix this problem or How can I build it successifully in CLion? Thanks.