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

Author Topic: Can't compile the Window sample  (Read 6362 times)

0 Members and 1 Guest are viewing this topic.

sbroadfoot90

  • Jr. Member
  • **
  • Posts: 77
    • View Profile
Can't compile the Window sample
« Reply #15 on: October 12, 2011, 12:03:42 am »
Do you know the difference between dynamic and static linking?

TeLMo

  • Newbie
  • *
  • Posts: 16
    • MSN Messenger - thvs2live.it
    • View Profile
Can't compile the Window sample
« Reply #16 on: October 12, 2011, 01:02:35 am »
Quote from: "sbroadfoot90"
Do you know the difference between dynamic and static linking?


Well pal, my english is kinda bad, but I know the difference between dynamic and static, but I'm really a beginner developer, I'm kinda confused on how to use stuff, if you know what I mean.  :?
Zombie Offensive - Development blog
http://zombieoffensive.blogspot.com/

carsaxy

  • Newbie
  • *
  • Posts: 11
    • View Profile
Can't compile the Window sample
« Reply #17 on: October 26, 2011, 04:59:10 pm »
Hi all!
First of all: I don't speak english since almost 3 or 4 years. Please, forgive my bad grammar...

I have a similar problem: i can't compile the file window-opengl.cpp of the tutorial about OpenGL (http://www.sfml-dev.org/tutorials/1.6/window-opengl.php). When i try to compile it, code::blocs gives the error "undefined reference to" every function (or methods) that refers to gl or glu. I tried to link every combination of "-l", "gl", "glu", "glu32"; copy "gl32", "glu32", "OpenGL32" *.lib and *.ddl files in every folder; including "gl.h", "glu.h", "glext.h", but it still gives the same error.

Could you help me?

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
Can't compile the Window sample
« Reply #18 on: October 26, 2011, 05:31:20 pm »
One tip would be, don't use SFML 1.6, when 2.0 is very stable (I use it in commercial applications, and if it wasn't stable, I wouldn't use it!).

Get 2.0 and follow the instructions. It's really about time that various compiled versions were available for download. CMake can be difficult if you've never used it before :p
SFML 2.1

carsaxy

  • Newbie
  • *
  • Posts: 11
    • View Profile
Can't compile the Window sample
« Reply #19 on: October 26, 2011, 06:31:21 pm »
ok, thanks! I'll try as soon as possible!

carsaxy

  • Newbie
  • *
  • Posts: 11
    • View Profile
Can't compile the Window sample
« Reply #20 on: October 28, 2011, 07:35:10 pm »
ok, I've installed the second version, and it seems to work, but it also looks a lot different from the 1.6 ... There is a tutorial or do I learn all from the documentation?