Click here to Skip to main content
16,007,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Dyamic memory Allocation [modified] Pin
KingsGambit13-Jun-10 6:07
KingsGambit13-Jun-10 6:07 
AnswerRe: Dyamic memory Allocation Pin
CPallini13-Jun-10 6:08
mveCPallini13-Jun-10 6:08 
AnswerRe: Dyamic memory Allocation Pin
«_Superman_»13-Jun-10 18:31
professional«_Superman_»13-Jun-10 18:31 
Questiondoc,pdf viewer Pin
MKC00213-Jun-10 0:32
MKC00213-Jun-10 0:32 
AnswerRe: doc,pdf viewer Pin
Alain Rist13-Jun-10 10:33
Alain Rist13-Jun-10 10:33 
AnswerRe: doc,pdf viewer Pin
ThatsAlok13-Jun-10 18:13
ThatsAlok13-Jun-10 18:13 
GeneralRe: doc,pdf viewer Pin
MKC00213-Jun-10 23:32
MKC00213-Jun-10 23:32 
QuestionFLTK instalation error in VS2010 Pin
Red&Black12-Jun-10 23:57
Red&Black12-Jun-10 23:57 
Hello everyone,
i have a problem,
i want to use FLTK in visual studio 2010. I installt it correctly, I copied the .lib files into the lib folder and the FL folder into the include folder in my Visual studio 2010 directory. My problem is when i compile the folowing code to see if everything works i get these errors:

#include <FL/Fl.H>
#include <FL/Fl_Box.H>
#include <FL/FL_Window.h>


int main()
{
	Fl_Window w(200, 200, "title");
	Fl_Box b(0, 0, 200, 200, "Hie");
	w.show();
	return Fl::run();
}


1>------ Build started: Project: testGUI+, Configuration: Debug Win32 ------
1>Build started 13.06.2010 11:45:01.
1>InitializeBuildStatus:
1>  Touching "Debug\testGUI+.unsuccessfulbuild".
1>ClCompile:
1>  All outputs are up-to-date.
1>ManifestResourceCompile:
1>  All outputs are up-to-date.
1>fltkd.lib(Fl.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_Display_Device::device_type" (?device_type@Fl_Display_Device@@2PBDB)
1>fltkd.lib(Fl_Double_Window.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_Display_Device::device_type" (?device_type@Fl_Display_Device@@2PBDB)
1>fltkd.lib(Fl.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_GDI_Graphics_Driver::device_type" (?device_type@Fl_GDI_Graphics_Driver@@2PBDB)
1>fltkd.lib(Fl.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall Fl_Surface_Device::set_current(void)" (?set_current@Fl_Surface_Device@@UAEXXZ)
1>fltkd.lib(fl_draw_image.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_type@Fl_System_Printer@@2PBDB)
1>fltkd.lib(Fl_Double_Window.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_type@Fl_System_Printer@@2PBDB)
1>fltkd.lib(fl_rect.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_type@Fl_System_Printer@@2PBDB)
1>fltkd.lib(fl_font.obj) : error LNK2019: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_type@Fl_System_Printer@@2PBDB) referenced in function "class Fl_Font_Descriptor * __cdecl find(int,int,int)" (?find@@YAPAVFl_Font_Descriptor@@HHH@Z)
1>fltkd.lib(Fl_Bitmap.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_type@Fl_System_Printer@@2PBDB)
1>fltkd.lib(Fl_Pixmap.obj) : error LNK2001: unresolved external symbol "public: static char const * const Fl_System_Printer::device_type" (?device_type@Fl_System_Printer@@2PBDB)
1>C:\Users\Danii\documents\visual studio 2010\Projects\testGUI+\Debug\testGUI+.exe : fatal error LNK1120: 4 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.18
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


im sorry if this has been explained before.. i couldnt find anything..

Red&Black
AnswerRe: FLTK instalation error in VS2010 Pin
Aescleal13-Jun-10 0:06
Aescleal13-Jun-10 0:06 
QuestionPush like button on ribbon using CMFCRibbonButton Pin
AksharRoop12-Jun-10 23:13
AksharRoop12-Jun-10 23:13 
Questiongauss jordan Pin
VeganFanatic12-Jun-10 5:41
VeganFanatic12-Jun-10 5:41 
AnswerRe: gauss jordan Pin
Trollslayer13-Jun-10 0:14
mentorTrollslayer13-Jun-10 0:14 
AnswerRe: gauss jordan Pin
ThatsAlok13-Jun-10 18:24
ThatsAlok13-Jun-10 18:24 
GeneralRe: gauss jordan Pin
VeganFanatic13-Jun-10 18:28
VeganFanatic13-Jun-10 18:28 
QuestionAbout OnFilePrint and OnPreparePrinting question. Pin
wangningyu11-Jun-10 21:53
wangningyu11-Jun-10 21:53 
QuestionTemplated array in class Pin
grusky11-Jun-10 14:27
grusky11-Jun-10 14:27 
AnswerRe: Templated array in class Pin
Rick York11-Jun-10 15:46
mveRick York11-Jun-10 15:46 
AnswerRe: Templated array in class Pin
Nemanja Trifunovic11-Jun-10 16:35
Nemanja Trifunovic11-Jun-10 16:35 
AnswerRe: Templated array in class Pin
«_Superman_»11-Jun-10 20:51
professional«_Superman_»11-Jun-10 20:51 
GeneralRe: Templated array in class Pin
Niklas L11-Jun-10 22:40
Niklas L11-Jun-10 22:40 
AnswerRe: Templated array in class Pin
Niklas L11-Jun-10 21:56
Niklas L11-Jun-10 21:56 
AnswerRe: Templated array in class Pin
Aescleal12-Jun-10 8:12
Aescleal12-Jun-10 8:12 
Questionmatrix operator = Pin
VeganFanatic11-Jun-10 12:13
VeganFanatic11-Jun-10 12:13 
AnswerRe: matrix operator = Pin
Chris Losinger11-Jun-10 15:05
professionalChris Losinger11-Jun-10 15:05 
GeneralRe: matrix operator = Pin
VeganFanatic11-Jun-10 15:39
VeganFanatic11-Jun-10 15:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.