Logo Hardware.com.br
Masterick
Masterick Veterano Registrado
1.1K Mensagens 5 Curtidas

Problema ao compilar DLL

#1 Por Masterick 02/10/2006 - 16:21
Estou tentando compilar uma dll mas não consigo de jeito nenhum, recebo este erro:

symbol not defined
ld returned 1 exit status
D:\Aplicativos\Dev-Cpp\Makefile.win [Build Error] [Pluginatck.dll] Error 1

Alguém sabe o que é ?

PS: Estou usando o Dev-C++
Masterick
Masterick Veterano Registrado
1.1K Mensagens 5 Curtidas
#2 Por Masterick
02/10/2006 - 16:38
Recebi estes erros agora:

pluginatck.h:88: error: syntax error before "BOOL"
pluginatck.h:88: warning: no semicolon at end of struct or union
pluginatck.h:102: error: syntax error before '}' token
pluginatck.h:102: warning: data definition has no type or storage class

pluginatck.h:153: error: syntax error before "GameObject"
pluginatck.h:153: warning: no semicolon at end of struct or union

pluginatck.h:208: error: syntax error before "HMODULE"
pluginatck.h:251: error: syntax error before '}' token

dllmain.c:7: error: syntax error before "void"
Intel E 5200@3.6GHz- - OCZ Fatal1ty 2x2GB 800MHz@1000MHz- - Gigabyte GA-G31M-S2L
PowerColor HD 4870 PCS+ - - Samsung T220 - - Western Digital 500GB 16MB/SATAII -- 7Team 450P-CG
Masterick
Masterick Veterano Registrado
1.1K Mensagens 5 Curtidas
#5 Por Masterick
02/10/2006 - 17:21
Agora estou recebendo estes erros:

Compilador: Default compiler
Building Makefile: "D:\Aplicativos\Dev-Cpp\Makefile.win"
Executando make...
make.exe -f "D:\Aplicativos\Dev-Cpp\Makefile.win" all
gcc.exe -c dllmain.c -o ../Dev-Cpp/dllmain.o -I"D:/Aplicativos/Dev-Cpp/include" -DBUILDING_DLL=1

dllmain.c:6: error: syntax error before "void"

make.exe: *** [../Dev-Cpp/dllmain.o] Error 1

Execução terminada

Essa é a linha:

DLLIMPORT void HelloWorld ()

Não entendo qual é o erro.
Tá dificil :/
Intel E 5200@3.6GHz- - OCZ Fatal1ty 2x2GB 800MHz@1000MHz- - Gigabyte GA-G31M-S2L
PowerColor HD 4870 PCS+ - - Samsung T220 - - Western Digital 500GB 16MB/SATAII -- 7Team 450P-CG
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal