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

Author Topic: Linker error GLEW / Jpeg  (Read 4413 times)

0 Members and 1 Guest are viewing this topic.

Zweistein

  • Newbie
  • *
  • Posts: 29
    • View Profile
Linker error GLEW / Jpeg
« on: October 26, 2010, 01:46:07 am »
Hi,

I just reconfigured my pc, i compiled sfml2 for x64 static release and debug. Now i want to use it, but in my new project, which uses sfml2 i get tose linker errors:

1>------ Build started: Project: IMGUI, Configuration: Release x64 ------
1>Build started 26.10.2010 01:34:24.
1>InitializeBuildStatus:
1>  Touching "x64\Release\IMGUI.unsuccessfulbuild".
1>ClCompile:
1>  Renderer.cpp
1>sfml2-graphics-s.lib(Renderer.obj) : error LNK2001: unresolved external symbol __glewBlendFuncSeparateEXT
1>sfml2-graphics-s.lib(Renderer.obj) : error LNK2001: unresolved external symbol __GLEW_EXT_blend_func_separate
1>sfml2-graphics-s.lib(Renderer.obj) : error LNK2001: unresolved external symbol __glewUseProgramObjectARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewUseProgramObjectARB
1>sfml2-graphics-s.lib(Image.obj) : error LNK2001: unresolved external symbol __GLEW_ARB_texture_non_power_of_two
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __GLEW_ARB_fragment_shader
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __GLEW_ARB_vertex_shader
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __GLEW_ARB_shader_objects
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __GLEW_ARB_shading_language_100
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewUniform1fARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewGetUniformLocationARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewGetHandleARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewUniform2fARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewUniform3fARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewUniform4fARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewLinkProgramARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewAttachObjectARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewGetInfoLogARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewGetObjectParameterivARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewCompileShaderARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewShaderSourceARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewCreateShaderObjectARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewCreateProgramObjectARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewDeleteObjectARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewActiveTextureARB
1>sfml2-graphics-s.lib(Shader.obj) : error LNK2001: unresolved external symbol __glewUniform1iARB
1>sfml2-graphics-s.lib(GLCheck.obj) : error LNK2001: unresolved external symbol glewInit
1>sfml2-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol jpeg_destroy_compress
1>sfml2-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol jpeg_finish_compress
1>sfml2-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol jpeg_write_scanlines
1>sfml2-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol jpeg_start_compress
1>sfml2-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol jpeg_set_quality
1>sfml2-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol jpeg_set_defaults
1>sfml2-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol jpeg_stdio_dest
1>sfml2-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol jpeg_CreateCompress
1>sfml2-graphics-s.lib(ImageLoader.obj) : error LNK2001: unresolved external symbol jpeg_std_error
1>D:\CodingCpp\Projects\Dipl-Thurau\x64\Release\IMGUI.exe : fatal error LNK1120: 35 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:02.87
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Linker error GLEW / Jpeg
« Reply #1 on: October 26, 2010, 07:54:10 am »
How did you compile SFML 2?
Laurent Gomila - SFML developer

Zweistein

  • Newbie
  • *
  • Posts: 29
    • View Profile
Linker error GLEW / Jpeg
« Reply #2 on: October 26, 2010, 01:44:51 pm »
I opened the Solution file in the 2008 directory and configured in the configuration manager to make everything 64bit. It worked instantly.

Zweistein

  • Newbie
  • *
  • Posts: 29
    • View Profile
Linker error GLEW / Jpeg
« Reply #3 on: October 27, 2010, 02:12:05 am »
just to make it sure, i mean compilation worked instantly. like i said above, when i try to use those libraries i still get those glew errors :(