Ruland urmatoarele comenzi: C:\cygwin\home\Student>"C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" && nmake /nologo build Setting environment for using Microsoft Visual Studio 2010 x86 tools. cl /nologo /w /DDLL_IMPORTS /D_CRT_SECURE_NO_WARNINGS /c hash.c hash.c link /dll /out:hash.dll hash.obj Microsoft (R) Incremental Linker Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /w /DDLL_IMPORTS /D_CRT_SECURE_NO_WARNINGS /c main.c main.c Primesc foarte multe erori precum: main.c(75) : error C2275: 'hashtable' : illegal use of this type as an expression main.c(16) : see declaration of 'hashtable' main.c(75) : error C2065: 'table' : undeclared identifier main.c(77) : error C2065: 'table' : undeclared identifier main.c(78) : error C2065: 'table' : undeclared identifier main.c(78) : error C2223: left of '->buckets' must point to struct/union main.c(80) : error C2143: syntax error : missing ';' before 'type' . etc Am rulat pe windows makefile-ul si se creeaza executabilul cu succes. Care ar putea fi problema?
_______________________________________________ http://ocw.cs.pub.ro/courses/so/info/lista-discutii