Maybe; without much details on the error, it's going to be difficult to diagnose and fix the issue.
On Aug 8, 2017 01:35, "Thomas Schober" <thomas.scho...@gmail.com> wrote: > I managed to get it compiling. I removed the option "generate_mock_code" > in the line with the error and it compiled / generated without any problem. > I also could compile and run the helloWorld example. Maybe there is a bug > in the script here ? > > Am Montag, 7. August 2017 19:55:58 UTC+2 schrieb Nicolas Noble: >> >> Try running with the environment variable V=1. There's something odd with >> this error line since it seems to mean you're not using the plugin that got >> just compiled. It may be a matter of file extension that's missing. >> >> On Thu, Aug 3, 2017 at 6:03 AM, Thomas Schober <thomas....@gmail.com> >> wrote: >> >>> Hi, >>> >>> i manged to get the things compiling on MSYS2 by removing -Werror from >>> the Makefile. There have been a lot off dllimport warnings which would be >>> treated as errors insted. After i removed -Werro compiler flag it compiles >>> until it steps on to build the protobuf things. There it hangs here : >>> >>> [HOSTLD] Linking /home/tsb/grpc/bins/opt/grpc_cpp_plugin >>> [HOSTCXX] Compiling src/compiler/csharp_plugin.cc >>> [HOSTLD] Linking /home/tsb/grpc/bins/opt/grpc_csharp_plugin >>> [HOSTCXX] Compiling src/compiler/node_plugin.cc >>> [HOSTLD] Linking /home/tsb/grpc/bins/opt/grpc_node_plugin >>> [HOSTCXX] Compiling src/compiler/objective_c_plugin.cc >>> [HOSTLD] Linking /home/tsb/grpc/bins/opt/grpc_objective_c_plugin >>> [HOSTCXX] Compiling src/compiler/php_plugin.cc >>> [HOSTLD] Linking /home/tsb/grpc/bins/opt/grpc_php_plugin >>> [HOSTCXX] Compiling src/compiler/python_plugin.cc >>> [HOSTLD] Linking /home/tsb/grpc/bins/opt/grpc_python_plugin >>> [HOSTCXX] Compiling src/compiler/ruby_plugin.cc >>> [HOSTLD] Linking /home/tsb/grpc/bins/opt/grpc_ruby_plugin >>> [PROTOC] Generating protobuf CC file from src/proto/grpc/health/v1/healt >>> h.proto >>> [GRPC] Generating gRPC's protobuf service CC file from >>> src/proto/grpc/health/v1/health.proto >>> [PROTOC] Generating protobuf CC file from src/proto/grpc/testing/echo_me >>> ssages.proto >>> [GRPC] Generating gRPC's protobuf service CC file from >>> src/proto/grpc/testing/echo_messages.proto >>> [PROTOC] Generating protobuf CC file from src/proto/grpc/testing/ >>> echo.proto >>> [GRPC] Generating gRPC's protobuf service CC file from >>> src/proto/grpc/testing/echo.proto >>> --grpc_out: src/proto/grpc/testing/echo.proto: Invalid parameter: >>> generate_mock_code=true;C >>> make: *** [Makefile:2381: /home/tsb/grpc/gens/src/proto/grpc/testing/ >>> echo.grpc.pb.cc] Error 1 >>> >>> Could anyone have a look at this ? i can't evene find >>> generate_mock_code=true anywhere in the complete directory of grpc. >>> >>> My gcc info is as follows: >>> >>> $ gcc -v >>> Using built-in specs. >>> COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe >>> COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64- >>> w64-mingw32/6.2.0/lto-wrapper.exe >>> Target: x86_64-w64-mingw32 >>> Configured with: ../gcc-6.2.0/configure --prefix=/mingw64 >>> --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 >>> --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 >>> --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include >>> --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 >>> --with-tune=generic --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada >>> --enable-shared --enable-static --enable-libatomic --enable-threads=posix >>> --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-time=yes >>> --disable-libstdcxx-pch --disable-libstdcxx-debug >>> --disable-isl-version-check --enable-lto --enable-libgomp >>> --disable-multilib --enable-checking=release --disable-rpath >>> --disable-win32-registry --disable-nls --disable-werror --disable-symvers >>> --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 >>> --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by >>> MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 >>> --with-gnu-as --with-gnu-ld >>> Thread model: posix >>> gcc version 6.2.0 (Rev2, Built by MSYS2 project) >>> >>> Any Idea what i am dowing wrong here ? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "grpc.io" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to grpc-io+u...@googlegroups.com. >>> To post to this group, send email to grp...@googlegroups.com. >>> Visit this group at https://groups.google.com/group/grpc-io. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/grpc-io/5e290759-454e-4dd6-992d-75d5e8df44aa%40googlegroups.com >>> <https://groups.google.com/d/msgid/grpc-io/5e290759-454e-4dd6-992d-75d5e8df44aa%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to grpc-io+unsubscr...@googlegroups.com. > To post to this group, send email to grpc-io@googlegroups.com. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/grpc-io/a2bcfd49-927b-4e64-8b6f-c0c40a04d81f%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/a2bcfd49-927b-4e64-8b6f-c0c40a04d81f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAEvr0PGMrKOVSncFfB5J4Agdk5AOqz50OpXkKeq5AFwrV3Dg7A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.