Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TickingHands

Pages: [1]
1
Window / [SOLVED] Window Crashing
« on: December 07, 2009, 03:15:52 am »
I had something like that...

Except my problem was that I had both the normal .lib and the -d.lib linked. Make sure that isn't the problem either.

Hope you fix the problem.

2
General / [Solved]So much for this tutorial...
« on: December 04, 2009, 01:40:42 am »
Yea, I figured that.

Also I actually did not realize I had linked both libraries.

So 1. The preview wouldn't exactly help me... I put the edits at the top of each post to say if you need to disregard the rest of the post or a new error, instead of reposting.
2. Someone else on another forum told me to check if I had accidentally added both libraries or just check that general area.  

I did figure out the whole "restart()" problem, I suppose I could have put the order of edits in a different arrangement. Though I suppose it was easier for me to understand than you or someone else.

Anywho, thanks for the help.

3
General / [Solved]So much for this tutorial...
« on: December 03, 2009, 09:28:50 am »
Edit 3: I got everything fixed.


Edit 2: Okay, now I need to force quit it lol.

Code: [Select]

Unhandled exception at 0x00005c00 in SFML_Tuts.exe: 0xC0000005: Access violation reading location 0x00005c00.


Hmm... Englishe?

Edit: Fixed... That was stupid. Maybe I should try actually defining what restart does? lol

Alright, now I have these three:

Errors:
Code: [Select]

Error 19 error LNK2001: unresolved external symbol "public: void __thiscall Board::restart(void)" (?restart@Board@@QAEXXZ) uInterface.obj

Error 18 error LNK2019: unresolved external symbol "public: void __thiscall Board::restart(void)" (?restart@Board@@QAEXXZ) referenced in function "public: __thiscall Board::Board(class sf::RenderWindow &)" (??0Board@@QAE@AAVRenderWindow@sf@@@Z) board.obj

Error 20 fatal error LNK1120: 1 unresolved externals C:\Documents and Settings\William and Daniel\My Documents\Visual Studio 2008\Projects\SFML_Tuts\Debug\SFML_Tuts.exe


4
General / [Solved]So much for this tutorial...
« on: December 03, 2009, 03:03:51 am »
Edit: Solved

Edit: Okay, scratch that. It isn't just that line or problem. There are too many to type out lol. If you could just compile the code( download below ) and help me fix the problems that would very nice of you and would be awesome.

Alright, I'm doing the tutorials here http://redkiing.wordpress.com/category/games/sfml/ .

My problem is that there is a line of code

Code: [Select]

sf::Color::Color boardColor;


Which renders many nasty errors( In fact all the errors I have are from this )

Errors:
Code: [Select]

Error 1 error C2146: syntax error : missing ';' before identifier 'boardColor'

Error 2 error C2602: 'sf::Color::{ctor}' is not a member of a base class of 'Board'

etc...


This line is in the class Board. The corresponding piece of code in the .cpp file is this

Code: [Select]

boardColor = sf::Color::Color(0, 102, 153 );


If the rest of the code is needed, I can either put it on here or you can download the source code here http://www.mediafire.com/?lzijniewqww

5
General / Two linker errors (Doing first tutorial)
« on: October 12, 2009, 07:51:46 pm »
Actually it was a my bad lol.

I have no idea why, but I made it a windows application, not a console. Therefore causing some strange problems...

Well I got it working, thanks for the help though.

6
General / Two linker errors (Doing first tutorial)
« on: October 12, 2009, 07:36:23 pm »
Well I am starting SFML with Visual Studio 2008.

I set up the library and include paths. I also included the sfml-system-d.lib in the Additional Dependencies located in the Linker>Input in the projects properties.

I still get these two errors when I try to compile/debug:
Code: [Select]

Error 1 error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup MSVCRTD.lib

Error 2 fatal error LNK1120: 1 unresolved externals C:\Documents and Settings\User\My Documents\Visual Studio 2008\Projects\SFML_Testing\Debug\SFML_Testing.exe


Am I still missing something? Need more information or pictures?

Thanks in advance. (Sorry if there were plenty of other threads like this, I didn't find the solution in them)

Pages: [1]
anything