Building ET:L with TrueType support. help!

Added by lklk9110 over 5 years ago

I’m building ET:L with FreeType support, but it comes with an error when building. It says,

No rule to make target 'libs/curl/libcurl.a’, needed by 'etl.exe’. Stop.

What’s wrong with it? I am weak at programming... Please help me.
Thank you.

issue.png (17.1 KB)

Issue

Replies (4)

RE: Building ET:L with TrueType support. help! - Added by Spyhawk over 5 years ago

Can you build without FreeType support? Both issue seem unrelated to me.

You probably have to use the bundle libs (check the Readme in the root source folder).

RE: Building ET:L with TrueType support. help! - Added by lklk9110 over 5 years ago

Spyhawk wrote:

Can you build without FreeType support? Both issue seem unrelated to me.

You probably have to use the bundle libs (check the Readme in the root source folder).

I have set all the BUNDLED_ options to ON, and I’m now getting another error,

C:\Users\Administrator\Documents\GitHub\etlegacy\libs\sdl-windows\lib\x86\SDLmain.lib(./Release/SDL_win32_main.obj):(.text[_WinMain@16]+0x0): multiple definition of `WinMain@16’
CMakeFiles\etl.dir/objects.a(sys_win32.c.obj):sys_win32.c:(.text+0x10e0): first defined here
Warning: .drectve `/manifestdependency:"type='win32’ name='Microsoft.VC90.CRT’ version='9.0.21022.8’ processorArchitecture='x86’ publicKeyToken='1fc8b3b9a1e18e3b’" /DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
C:\Users\Administrator\Documents\GitHub\etlegacy\libs\sdl-windows\lib\x86\SDLmain.lib(./Release/SDL_win32_main.obj):(.text[_main]+0x99): undefined reference to `_alloca_probe_16’
C:\Users\Administrator\Documents\GitHub\etlegacy\libs\sdl-windows\lib\x86\SDLmain.lib(./Release/SDL_win32_main.obj):(.text[_main]+0x14e): undefined reference to `@__security_check_cookie@4’
c:/qt/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: C:\Users\Administrator\Documents\GitHub\etlegacy\libs\sdl-windows\lib\x86\SDLmain.lib(./Release/SDL_win32_main.obj): bad reloc address 0xc in section `.text[_ShowError]'
collect2.exe: error: ld returned 1 exit status

Oh, I think I’m on hell...

RE: Building ET:L with TrueType support. help! - Added by Spyhawk over 5 years ago

You might want to use MS Visual Studio instead of QtCreator, I’ve never been able to compile under Windows with it. It’s longer to install and takes much more disk space, but that will solve your issue. (at least all the people that use MS VS succeeded - I never tried it myself since I’m using Linux).

RE: Building ET:L with TrueType support. help! - Added by lklk9110 over 5 years ago

Spyhawk wrote:

You might want to use MS Visual Studio instead of QtCreator, I’ve never been able to compile under Windows with it. It’s longer to install and takes much more disk space, but that will solve your issue. (at least all the people that use MS VS succeeded - I never tried it myself since I’m using Linux).

Thank you very much.

(1-4/4)