Jump to content

  • Log In with Google      Sign In   
  • Create Account

RobMiracle

Member Since 24 May 2007
Offline Last Active Dec 16 2012 09:00 PM

Posts I've Made

In Topic: OOP Help :: Getting started with iPhone dev :: Corona / LUA

16 December 2012 - 08:32 PM

Corona Labs has started a new tutorial page to help people get started wtih Lua and Corona SDK.

http://www.coronalabs.com/resources/tutorials/

In Topic: Some "Noob" questions from someone who shouldn't be a noob

26 May 2007 - 02:32 AM

I guess I forgot how far I got with VC. I'm now getting the same TTF linker errors:
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
robbie1.obj : error LNK2019: unresolved external symbol _TTF_OpenFont referenced in function "struct _TTF_Font * __cdecl LoadFont(char *,char *,int)" (?LoadFont@@YAPAU_TTF_Font@@PAD0H@Z)
robbie1.obj : error LNK2019: unresolved external symbol _IMG_Load referenced in function "struct SDL_Surface * __cdecl load_image(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?load_image@@YAPAUSDL_Surface@@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
robbie1.obj : error LNK2019: unresolved external symbol _TTF_RenderText_Blended referenced in function "void __cdecl show_paused(void)" (?show_paused@@YAXXZ)
robbie1.obj : error LNK2019: unresolved external symbol _TTF_Init referenced in function "bool __cdecl init(void)" (?init@@YA_NXZ)
robbie1.obj : error LNK2019: unresolved external symbol _TTF_FontLineSkip referenced in function "void __cdecl show_high_scores(void)" (?show_high_scores@@YAXXZ)
robbie1.obj : error LNK2019: unresolved external symbol _TTF_Quit referenced in function "void __cdecl clean_up(void)" (?clean_up@@YAXXZ)
robbie1.obj : error LNK2019: unresolved external symbol _TTF_CloseFont referenced in function "void __cdecl clean_up(void)" (?clean_up@@YAXXZ)
C:\Documents and Settings\rwm\My Documents\Visual Studio 2005\Projects\robbie1\Debug\robbie1.exe : fatal error LNK1120: 7 unresolved externals


In Topic: Some "Noob" questions from someone who shouldn't be a noob

26 May 2007 - 01:47 AM

I'm not sure I would characterize anyone who makes nightly builds "Lazy", that seems rather active to me.

But to be fair, I've downloaded both and both are giving me similar but different problems.

VC++ doesn't come with the ability to make non-console win32 apps. You to install a separate template for that. I followed the instructions for that and now it game won't link against any libc routines. I found a flag about using CRT (Common Run Time library I assume, I've done very little windows apps, I did all the Unix backend parts in my past game writing life) and when I toggle it, all the resolutions errors go away, but I'm left with a single error that it can't find another library (that sounds like libc.dll). Unfortunately, as I type this, I'm booted up in Linux, my primary desktop, so I can't get specific errors.

I also installed Code:Blocks and while it seems to work well, its giving me a different set of issues. When I created the project, I selected an SDL project. I cut/pasted my source over top of the existing main.cpp that it created (though I kept a couple of different headers). It instantly started complaining about missing headers including "SDL/SDL.h" so bright me, I point the include directors to where I have the SDL files I downloaded for VC. Great, my compile time dependencies went away, but I was left again with linker errors where it couldn't find the SDL libs. I (and this was probably stupid), pointed the project to the lib folder for all the SDL libs I downloaded for VC++. That cleaned up most of my linker errors except for the TTL library which is still throwing linker errors for all TTF routines that I use. There is one additional SDL call its complaining about as well. (again booted up in Linux so I can't get specifics).

I would have thought that by selecting SDL as the project type it would have handled all the headers and libraries.

Thoughts?

Thanks
Rob

PARTNERS