|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Problems linking application in Visual C++ 2005 Express EditionHi!
I need to make an AVI file with some bmp images, and it seems that the only way of doing it is using some Video For Windows libraries (all the code i've found uses some windows libraries), so i changed my IDE to Visual C++ 2005 Express Edition. I followed the win32 notes ( http://www.fox-toolkit.org/win32.html ) I've put FOX into the Preprocessor Definitions, included the library fox-1.4.lib that i built using the project in C:\fox-1.4.33\windows\vcpp\win32.dsw, i modified the include and library directories to point to the correct places. The problem is when linking the application, it gives me this error: VistaImgListConversor.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall FX::FXWindow::attach(unsigned long)" (?attach@FXWindow@FX@@UAEXK@Z) C:\Projects\avi generator-2\Release\avi generator-2.exe : fatal error LNK1120: 1 unresolved externals I've also tried using the fox 1.6 library, but the same error appears. I put mainCRTstartup at the Entry Point and still the same error happens. And i have no idea of how to solve it, i've searched for other link errors and no one is the same as this one. If you know any other way of creating avi files from images tell me anything, the compiler is not essential, i'm very happy using Dev-C++ and FOX :) Lots of thanks in advance, Angel ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Foxgui-users mailing list Foxgui-users@... https://lists.sourceforge.net/lists/listinfo/foxgui-users |
|
|
Re: Problems linking application in Visual C++ 2005 Express EditionOn Wednesday 17 May 2006 09:45, Angel Sánchez wrote:
> Hi! > > I need to make an AVI file with some bmp images, and it seems that the > only way of doing it is using some Video For Windows libraries (all the > code i've found uses some windows libraries), so i changed my IDE to > Visual C++ 2005 Express Edition. I followed the win32 notes ( > http://www.fox-toolkit.org/win32.html ) > > I've put FOX into the Preprocessor Definitions, included the library > fox-1.4.lib that i built using the project in > C:\fox-1.4.33\windows\vcpp\win32.dsw, i modified the include and library > directories to point to the correct places. > > The problem is when linking the application, it gives me this error: > > VistaImgListConversor.obj : error LNK2001: unresolved external symbol > "public: virtual void __thiscall FX::FXWindow::attach(unsigned long)" > (?attach@FXWindow@FX@@UAEXK@Z) > C:\Projects\avi generator-2\Release\avi generator-2.exe : fatal error > LNK1120: 1 unresolved externals > > I've also tried using the fox 1.6 library, but the same error appears. I > put mainCRTstartup at the Entry Point and still the same error happens. > > And i have no idea of how to solve it, i've searched for other link > errors and no one is the same as this one. > > If you know any other way of creating avi files from images tell me > anything, the compiler is not essential, i'm very happy using Dev-C++ > and FOX :) Of course, it isn't REALLY missing [I'd notice this!]. But it could be something very simple, like building FOX with the wrong flags, or maybe linking some libraries in the wrong order, or something like that. - Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 23:20 05/17/2006 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+ |
|
|
Re: Problems linking application in Visual C++ 2005 Express EditionI have the exact same problem. I followed both the instructions for Windows on the fox toolkit website and the Visual C++ Express 8 instructions found in the message board.
If you have found a solution, please send me an email. |
|
|
Re: Problems linking application in Visual C++ 2005 Express EditionWell I am happy to say that you have the honour of being the ony reference to this error on the web. Despite the fact that the post is three years old.
![]() I'm using Fox1.6 svn and was happy to find that it built first time with no problems. However when I linked it with my application i recieve the same error unresolved external symbol "public: virtual void __thiscall FX::FXWindow::attach(unsigned long)" (?attach@FXWindow@FX@@UAEXK@Z) PATHTOAPP: fatal error LNK1120: 1 unresolved externals It's quite a pain seeing as I have managed to overcome all of the problems of getting this application into a state where it will compile and now am left with 1 damned "unresolved external". I am a sort of beginner with C++ and compilers (despite having been progging on/off for 10 years or so, should have learned something *sigh*) and (still) lack the knowledge to be able to effectively fix the problem without guidance. I am appealing to greater minds than mine to reccommend a course of action that doesn't involve throwing my PC out of the window. Anything from the correct syntax for compiling Fox1.6, to some cheeky declaration code to use dlls or similar workaround?? I also am using Viual Studio Express (2008 though), (perhaps something to do with the Express part of it?) Aplologies if this issue has a fix and I'm just being dense for not finding it, but as i said this was the only place that I could find a reference to the problem in relation to Fox Toolkit. With hope in My Heart B.
|
|
|
Re: Problems linking application in Visual C++ 2005 Express EditionWell blow me, a weekend passes and now my app compiles. And I have learnt a lot about compilers, defines and linkers.
All because of :
|
| Free embeddable forum powered by Nabble | Forum Help |