| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #726
Application: | FLTK Library |
Duplicate Of: | STR #647 |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 1 - Specific to a machine/printer |
Subsystem: | WIN32 |
Summary: | FLTK 1.1.6 build errors on VS7.0 |
Version: | 1.1.6 |
Created By: | greg.ercolano |
Assigned To: | mike |
Fix Version: | 1.1.7 (SVN: v4062) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | greg.ercolano 13:16 Feb 22, 2005 |
| Pulled FLTK 1.1.6; tried to compile on Windows with VS7.0, encountered two problems:
1) fltk.sln corrupt? -------------------- First tried to open vcnet\fltk.sln, but it failed with an error "The selected file is not a valid project".
Might be an incompatibility between my VS.NET7.0, and the dev environment that created the file?
2) fltk.dll and help.exe don't build ------------------------------------ Opened visualc\fltk.dsw, changed 'Debug'->'Release', and did a 'Build' on the top level 'Fltk Solution (68 projects)' which built everything except fltk.dll and help.exe.
A lot of warnings, then a giant log of errors, as if the build of fltk.dll couldn't find any of my C++ library stuff.
Build errors here: http://seriss.com/people/erco/fltk/bugs/fltk-1.1.6-vs70-net-builderrors.txt
Link commands here: http://seriss.com/people/erco/fltk/bugs/fltk-1.1.6-vs70-net-linkcommands.txt
| |
|
#2 | greg.ercolano 13:58 Feb 22, 2005 |
| Followup: Regarding item #2..
Amanjit Singh Gill noticed this:
"there is a little bug in the project settings - it uses /NODEFAULTLIB: for the runtime library (MSVCRT.dll) it actually wants to use.
/NODEFAULTLIB:"msvcrt" // <-- should be msvcrtd
So even though my build was a "Release" build, the link flag is telling it NOT to use the library it actually /should/ be using for a "Release" build. That does make sense :/
Indeed, I was able to get fltk.dll to build successfully in "Release" mode by changing the properties of fltk.dll:
Properties|Linker|Input|Ignore specific library: libcmt,msvcrt
However, rebuilding all of FLTK still chokes at the 'help' application; errors about the jpeg library. | |
|
#3 | mike 11:09 Mar 05, 2005 |
|
The VC7 and VC++.NET .sln formats are not compatible. Unfortunately, Microsoft has changed their project file format with each release... The .sln files were produced by the current VC++.NET 2003 release.
Anyways, this appears to already be fixed in the 1.1.x branch... Please let me know if this is not the case...
| |
[ Return to Bugs & Features ]
|
| |