6.9alpha release

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
lowjoel
Part Of The Furniture
Part Of The Furniture
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel »

can you check your rc file in your project directory? it seems like it is an error there
ross
Experienced Solver
Experienced Solver
Posts: 74
Joined: Tue Sep 14, 2004 12:09 am
Location: Australia

Post by ross »

Hi lowjoel,

I had a look at the rc file, but I dont know what I'm looking for in terms of an error. I've pasted it below. It looks the same as the rc file I use with gcc.

I did find a couple of related articles though here:
http://forums.wxwidgets.org/viewtopic.p ... manifest+1

Is this of any help? The suggestion is to:

Go into the minimal project settings-->Configuration Properties-->Manifest Tool-->Input and Output and then change the "Embed Manifest" option from "yes" to "no".

But I dont know how this can be related to wxDevcpp.

Any comments appreciated

Regards
Ross



//-------------------------------- rc file

/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */
/* DO NOT EDIT! */

#include <windows.h> // include for version info constants

#include "newProgramApp.rc"

//
// SUPPORT FOR WINDOWS XP THEMES:
// THIS WILL MAKE THE PROGRAM USE THE COMMON CONTROLS
// LIBRARY VERSION 6.0 (IF IT IS AVAILABLE)
//
1 24 "Compiled/Project1.exe.Manifest"

//
// TO CHANGE VERSION INFORMATION, EDIT PROJECT OPTIONS...
//
1 VERSIONINFO
FILEVERSION 0,1,1,746
PRODUCTVERSION 0,1,1,746
FILETYPE VFT_APP
{
BLOCK "StringFileInfo"
{
BLOCK "0C0904E4"
{
VALUE "CompanyName", ""
VALUE "FileVersion", ""
VALUE "FileDescription", "Developed using the Dev-C++ IDE"
VALUE "InternalName", ""
VALUE "LegalCopyright", "Ross Ashman"
VALUE "LegalTrademarks", ""
VALUE "OriginalFilename", ""
VALUE "ProductName", ""
VALUE "ProductVersion", ""
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0C09, 1252
}
}
lowjoel
Part Of The Furniture
Part Of The Furniture
Posts: 1511
Joined: Sun Jun 19, 2005 11:37 am
Location: Singapore
Contact:

Post by lowjoel »

try going to project options, uncheck the "enable windows xp themes" checkbox.
ross
Experienced Solver
Experienced Solver
Posts: 74
Joined: Tue Sep 14, 2004 12:09 am
Location: Australia

Post by ross »

Hi Lowjoel,

I did as you suggested. The result seems a little worse. I now get a very long list of linker errors. Now I'm really lost as to what to try next.

For posterities sake here is the compile log:

Compiler: MS VC++ 2003
Building Makefile: "C:\Dev-Cpp\Projects\MsProject\Makefile.win"
Executing make clean
rm -f Compiled/newProgramFrameApp.obj Compiled/newProgramFrame.obj Compiled/ChildUnit.obj Compiled/wxGLViewCanvas.obj Compiled/TaylorZernikeUnit.obj Compiled/ChildImageUnit.obj Compiled/ArrayUnit.obj Compiled/FilterUnit.obj Compiled/WaveFrontUnit.obj Compiled/Project1_private.res Compiled/Project1.exe

cl.exe /nologo /c newProgramFrameApp.cpp /FoCompiled/newProgramFrameApp.obj /I"C:/Program Files/Microsoft Visual C++ Toolkit 2003/include" /I"C:/Program Files/Microsoft Platform SDK/Include" /I"C:/Dev-Cpp/include" /I"C:/Dev-Cpp/lib/msw" /I"C:/Dev-Cpp/include" /D__WXMSW__ /DWXUSINGDLL /G7 /EHa /GH /Zi /Yd /Ze

newProgramFrameApp.cpp

cl.exe /nologo /c newProgramFrame.cpp /FoCompiled/newProgramFrame.obj /I"C:/Program Files/Microsoft Visual C++ Toolkit 2003/include" /I"C:/Program Files/Microsoft Platform SDK/Include" /I"C:/Dev-Cpp/include" /I"C:/Dev-Cpp/lib/msw" /I"C:/Dev-Cpp/include" /D__WXMSW__ /DWXUSINGDLL /G7 /EHa /GH /Zi /Yd /Ze

newProgramFrame.cpp

cl.exe /nologo /c ChildUnit.cpp /FoCompiled/ChildUnit.obj /I"C:/Program Files/Microsoft Visual C++ Toolkit 2003/include" /I"C:/Program Files/Microsoft Platform SDK/Include" /I"C:/Dev-Cpp/include" /I"C:/Dev-Cpp/lib/msw" /I"C:/Dev-Cpp/include" /D__WXMSW__ /DWXUSINGDLL /G7 /EHa /GH /Zi /Yd /Ze

ChildUnit.cpp

cl.exe /nologo /c wxGLViewCanvas.cpp /FoCompiled/wxGLViewCanvas.obj /I"C:/Program Files/Microsoft Visual C++ Toolkit 2003/include" /I"C:/Program Files/Microsoft Platform SDK/Include" /I"C:/Dev-Cpp/include" /I"C:/Dev-Cpp/lib/msw" /I"C:/Dev-Cpp/include" /D__WXMSW__ /DWXUSINGDLL /G7 /EHa /GH /Zi /Yd /Ze

wxGLViewCanvas.cpp

cl.exe /nologo /c TaylorZernikeUnit.cpp /FoCompiled/TaylorZernikeUnit.obj /I"C:/Program Files/Microsoft Visual C++ Toolkit 2003/include" /I"C:/Program Files/Microsoft Platform SDK/Include" /I"C:/Dev-Cpp/include" /I"C:/Dev-Cpp/lib/msw" /I"C:/Dev-Cpp/include" /D__WXMSW__ /DWXUSINGDLL /G7 /EHa /GH /Zi /Yd /Ze

TaylorZernikeUnit.cpp

cl.exe /nologo /c ChildImageUnit.cpp /FoCompiled/ChildImageUnit.obj /I"C:/Program Files/Microsoft Visual C++ Toolkit 2003/include" /I"C:/Program Files/Microsoft Platform SDK/Include" /I"C:/Dev-Cpp/include" /I"C:/Dev-Cpp/lib/msw" /I"C:/Dev-Cpp/include" /D__WXMSW__ /DWXUSINGDLL /G7 /EHa /GH /Zi /Yd /Ze

ChildImageUnit.cpp

cl.exe /nologo /c ArrayUnit.cpp /FoCompiled/ArrayUnit.obj /I"C:/Program Files/Microsoft Visual C++ Toolkit 2003/include" /I"C:/Program Files/Microsoft Platform SDK/Include" /I"C:/Dev-Cpp/include" /I"C:/Dev-Cpp/lib/msw" /I"C:/Dev-Cpp/include" /D__WXMSW__ /DWXUSINGDLL /G7 /EHa /GH /Zi /Yd /Ze

ArrayUnit.cpp

cl.exe /nologo /c FilterUnit.cpp /FoCompiled/FilterUnit.obj /I"C:/Program Files/Microsoft Visual C++ Toolkit 2003/include" /I"C:/Program Files/Microsoft Platform SDK/Include" /I"C:/Dev-Cpp/include" /I"C:/Dev-Cpp/lib/msw" /I"C:/Dev-Cpp/include" /D__WXMSW__ /DWXUSINGDLL /G7 /EHa /GH /Zi /Yd /Ze

FilterUnit.cpp

cl.exe /nologo /c WaveFrontUnit.cpp /FoCompiled/WaveFrontUnit.obj /I"C:/Program Files/Microsoft Visual C++ Toolkit 2003/include" /I"C:/Program Files/Microsoft Platform SDK/Include" /I"C:/Dev-Cpp/include" /I"C:/Dev-Cpp/lib/msw" /I"C:/Dev-Cpp/include" /D__WXMSW__ /DWXUSINGDLL /G7 /EHa /GH /Zi /Yd /Ze

WaveFrontUnit.cpp

rc.exe /r /fo"Compiled/Project1_private.res " /IC:/Dev-Cpp/include Project1_private.rc

link.exe /nologo Compiled/newProgramFrameApp.obj Compiled/newProgramFrame.obj Compiled/ChildUnit.obj Compiled/wxGLViewCanvas.obj Compiled/TaylorZernikeUnit.obj Compiled/ChildImageUnit.obj Compiled/ArrayUnit.obj Compiled/FilterUnit.obj Compiled/WaveFrontUnit.obj Compiled/Project1_private.res /out:"Compiled\Project1.exe" /libpath:"C:/Program Files/Microsoft Visual C++ Toolkit 2003/lib" /libpath:"C:/Program Files/Microsoft Platform SDK/Lib" /libpath:"C:/Dev-Cpp/lib/vc_dll" /libpath:"C:/Dev-Cpp/lib" /libpath:"C:/Program Files/Microsoft Platform SDK/Lib" wxmsw26.lib

WaveFrontUnit.obj : error LNK2001: unresolved external symbol __pexit

TaylorZernikeUnit.obj : error LNK2001: unresolved external symbol __pexit
ChildImageUnit.obj : error LNK2001: unresolved external symbol __pexit
ArrayUnit.obj : error LNK2001: unresolved external symbol __pexit
FilterUnit.obj : error LNK2001: unresolved external symbol __pexit
newProgramFrameApp.obj : error LNK2019: unresolved external symbol __pexit referenced in function "public: void * __thiscall wxString::`vector deleting destructor'(unsigned int)" (??_EwxString@@QAEPAXI@Z)
newProgramFrame.obj : error LNK2019: unresolved external symbol __pexit referenced in function "public: void __thiscall newProgramFrame::CreateGUIControls(void)" (?CreateGUIControls@newProgramFrame@@QAEXXZ)
ChildUnit.obj : error LNK2019: unresolved external symbol __pexit referenced in function "public: void __thiscall Child::CreateGUIControls(void)" (?CreateGUIControls@Child@@QAEXXZ)
wxGLViewCanvas.obj : error LNK2001: unresolved external symbol __pexit
wxGLViewCanvas.obj : error LNK2001: unresolved external symbol "public: virtual class wxClassInfo * __thiscall wxGLCanvas::GetClassInfo(void)const " (?GetClassInfo@wxGLCanvas@@UBEPAVwxClassInfo@@XZ)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall wxGLCanvas::~wxGLCanvas(void)" (__imp_??1wxGLCanvas@@UAE@XZ) referenced in function "public: virtual __thiscall wxGLViewCanvas::~wxGLViewCanvas(void)" (??1wxGLViewCanvas@@UAE@XZ)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function "public: __thiscall wxGLViewCanvas::wxGLViewCanvas(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &,int *,class wxPalette const &)" (??0wxGLViewCanvas@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@PAHABVwxPalette@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glLoadIdentity@0 referenced in function "public: __thiscall wxGLViewCanvas::wxGLViewCanvas(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &,int *,class wxPalette const &)" (??0wxGLViewCanvas@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@PAHABVwxPalette@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glMatrixMode@4 referenced in function "public: __thiscall wxGLViewCanvas::wxGLViewCanvas(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &,int *,class wxPalette const &)" (??0wxGLViewCanvas@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@PAHABVwxPalette@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function "public: __thiscall wxGLViewCanvas::wxGLViewCanvas(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &,int *,class wxPalette const &)" (??0wxGLViewCanvas@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@PAHABVwxPalette@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxGLCanvas::SetCurrent(void)" (__imp_?SetCurrent@wxGLCanvas@@QAEXXZ) referenced in function "public: __thiscall wxGLViewCanvas::wxGLViewCanvas(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &,int *,class wxPalette const &)" (??0wxGLViewCanvas@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@PAHABVwxPalette@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class wxGLContext * __thiscall wxGLCanvas::GetContext(void)const " (__imp_?GetContext@wxGLCanvas@@QBEPAVwxGLContext@@XZ) referenced in function "public: __thiscall wxGLViewCanvas::wxGLViewCanvas(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &,int *,class wxPalette const &)" (??0wxGLViewCanvas@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@PAHABVwxPalette@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxGLCanvas::wxGLCanvas(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &,int *,class wxPalette const &)" (__imp_??0wxGLCanvas@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@PAHABVwxPalette@@@Z) referenced in function "public: __thiscall wxGLViewCanvas::wxGLViewCanvas(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &,int *,class wxPalette const &)" (??0wxGLViewCanvas@@QAE@PAVwxWindow@@HABVwxPoint@@ABVwxSize@@JABVwxString@@PAHABVwxPalette@@@Z)

wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glHint@8 referenced in function "public: void __thiscall wxGLViewCanvas::InitGL(void)" (?InitGL@wxGLViewCanvas@@QAEXXZ)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glDepthFunc@4 referenced in function "public: void __thiscall wxGLViewCanvas::InitGL(void)" (?InitGL@wxGLViewCanvas@@QAEXXZ)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glEnable@4 referenced in function "public: void __thiscall wxGLViewCanvas::InitGL(void)" (?InitGL@wxGLViewCanvas@@QAEXXZ)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glClearDepth@8 referenced in function "public: void __thiscall wxGLViewCanvas::InitGL(void)" (?InitGL@wxGLViewCanvas@@QAEXXZ)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glShadeModel@4 referenced in function "public: void __thiscall wxGLViewCanvas::InitGL(void)" (?InitGL@wxGLViewCanvas@@QAEXXZ)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxGLCanvas::SwapBuffers(void)" (__imp_?SwapBuffers@wxGLCanvas@@QAEXXZ) referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glFlush@0 referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glEnd@0 referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glVertex3f@12 referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glColor3f@12 referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glBegin@4 referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glRotatef@16 referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glTranslated@24 referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glClearColor@16 referenced in function "public: void __thiscall wxGLViewCanvas::Paint(class wxDC &)" (?Paint@wxGLViewCanvas@@QAEXAAVwxDC@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall wxGLCanvas::OnSize(class wxSizeEvent &)" (__imp_?OnSize@wxGLCanvas@@QAEXAAVwxSizeEvent@@@Z) referenced in function "public: void __thiscall wxGLViewCanvas::OnSize(class wxSizeEvent &)" (?OnSize@wxGLViewCanvas@@QAEXAAVwxSizeEvent@@@Z)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glReadPixels@28 referenced in function "public: void __thiscall wxGLViewCanvas::Print(void)" (?Print@wxGLViewCanvas@@QAEXXZ)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glPixelStorei@8 referenced in function "public: void __thiscall wxGLViewCanvas::Print(void)" (?Print@wxGLViewCanvas@@QAEXXZ)
wxGLViewCanvas.obj : error LNK2019: unresolved external symbol __imp__glGetIntegerv@8 referenced in function "public: void __thiscall wxGLViewCanvas::Print(void)" (?Print@wxGLViewCanvas@@QAEXXZ)

wxGLViewCanvas.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: static struct wxEventTable const wxGLCanvas::sm_eventTable" (__imp_?sm_eventTable@wxGLCanvas@@1UwxEventTable@@B)
FilterUnit.obj : error LNK2019: unresolved external symbol _fftw_destroy_plan referenced in function "public: void __thiscall Filter::ForwardFFT(int,struct fftw_complex *,struct fftw_complex *)" (?ForwardFFT@Filter@@QAEXHPAUfftw_complex@@0@Z)
FilterUnit.obj : error LNK2019: unresolved external symbol _fftw_one referenced in function "public: void __thiscall Filter::ForwardFFT(int,struct fftw_complex *,struct fftw_complex *)" (?ForwardFFT@Filter@@QAEXHPAUfftw_complex@@0@Z)
FilterUnit.obj : error LNK2019: unresolved external symbol _fftw_create_plan referenced in function "public: void __thiscall Filter::ForwardFFT(int,struct fftw_complex *,struct fftw_complex *)" (?ForwardFFT@Filter@@QAEXHPAUfftw_complex@@0@Z)
FilterUnit.obj : error LNK2019: unresolved external symbol _fftwnd_destroy_plan referenced in function "public: void __thiscall Filter::ForwardFFT2D(int,int,struct fftw_complex *,struct fftw_complex *)" (?ForwardFFT2D@Filter@@QAEXHHPAUfftw_complex@@0@Z)
FilterUnit.obj : error LNK2019: unresolved external symbol _fftwnd_one referenced in function "public: void __thiscall Filter::ForwardFFT2D(int,int,struct fftw_complex *,struct fftw_complex *)" (?ForwardFFT2D@Filter@@QAEXHHPAUfftw_complex@@0@Z)
FilterUnit.obj : error LNK2019: unresolved external symbol _fftw2d_create_plan referenced in function "public: void __thiscall Filter::ForwardFFT2D(int,int,struct fftw_complex *,struct fftw_complex *)" (?ForwardFFT2D@Filter@@QAEXHHPAUfftw_complex@@0@Z)
Compiled\Project1.exe : fatal error LNK1120: 36 unresolved externals

make.exe: *** [Compiled/Project1.exe] Error 1120

Execution terminated
tbreina
Moderator
Moderator
Posts: 1289
Joined: Thu Nov 25, 2004 7:38 pm
Location: Coronado, CA

Post by tbreina »

Ross,

Would it be possible to zip your project and send it to me? I can probably play with it this weekend to see what's going on.

-Tony
Everybody's got something to hide except for me and my monkey.
Post Reply