GIDForums  

Go Back   GIDForums > Computer Programming Forums > FLTK Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #11  
Old 27-Jul-2007, 10:46
TommesI TommesI is offline
New Member
 
Join Date: Mar 2007
Posts: 5
TommesI is on a distinguished road

Re: file chooser


Quote:
Originally Posted by Acki
did you link against libfltk_s.a ???
No, I don't link against this library. Is this for Windows?

(By the way: I'm using VS2005.)
  #12  
Old 27-Jul-2007, 11:14
Acki Acki is offline
New Member
 
Join Date: Jan 2005
Posts: 27
Acki is on a distinguished road

Re: file chooser


Quote:
Originally Posted by TommesI
No, I don't link against this library. Is this for Windows?
I'm not sure, but I don't think so...
I'm using Code::Blocks (MinGW)...
you should have a similar lib for MSVC, try to link against this lib (it contains the file chooser stuff)...
I have to link against all this libs:
  • fltk_s
  • fltk_images_s
  • wsock32
  • kernel32
  • user32
  • gdi32
  • winspool
  • comdlg32
  • advapi32
  • shell32
  • ole32
  • oleaut32
  • uuid
  • msimg32
  #13  
Old 27-Jul-2007, 12:35
TommesI TommesI is offline
New Member
 
Join Date: Mar 2007
Posts: 5
TommesI is on a distinguished road

Re: file chooser


I use FLTK2 (r5840) in a dynamic library. Thus, I link against
  • fltk2dll.lib
  • ws2_32.lib
  • msimg32.lib
Any ideas, what's missing? (I also tried the libs you posted - unfortunately without success)

I found that file_chooser.cxx contains
CPP / C++ / C Code:
#if 0
...
void use_system_file_cooser(bool useit) {use_system_fc = useit;}
...
const char* fltk::file_chooser(const char* message, const char* pattern, const char* fname, bool save)
...
#endif
But "#if 0" isn't true in my fltk installation. Could this be the reason for the error "unresolved external symbol" (see my first post)?

fltk::file_chooser(...) is implemented twice in file_chooser.cxx, but only the one in the "#if 0" block seems to call Windows specifics.
How can I activate this part?
  #14  
Old 27-Jul-2007, 12:48
Acki Acki is offline
New Member
 
Join Date: Jan 2005
Posts: 27
Acki is on a distinguished road

Re: file chooser


wow, even more strange !!!
#if 0 is always false (of course), so this part will never be compiled !!!
you can try to change it to #if 1 (or delete the both pre compiler statements #if 0 and #endif)...

I'm using FL_VERSION 2.0002f (static lib)
  #15  
Old 04-Mar-2009, 09:13
krey krey is offline
New Member
 
Join Date: Jul 2007
Posts: 7
krey is on a distinguished road

Re: File chooser


hi-hi!
that's old new problem with file chooser
after compiling/installing fltk2-rev.6525 i tried to run fluid. any try to open a fluid project showed me incoplete names of files or folders (lets preview disk c: on image).

This problem not exist on fltk1.3.
Does anyone had a same problem? how i can solve it?
have a nice day,
 
 

Recent GIDBlogAccepted for Ph.D. program by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Airport Log program using 3D linked List : problem reading from file batrsau C Programming Language 11 29-Feb-2008 08:44
CD burner wont burn!! robertli55 Computer Hardware Forum 1 18-Jun-2004 11:53
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 12:28
Re: Programming Techniques WaltP C Programming Language 0 10-Mar-2004 00:56

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:18.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.