[Solved]Facing one error while building curl based application in Developer Studio

Hi
I am using curl methods to implement FTP.
In project, I am having only oneadef file though this error is occurred.

Error Faced :
Legato builder: ** ERROR: Only one app definition (.adef) file allowed.

my cdef :

sources:

{
FTPApplicationComponent.cpp
}
requires:
{
api:
{
le_data.api[manual-start]
}
file:
{
///etc/resolv.conf /cfg/
/usr/lib/libcurl.so.5 /lib/
/usr/lib/libgmp.so.10 /lib/
/usr/lib/libgnutls.so.28 /lib/
/usr/lib/libhogweed.so.2 /lib/
/usr/lib/libnettle.so.4 /lib/
/lib/libz.so.1 /lib/
}

}

and
adef file :

version: 1.0.0
maxFileSystemBytes: 512K
executables:
{
ftpapplication = ( FTPApplicationComponent )
}
bindings:
{
ftpapplication.FTPApplicationComponent.le_data → dataConnectionService.le_data
}
processes:
{
envVars:
{
LE_LOG_LEVEL = DEBUG
}
run:
{
( ftpapplication )
}
maxCoreDumpFileBytes: 512K
maxFileBytes: 512K
}

Kindly tell me how to solve it ?

After adding links of lib curl correcctly, this error get solved.

:slight_smile: