Author Topic: Compiling AM on Windows  (Read 3964 times)

liquid8d

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 442
    • View Profile
Compiling AM on Windows
« on: June 10, 2015, 12:06:14 PM »
Perhaps we can get a Development sub also? :)

I'm trying to compile AM on Windows (multiple versions, same result)- I have some experience with this but it's very possible I didn't install something with MinGW/msys...

make output:
Code: [Select]
g++ -c -o obj/fe_base.o src/fe_base.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_util.o src/fe_util.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_util_sq.o src/fe_util_sq.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_info.o src/fe_info.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_input.o src/fe_input.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_romlist.o src/fe_romlist.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_xml.o src/fe_xml.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_settings.o src/fe_settings.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_build.o src/fe_build.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_config.o src/fe_config.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_presentable.o src/fe_presentable.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_present.o src/fe_present.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/sprite.o src/sprite.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_image.o src/fe_image.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_sound.o src/fe_sound.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_shader.o src/fe_shader.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_overlay.o src/fe_overlay.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_window.o src/fe_window.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/tp.o src/tp.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_text.o src/fe_text.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_listbox.o src/fe_listbox.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE
g++ -c -o obj/fe_vm.o src/fe_vm.cpp  -mconsole -O2  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include  -DNO_MOVIE

All goes smoothly until fe_vm when I start getting errors for missing SqOverloadFunc:
Code: [Select]
extlibs/sqrat/include/sqrat/sqratClass.h:277: error: no matching function for call to `SqOverloadFunc(void (FeShader::*&)(const char*, FeImage*))'
make: *** [obj/fe_vm.o] Error 1

Any ideas?

liquid8d

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 442
    • View Profile
Re: Compiling AM on Windows
« Reply #1 on: June 11, 2015, 07:53:16 PM »
OK, I'm an idiot.

One, I didn't see the details on the Compile page about cross-compiling. I'd rather not, but will if I have to.

Two - it says to use the mingw make command (which I wasn't).. so I'll see how it goes from there.

Anyone compile on Windows or know the reasons why it's recommended to not compile on it?