cl : Command line error D8004 : '/W' requires an argument

382 views
Skip to first unread message

popCon

unread,
Nov 26, 2018, 11:38:04 PM11/26/18
to ostinato
Can clearly see the -W 

cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -isystem C:/Qt/5.11.2/msvc2017_64/include -std=c++11 -Zi -MDd -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -Wall -W -Wextra -Werror -EHsc /Fddebug\ostproto.pdb -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DQT_NETWORK_LIB -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQT_QML_DEBUG -I..\..\ostinato\common


Just not sure of how to solve the error

thx in advance

Srivats P

unread,
Nov 27, 2018, 8:03:33 AM11/27/18
to Nickolas Lewis, osti...@googlegroups.com
Use the MinGW toolchain instead of MSVC.

Srivats
Founder, Ostinato

--
Get Ostinato News and Updates on Twitter - Follow @ostinato (http://twitter.com/ostinato)
---
You received this message because you are subscribed to the Google Groups "ostinato" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ostinato+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

nickola...@gmail.com

unread,
Nov 27, 2018, 10:39:53 AM11/27/18
to ostinato
went forward, trouble with

File does not reside within any path specified using --proto_path (or -I).  You must specify a --proto_path which encompasses this file.  Note that the proto_path must be an exact prefix of the .proto file names -- protoc is too dumb to figure out when two paths (e.g. absolute and relative) are equivalent (it's harder than you think).

for file protocol.proto ,,,    using Qtcreator
Reply all
Reply to author
Forward
0 new messages