how could i merge storescu to my own code?

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
winstonshi
Posts: 33
Joined: Mon, 2010-07-26, 15:12

how could i merge storescu to my own code?

#1 Post by winstonshi »

is there any lib to be used?
thank you.

winstonshi
Posts: 33
Joined: Mon, 2010-07-26, 15:12

Re: how could i merge storescu to my own code?

#2 Post by winstonshi »

winstonshi wrote:is there any lib to be used?
thank you.
first i got libdcmnet.a.
then i wrote main.c with
int main(void)
{
storescu("127.0.0.1", 104, "//mnt//hgfs//D//1.dcm");
return 1;
}
and a MakeFile with
test.exe:main.o libdcmnet(storescu)
gcc -o main main.c
after that i use
make MakeFile and always got
make: Nothing to be done for `MakeFile'.
what is wrong?
thank you.

winstonshi
Posts: 33
Joined: Mon, 2010-07-26, 15:12

Re: how could i merge storescu to my own code?

#3 Post by winstonshi »

hi there, i changed my make file to

test:main.o libdcmnet(storescu)
gcc main.o -o test
main.o:main.c
gcc -c main.c

but the error is the same, plz help.
thank you.
winstonshi wrote:
winstonshi wrote:is there any lib to be used?
thank you.
first i got libdcmnet.a.
then i wrote main.c with
int main(void)
{
storescu("127.0.0.1", 104, "//mnt//hgfs//D//1.dcm");
return 1;
}
and a MakeFile with
test.exe:main.o libdcmnet(storescu)
gcc -o main main.c
after that i use
make MakeFile and always got
make: Nothing to be done for `MakeFile'.
what is wrong?
thank you.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest