Message: Problem with OpenGL and Visual c++ Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Problem with OpenGL and Visual c++ 

Forum: Installation and Configuration
Date: 12 Mar, 2009
From: Lukasz Zaras <Lukasz Zaras>

Hi,

I want to run visualization with my program but ,when I building my program I have some errors.

Compiling...

cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
detSteppingVerbose.cpp ... detDetectorConstruction.cpp

Generating Code... Linking... Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. "/OUT:F:\G4\geant4_030\Debug\program1.exe" /INCREMENTAL /MANIFEST "/MANIFESTFILE:Debug\program1.exe.intermediate.manifest" /DEBUG "/PDB:f:\G4\geant4_030\debug\program1.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 CLHEP-2.0.3.1.lib ... libG3toG4.a ".\Debug\detDetectorConstruction.obj" ".\Debug\detMain.obj" ".\Debug\detPhysicsList.obj" ".\Debug\detPrimaryGeneratorAction.obj" ".\Debug\detRun.obj" ".\Debug\detRunAction.obj" ".\Debug\detSteppingVerbose.obj" ".\Debug\program1.exe.embed.manifest.res"

libG4OpenGL.a(G4OpenGLStoredSceneHandler.o) : error LNK2019: unresolved external symbol __imp__glDrawBuffer@4 referenced in function "protected: void __thiscall G4OpenGLStoredSceneHandler::AddPrimitivePostamble(void)" (?AddPrimitivePostamble@G4OpenGLStoredSceneHandler@@IAEXXZ)

libG4OpenGL.a(G4OpenGLImmediateWin32Viewer.o) : error LNK2001: unresolved external symbol __imp__glDrawBuffer@4

libG4OpenGL.a(G4OpenGLWin32Viewer.o) : error LNK2001: unresolved external symbol __imp__glFlush@0

libG4OpenGL.a(G4OpenGLViewer.o) : error LNK2001: unresolved external symbol __imp__glFlush@0

...

libG4OpenGL.a(G4OpenGLViewer.o) : error LNK2019: unresolved external symbol __imp__glInitNames@0 referenced in function "protected: void __thiscall G4OpenGLViewer::Pick(double,double)" (?Pick@G4OpenGLViewer@@IAEXNN@Z)

libG4OpenGL.a(G4OpenGLViewer.o) : error LNK2019: unresolved external symbol __imp__glSelectBuffer@8 referenced in function "protected: void __thiscall G4OpenGLViewer::Pick(double,double)" (?Pick@G4OpenGLViewer@@IAEXNN@Z)

F:\G4\geant4_030\Debug\program1.exe : fatal error LNK1120: 87 unresolved externals

1>Build log was saved at "file://f:\G4\geant4_030\program1\Debug\BuildLog.htm"
1>program1 - 143 error(s), 6 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I don't know what to do, and what is wrong.

Best regards,
 Lukasz Zaras

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Problem with OpenGL and Visual c++   (Joseph Perl - 27 Mar, 2009)
(_ None: Re: Problem with OpenGL and Visual c++   (Lukasz Zaras - 02 Apr, 2009)
(_ Question: Re: Problem with OpenGL and Visual c++   (garnier - 06 Apr, 2009)
 Add Message Add Message
to: "Problem with OpenGL and Visual c++"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]