OpenFlipper - Problem with compiling

Hi! I am trying to compile OpenFlipper with MSVC 2010 Express and QT 4.8.6 I have downloaded sources from http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free I also have downloaded Glew and Glut librarires (in binary mode) and installed them in c:\lib as desribed in OpenFlipper documentation. I have also downloaded QT 4.8.6. for Msvc. I managed to succecsfully run CMake and it created solution file and a lot of project files. I compiled whole solution, it created OpenFlipper.exe but it refuses to start. It needs OpenFlipperPluginLib.dll which was not created because of ACG library was not compiled. So now I am stuck with compiling ACG project. It (the ACG project) complies succsefully but fails at linking. First error message in log looks like that: ... 1> moc_QtWheel.cpp 1> moc_QtManipulatorNode.cpp 1> moc_QtTranslationManipulatorNode.cpp 1> Generating Code... 1> Creating library C:/Mir/Math/2014/OutFlipper/ACG/Debug/ACG.lib and object C:/Mir/Math/2014/OutFlipper/ACG/Debug/ACG.exp 1>AntiAliasing.obj : error LNK2001: unresolved external symbol ___glewGetMultisamplefv 1>ScreenQuad.obj : error LNK2001: unresolved external symbol ___glewActiveTexture ... The project fails to link with defined GLEW_BUILD or GLEW_STATIC (in project properties) also. What should I check next? Could it be somehow connected with MingW toolset which I also have on my computer? -- With best regards Alexnder Mironenko

Hi, which glew version do you use? We currently use 1.10 (1.11 should also work) from http://glew.sourceforge.net/ . In cmake check if you set the following defines (Adjust your path to where the library and includes are) GLEW_INCLUDE_DIR="C:\libs\vs2013\x64\glew-1.10.0\include" GLEW_LIBRARY="C:\libs\vs2013\x64\glew-1.10.0\lib\glew32.lib" Best, Jan Möbius On 13.01.2015 11:59, Александр Мироненко wrote:
Hi!
I am trying to compile OpenFlipper with MSVC 2010 Express and QT 4.8.6
I have downloaded sources from http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free I also have downloaded Glew and Glut librarires (in binary mode) and installed them in c:\lib as desribed in OpenFlipper documentation. I have also downloaded QT 4.8.6. for Msvc.
I managed to succecsfully run CMake and it created solution file and a lot of project files.
I compiled whole solution, it created OpenFlipper.exe but it refuses to start. It needs OpenFlipperPluginLib.dll which was not created because of ACG library was not compiled. So now I am stuck with compiling ACG project.
It (the ACG project) complies succsefully but fails at linking. First error message in log looks like that:
...
1> moc_QtWheel.cpp 1> moc_QtManipulatorNode.cpp 1> moc_QtTranslationManipulatorNode.cpp 1> Generating Code... 1> Creating library C:/Mir/Math/2014/OutFlipper/ACG/Debug/ACG.lib and object C:/Mir/Math/2014/OutFlipper/ACG/Debug/ACG.exp 1>AntiAliasing.obj : error LNK2001: unresolved external symbol ___glewGetMultisamplefv 1>ScreenQuad.obj : error LNK2001: unresolved external symbol ___glewActiveTexture ...
The project fails to link with defined GLEW_BUILD or GLEW_STATIC (in project properties) also.
What should I check next? Could it be somehow connected with MingW toolset which I also have on my computer?
-- With best regards Alexnder Mironenko
_______________________________________________ Openflipper mailing list Openflipper@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/openflipper
-- Dipl.Inform. Jan Möbius Department of Computer Science VIII Aachen University of Technology (RWTH) Ahornstrasse 55, 52074 Aachen, Germany Phone ++49 (0)241 80-21802 Fax ++49 (0)241 80-22899 mailto:moebius@cs.rwth-aachen.de http://www.rwth-graphics.de
participants (2)
-
Jan Möbius
-
Александр Мироненко