Results 1 to 4 of 4

Thread: Updating a Project From V.C 6.0 to Visual Studio 2013

  1. #1
    Newbie Newbie
    Join Date
    Mar 2015
    Posts
    2

    Question Updating a Project From V.C 6.0 to Visual Studio 2013

    Hello all:

    First of all,I hace no idea of using OpenGL but I'm trying to update a project that uses OpenGl. The problem is that it uses the library glaux.lib and it give me SAFESEH errors. I know that is a very old and not updated library
    Code :
    Error	4	error LNK2026: module unsafe for en SAFESEH.	C:\...\glaux.lib(image.obj)
    Error	7	error LNK2026: module unsafe for en SAFESEH.	C:\...\glaux.lib(tk.obj)	
    Error	6	error LNK2026: module unsafe for en SAFESEH.	C:\...\glaux.lib(tkdib.obj)	
    Error	5	error LNK2026: module unsafe for en SAFESEH.	C:\..\glaux.lib(tkimage.obj)
    Disabling SAFESEH is not a solution becaus it gives me more than 100 erros (Its quite a big project )

    So does anybody know how to solve this errors?

    Thank you!!!

  2. #2
    Senior Member OpenGL Lord
    Join Date
    Mar 2015
    Posts
    6,674
    If you're updating the project, then you should simply replace all the GLaux stuff with some other library(ies). Most people used GLaux for image loading, so find a library that handles image loading for you.

  3. #3
    Newbie OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,789
    For SAFESEH you can find the setting under Project Properties, Linker, Advanced, then set "Image has Safe Exception Handlers" to "No".

    Either way I second Alfonse's advice to just use something else instead of glaux: in the longer term you're going to have other compatibility issues with it.

  4. #4
    Newbie Newbie
    Join Date
    Mar 2015
    Posts
    2
    Thank you for replying so fast

    I'll try replacing it because if I use the \NOSAFESEH option i get 160 errors of lnk2001 unresolved external symbol

Similar Threads

  1. Can't link glew in Visual Studio 2013, Windows 8.1
    By Szczepan in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-01-2015, 03:54 PM
  2. Visual studio 2013
    By strongnas in forum OpenGL: Windows
    Replies: 1
    Last Post: 06-08-2015, 04:18 AM
  3. Visual studio 2013 + opengl setup
    By KSM888 in forum OpenGL: Windows
    Replies: 0
    Last Post: 05-16-2014, 10:34 AM
  4. Replies: 1
    Last Post: 05-05-2014, 01:32 PM
  5. Create a opengl project in Visual Studio 2005
    By illuminator in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-21-2006, 02:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean