日本語simutransフォーラム > 解決されたバグ

[Nettool makefile] MingWでのコンパイルには lwsock32が必要

(1/1)

z9999+:
Nettool makefile for MingW needs wsock32.


--- 引用 ---ifeq ($(OSTYPE),mingw)
  CC ?= gcc
  OS_OPT   ?= -mno-cygwin -march=pentium
  # we need the libraries EXACTLY in this order to link
  STD_LIBS = -lmingw32 -lstdc++ -lwsock32
endif

--- ここまで引用 ---

And this is not an error, but curses doesn't need for MingW.


--- 引用 ---g++.exe: -lcurses: linker input file unused because linking not done
===> LD  ../build/default/nettool/nettool

--- ここまで引用 ---

ナビゲーション

[0] メッセージ一覧

フルブラウザ表示にする