[so] Eroare compilare Windows

Razvan Crainea razvan.crainea at gmail.com
Wed Mar 15 00:00:05 EET 2017


On Tue, Mar 14, 2017 at 11:28 PM Vlad Popa via so <so at cursuri.cs.pub.ro>
wrote:

> 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?
>
> Salut, Vlad!

Ai rulat în mașina virtuală de Windows? Eu am rulat și primesc aceleași
erori.

Numai bine,
Răzvan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20170314/75e96d6c/attachment.html>


More information about the so mailing list