[Dev-C++] Sample code COMMON CONTROLS: DATETIME PICKER & make.exe errors
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Roberto R. <rob...@ar...> - 2002-10-09 03:23:54
|
Hi all, I tried to compile & run some sample win32 code with dev-cpp 4.9.6.1 from this site: http://www.foosyerdoos.fsnet.co.uk/. Im have not experience win c++ programer so just mean trying to do know how. Anyone knows this example? //COMMON CONTROLS: DATETIME PICKER - Copyright © 2000-2002 Ken Fitlike ... //DevC++(MinGW) must link with -lcomctl32. bcc5.5,msvc (must link with comctl32.lib) #include <commctrl.h> .... I found the comctl32.lib in the SDK package, I made a empty proyect with the sample code and put in proyect linker options -l"c:/dev-cpp/lib/comctl32.lib" lib location, rebuild again, this is the building dump: Building Makefile: "C:\Dev-Cpp\c\Makefile.win" Executing make clean rm -f DateTimePicker.o windows_Time.exe g++.exe -c DateTimePicker.cpp -o DateTimePicker.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/c" -I"C:/Dev-Cpp/include/g++-3" -I"C:/Dev-Cpp/include" -s -mwindows g++.exe DateTimePicker.o -o "windows_Time.exe" -L"C:/Dev-Cpp/lib" -l"c:/dev-cpp/lib/comctl32.lib" -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/c" -I"C:/Dev-Cpp/include/g++-3" -I"C:/Dev-Cpp/include" -s -mwindows C:\Dev-Cpp\Bin\..\lib\gcc-lib\mingw32\2.95.3-6\..\..\..\..\mingw32\bin\ld.exe: cannot find -lc:/dev-cpp/lib/comctl32.lib make.exe: *** [windows_Time.exe] Error 1 Execution terminated Anyway Im a bit lost. ¿How can I trace it ?. Some is wrong with the comctl32.lib ? or parameter mistakes ?? Another samples without comctl32.lib works fine. Thanks in advance Roberto |