簡體   English   中英

MinGW下Windows中的Protobuf

[英]Protobuf in windows under MinGW

試圖在Windows的MinGW中編譯和使用Google的protobuf-這是我需要安裝的程序的依賴項。

我獲得了protobuf源,並使用msys的bash運行“配置”,但是configure的輸出掛在特定的位置。

protobuf-2.6.0>sh configure

checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)...

感謝@KentonVarda指出正確的方向:我遇到了以下問題: https ://superuser.com/questions/581921/netbeans-mingw-c-file-not-found

它指出的是:

  • 轉到C:\\ MinGW \\ bin並復制mingw32-make.exe。 然后將其重命名為make.exe
  • 現在轉到C:\\ MinGW \\ msys \\ 1.0 \\ bin並將make.exe重命名為makeOLD.exe(以防萬一)
  • 然后將新的make.exe移至C:\\ MinGW \\ msys \\ 1.0 \\ bin。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM