Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ouch on July 03, 2009, 10:56:18 am

Title: i586-mingw32msvc-g++: no input files
Post by: ouch on July 03, 2009, 10:56:18 am
Hi running Ubuntu jaunty trying to cross compile for winxp using jens debian build of mingw32msvc. I followed the wiki article but I'm still having trouble getting it to actually work.

so I switched on log everything and here is what I get:

Code
-------------- Clean: Windows Release in Hardwar Patcher ---------------

Cleaned "Hardwar Patcher - Windows Release"

-------------- Build: Windows Release in Hardwar Patcher ---------------

i586-mingw32msvc-g++ -include wx_pch.h -D__WXGTK__ -DWX_PRECOMP  -O2  'wx-config --host=i586-mingw32msvc --static --cflags'    -Iobj/Release -I- -Iobj/Release -I. -I/usr/include -I../wxsqlite/include -I../sqlite-3.6.2 -I/home/ouch/Desktop/wxsqlite3/include -I/usr/i586-mingw32msvc/include  -c "/home/ouch/Desktop/Hardwar Patcher/wx_pch.h" -o obj/Release/wx_pch.h.gch
i586-mingw32msvc-g++: no input files
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

also note that the linux targets still work fine.
Title: Re: i586-mingw32msvc-g++: no input files
Post by: Jenna on July 03, 2009, 11:15:52 am
Put the call to wx-config in backticks :"`" instead of single quotes !!
Otherwise it can not be expanded.

EDIT:
and if you use sqlite or any other thirdparty-libs, make sure you have the windows binaries to link against.