program runs with no extra source, but when i add source, it won't run?
-
difficult to explain concisely.
when i make a shell console app, i can stick a breakpoint in main and run and the break point is hit.
but if i add my own source code files to the app and rebuild, then main is never hit, and no break points are hit.see my .pro file that i uploaded? i've commented out all the extra source code. and i can hit my breakpoint on main.
but if i include all that source, then nothing is hit in main, and the "output" looks like this:
**Debugging starts** BasepIsRemovableMedia: Host device is removable, Shim cache deactivated **Debugging has finished**
update: oh, you CAN'T see my .pro file upload, becase i don't have access privs? huh? can someone give me privs please?
pro file pasted below:
QT += core QT -= gui TARGET = CFTest CONFIG -= app_bundle TEMPLATE = app # The following define makes your compiler emit warnings if you use # any feature of Qt which as been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS DEFINES += _QT_ DEFINES += _CFTEST_ DEFINES += OPT_WINOS=1 DEFINES += _DEBUG DEFINES += __WIN32__ DEFINES += _WINDOWS DEFINES += WIN32 DEFINES += _WIN32 DEFINES += _SCL_SECURE_NO_WARNINGS DEFINES += _CRT_SECURE_NO_WARNINGS DEFINES += _MIN_CF_ DEFINES += _UNICODE DEFINES += UNICODE # calling convention: __cdecl QMAKE_CFLAGS += /Gd QMAKE_CXXFLAGS += /Gd # mulithread dynamic link Release:QMAKE_CXXFLAGS += /MD Debug:QMAKE_CXXFLAGS += /MDd LIBS += -lcomctl32 -lWs2_32 -lmsvcrtd LIBS += -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../CF/opencflite-476.17.2/Qt/build-CFLite-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug/release/ -lCFLite else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../CF/opencflite-476.17.2/Qt/build-CFLite-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug/debug/ -lCFLite INCLUDEPATH += $$PWD/../../../../CF/opencflite-476.17.2/dist/include DEPENDPATH += $$PWD/../../../../CF/opencflite-476.17.2/dist/include INCLUDEPATH += ../../../source INCLUDEPATH += ../../../source/shared INCLUDEPATH += ../../../source/main INCLUDEPATH += ../../../../CF/CFNetwork/include INCLUDEPATH += ../../../../CF/CFNetwork/include/CFNetwork # You can also make your code fail to compile if you use deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ # ../../../source/main/CFNetworkTest.cpp \ # ../../../source/main/CFTest.cpp \ # ../../../source/main/CFTestUtils.cpp \ # ../../../source/main/CWebServerTest.cpp \ # ../../../source/shared/CCFData.cpp \ # ../../../source/shared/CCFError.cpp \ # ../../../source/shared/CFBonjour.cpp \ # ../../../source/shared/CFUtils.cpp \ # ../../../source/shared/CNetHTTP.cpp \ # ../../../source/shared/SuperString.cpp \ ../../../source/main/main.cpp HEADERS += \ ../../../source/main/CFNetworkTest.h \ ../../../source/main/CFTest.h \ ../../../source/main/CFTestUtils.h \ ../../../source/main/CWebServerTest.h \ ../../../source/shared/CCFData.h \ ../../../source/shared/CCFError.h \ ../../../source/shared/CFBonjour.h \ ../../../source/shared/CFUtils.h \ ../../../source/shared/CNetHTTP.h \ ../../../source/shared/SuperString.h \ ../../../source/stdafx.h
-
Solution: i forgot to add the custom build step where i assemble all the components in the destination directory! gosh what a doofus move! okay but thanks so much for your help, your ideas sparked me to look in more places!! :D
the hiccup for me was that the IDE didn't OBVIOUSLY report that launching failed due to a missing .dll, which would have been helpful.
-
difficult to explain concisely.
when i make a shell console app, i can stick a breakpoint in main and run and the break point is hit.
but if i add my own source code files to the app and rebuild, then main is never hit, and no break points are hit.see my .pro file that i uploaded? i've commented out all the extra source code. and i can hit my breakpoint on main.
but if i include all that source, then nothing is hit in main, and the "output" looks like this:
**Debugging starts** BasepIsRemovableMedia: Host device is removable, Shim cache deactivated **Debugging has finished**
update: oh, you CAN'T see my .pro file upload, becase i don't have access privs? huh? can someone give me privs please?
pro file pasted below:
QT += core QT -= gui TARGET = CFTest CONFIG -= app_bundle TEMPLATE = app # The following define makes your compiler emit warnings if you use # any feature of Qt which as been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS DEFINES += _QT_ DEFINES += _CFTEST_ DEFINES += OPT_WINOS=1 DEFINES += _DEBUG DEFINES += __WIN32__ DEFINES += _WINDOWS DEFINES += WIN32 DEFINES += _WIN32 DEFINES += _SCL_SECURE_NO_WARNINGS DEFINES += _CRT_SECURE_NO_WARNINGS DEFINES += _MIN_CF_ DEFINES += _UNICODE DEFINES += UNICODE # calling convention: __cdecl QMAKE_CFLAGS += /Gd QMAKE_CXXFLAGS += /Gd # mulithread dynamic link Release:QMAKE_CXXFLAGS += /MD Debug:QMAKE_CXXFLAGS += /MDd LIBS += -lcomctl32 -lWs2_32 -lmsvcrtd LIBS += -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../CF/opencflite-476.17.2/Qt/build-CFLite-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug/release/ -lCFLite else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../CF/opencflite-476.17.2/Qt/build-CFLite-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug/debug/ -lCFLite INCLUDEPATH += $$PWD/../../../../CF/opencflite-476.17.2/dist/include DEPENDPATH += $$PWD/../../../../CF/opencflite-476.17.2/dist/include INCLUDEPATH += ../../../source INCLUDEPATH += ../../../source/shared INCLUDEPATH += ../../../source/main INCLUDEPATH += ../../../../CF/CFNetwork/include INCLUDEPATH += ../../../../CF/CFNetwork/include/CFNetwork # You can also make your code fail to compile if you use deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ # ../../../source/main/CFNetworkTest.cpp \ # ../../../source/main/CFTest.cpp \ # ../../../source/main/CFTestUtils.cpp \ # ../../../source/main/CWebServerTest.cpp \ # ../../../source/shared/CCFData.cpp \ # ../../../source/shared/CCFError.cpp \ # ../../../source/shared/CFBonjour.cpp \ # ../../../source/shared/CFUtils.cpp \ # ../../../source/shared/CNetHTTP.cpp \ # ../../../source/shared/SuperString.cpp \ ../../../source/main/main.cpp HEADERS += \ ../../../source/main/CFNetworkTest.h \ ../../../source/main/CFTest.h \ ../../../source/main/CFTestUtils.h \ ../../../source/main/CWebServerTest.h \ ../../../source/shared/CCFData.h \ ../../../source/shared/CCFError.h \ ../../../source/shared/CFBonjour.h \ ../../../source/shared/CFUtils.h \ ../../../source/shared/CNetHTTP.h \ ../../../source/shared/SuperString.h \ ../../../source/stdafx.h
Hi @davecotter
I am quite irritated about the complexity of your .pro file.
QT += core QT -= gui TARGET = CFTest TEMPLATE = app win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../CF/opencflite-476.17.2/Qt/build-CFLite-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug/release/ -lCFLite else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../CF/opencflite-476.17.2/Qt/build-CFLite-Desktop_Qt_5_9_1_MSVC2015_32bit-Debug/debug/ -lCFLite INCLUDEPATH += $$PWD/../../../../CF/opencflite-476.17.2/dist/include DEPENDPATH += $$PWD/../../../../CF/opencflite-476.17.2/dist/include INCLUDEPATH += ../../../source INCLUDEPATH += ../../../source/shared INCLUDEPATH += ../../../source/main INCLUDEPATH += ../../../../CF/CFNetwork/include INCLUDEPATH += ../../../../CF/CFNetwork/include/CFNetwork SOURCES... HEADERS...
That should be all. Everything else comes in automatically by using the correct spec file for your compiler, like calling qmake with the option -spec e:\qt\5.9.0\mkspecs\win32-msvc, where you replace your qt-path.
BTW: Why cdecl calling convention anyway?
These I am not sure about, though:
DEFINES += QT_DEPRECATED_WARNINGS DEFINES += _QT_ DEFINES += _CFTEST_ DEFINES += OPT_WINOS=1
-Michael.
-
Hi
Does the source you add
contain global data
or does it load a DLLs?That is the number one reasons to never reach main.
-
@m.sue have you considered meditation? ;-) i was porting a VS project and these things were defined there, so i defined them here. I haven't gone through to optimize yet. CFLite uses cdecl, and libs that it calls use cdecl. thanks for your thoughts
@mrjj there may be global variables in the source, yes (is that different than global data?). but none actually load DLLs. but the CFLite project is a DLL, and these sources link to and call it (i suppose it does NOT get linked in when the source that calls it isn't added?) note the exact same source files on mac work just fine, but in that case CoreFoundation is an OS framework, not something i had to build.
-
Okay so apparently linking to CFLite is causing the issue. So perhaps CFLite is incorrectly built?
To prove that, i went back to the working state (where all the extra sources were commented out), and ran. and yes, the breakpoint in main() was hit.
Then i added one line to main:
CFStringRef str(CFSTR("foobar"));
ran again: and LO: failure.
So how do i diagnose what went wrong in building CFLite? What are clues to look for?
-
Okay so apparently linking to CFLite is causing the issue. So perhaps CFLite is incorrectly built?
To prove that, i went back to the working state (where all the extra sources were commented out), and ran. and yes, the breakpoint in main() was hit.
Then i added one line to main:
CFStringRef str(CFSTR("foobar"));
ran again: and LO: failure.
So how do i diagnose what went wrong in building CFLite? What are clues to look for?
@davecotter
Hi , on windows any DLL you load/link (indirectly loaded by OS) to
must be made with same compiler as the projects that
loads it.
It seems you are building all with vs2015 so should be fine.- (is that different than global data?)
No, same concept.
It is more if you have complex global data objects, it might blow up before reaching main
as its initialized first.
You could use
http://www.dependencywalker.com/
to check the exe and see if it has dependencies to some DLL that it cant find. - (is that different than global data?)
-
well, i'm using VS 2017, but with the 2015 libs (they're ABI compatible, right?)
oh lordy, yes it seems that almost NOTHING actually lank in CFLite :/
okay so here's my CFLite .pro file: is there anything glaringly missing?
sorry i'm such a n00b, i've been on VS 2008 for too long and have been out of the loop#------------------------------------------------- # # Project created by QtCreator 2017-07-05T13:24:08 # #------------------------------------------------- QT -= qtcore QT -= gui TARGET = CFLite TEMPLATE = lib # The following define makes your compiler emit warnings if you use # any feature of Qt which as been marked as deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS DEFINES += _QT_ DEFINES += CF_BUILDING_CF DEFINES += CFLITELIB_EXPORTS DEFINES += CFLITE_LIBRARY DEFINES += _DEBUG DEFINES += __WIN32__ DEFINES += _WINDOWS DEFINES += WIN32 DEFINES += _USRDLL DEFINES += DEPLOYMENT_TARGET_WINDOWS DEFINES += WIN32_LEAN_AND_MEAN DEFINES += __STDC_LIMIT_MACROS DEFINES += _WIN32_WINNT=0x0600 DEFINES += WINVER=0x0600 DEFINES += _CRT_SECURE_NO_DEPRECATE DEFINES += _SCL_SECURE_NO_DEPRECATE DEFINES += _NOTHREADS DEFINES += NOT_HAVE_SA_LEN DEFINES += MDNS_DEBUGMSGS=0 DEFINES += USE_TCP_LOOPBACK DEFINES += _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1 DEFINES += _WINDLL DEFINES += P_OVERLOAD_STANDARD_NAMES=1 DEFINES += _WINDLL DEFINES += _UNICODE DEFINES += UNICODE # calling convention: __cdecl QMAKE_CFLAGS += /Gd QMAKE_CXXFLAGS += /Gd # mulithread dynamic link Release:QMAKE_CXXFLAGS += /MD Debug:QMAKE_CXXFLAGS += /MDd LIBS += -L$$_PRO_FILE_PWD_/../../icu/lib -licuuc -licuin LIBS += -L$$_PRO_FILE_PWD_/../../../openssl/x86 -llibeay32MD -lssleay32MD LIBS += -lnetapi32 -lole32 -lws2_32 -lkernel32 -lrpcrt4 -lmsvcrtd -lkernel32 LIBS += -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 LIBS += -loleaut32 -luuid -lodbc32 -lodbccp32 # You can also make your code fail to compile if you use deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 # _PRO_FILE_PWD_: Z:/Users/davec/Developer/depot/CF/opencflite-476.17.2/Qt/CFLite INCLUDEPATH += ../../dist/include INCLUDEPATH += ../../dist/include/CoreFoundation INCLUDEPATH += ../../../mDNSResponder INCLUDEPATH += ../../../mDNSResponder/mDNSShared INCLUDEPATH += ../../../CFNetwork INCLUDEPATH += ../../../CFNetwork/SharedCode INCLUDEPATH += ../../../CFNetwork/http INCLUDEPATH += ../../../CFNetwork/include INCLUDEPATH += ../../../CFNetwork/include/CFNetwork INCLUDEPATH += ../../../openssl/include INCLUDEPATH += ../../icu SOURCES += \ ../../compat/dirent.c \ ../../compat/flsl.c \ ../../compat/gettimeofday.c \ ../../compat/strlcat.c \ ../../compat/strlcpy.c \ ../../CFApplicationPreferences.c \ ../../CFArray.c \ ../../CFBag.c \ ../../CFBase.c \ ../../CFBinaryHeap.c \ ../../CFBinaryPList.c \ ../../CFBitVector.c \ ../../CFBuiltinConverters.c \ ../../CFBundle.c \ ../../CFBundle_Resources.c \ ../../CFCalendar.c \ ../../CFCharacterSet.c \ ../../CFConcreteStreams.c \ ../../CFData.c \ ../../CFDate.c \ ../../CFDateFormatter.c \ ../../CFDictionary.c \ ../../CFError.c \ ../../CFFileUtilities.c \ ../../cflocale.c \ ../../CFLocaleIdentifier.c \ ../../CFMachPort.c \ ../../CFMessagePort.c \ ../../CFNumber.c \ ../../CFNumberFormatter.c \ ../../CFPlatform.c \ ../../CFPlugIn.c \ ../../CFPlugIn_Factory.c \ ../../CFPlugIn_Instance.c \ ../../CFPlugIn_PlugIn.c \ ../../CFPreferences.c \ ../../CFPropertyList.c \ ../../CFRunLoop.c \ ../../CFRuntime.c \ ../../CFSet.c \ ../../CFSocket.c \ ../../CFSortFunctions.c \ ../../CFStorage.c \ ../../CFStream.c \ ../../CFString.c \ ../../CFStringEncodingConverter.c \ ../../CFStringEncodings.c \ ../../CFStringScanner.c \ ../../CFStringUtilities.c \ ../../CFSystemDirectories.c \ ../../CFTimeZone.c \ ../../CFTree.c \ ../../CFUniChar.c \ ../../CFUnicodeDecomposition.c \ ../../CFUnicodePrecomposition.c \ ../../CFURL.c \ ../../CFURLAccess.c \ ../../CFUserNotification.c \ ../../CFUtilities.c \ ../../CFUUID.c \ ../../CFVersion.c \ ../../CFWindowsMessageQueue.c \ ../../CFXMLInputStream.c \ ../../CFXMLNode.c \ ../../CFXMLParser.c \ ../../CFXMLPreferencesDomain.c \ ../../CFXMLTree.c \ ../../../CFNetwork/FTP/CFFTPStream.c \ ../../../CFNetwork/Host/CFHost.c \ ../../../CFNetwork/HTTP/CFHTTPAuthentication.c \ ../../../CFNetwork/HTTP/CFHTTPConnection.c \ ../../../CFNetwork/HTTP/CFHTTPFilter.c \ ../../../CFNetwork/HTTP/CFHTTPMessage.c \ ../../../CFNetwork/HTTP/CFHTTPServer.c \ ../../../CFNetwork/HTTP/CFHTTPStream.c \ ../../../CFNetwork/NetServices/CFNetServiceBrowser.c \ ../../../CFNetwork/NetServices/CFNetServiceMonitor.c \ ../../../CFNetwork/NetServices/CFNetServices.c \ ../../../CFNetwork/NetServices/CFNetworkAddress.c \ ../../../CFNetwork/Security/Security.c \ ../../../CFNetwork/SharedCode/CFNetConnection.c \ ../../../CFNetwork/SharedCode/CFNetworkSchedule.c \ ../../../CFNetwork/SharedCode/CFNetworkThreadSupport.c \ ../../../CFNetwork/SharedCode/CFServer.c \ ../../../CFNetwork/Stream/CFSocketStream.c \ ../../../CFNetwork/CFNetwork.c \ ../../../mDNSResponder/mDNSShared/DebugServices.c \ ../../../mDNSResponder/mDNSShared/dnssd_clientlib.c \ ../../../mDNSResponder/mDNSShared/dnssd_clientstub.c \ ../../../mDNSResponder/mDNSShared/dnssd_ipc.c \ ../../../mDNSResponder/mDNSShared/GenLinkedList.c \ ../../../mDNSResponder/mDNSWindows/DLL/dllmain.c \ ../../../CFNetwork/HTTP/NTLM/ntlmBlobPriv.cpp \ ../../../CFNetwork/HTTP/NTLM/NtlmGenerator.cpp \ ../../../CFNetwork/Proxies/ProxySupport.c HEADERS += \ ../../compat/dirent.h \ ../../dist/include/CoreFoundation/auto_stubs.h \ ../../dist/include/CoreFoundation/CFArray.h \ ../../dist/include/CoreFoundation/CFBag.h \ ../../dist/include/CoreFoundation/CFBase.h \ ../../dist/include/CoreFoundation/CFBinaryHeap.h \ ../../dist/include/CoreFoundation/CFBitVector.h \ ../../dist/include/CoreFoundation/CFBundle.h \ ../../dist/include/CoreFoundation/CFBundle_BinaryTypes.h \ ../../dist/include/CoreFoundation/CFBundle_Internal.h \ ../../dist/include/CoreFoundation/CFBundlePriv.h \ ../../dist/include/CoreFoundation/CFByteOrder.h \ ../../dist/include/CoreFoundation/CFCalendar.h \ ../../dist/include/CoreFoundation/CFCharacterSet.h \ ../../dist/include/CoreFoundation/CFCharacterSetPriv.h \ ../../dist/include/CoreFoundation/CFData.h \ ../../dist/include/CoreFoundation/CFDate.h \ ../../dist/include/CoreFoundation/CFDateFormatter.h \ ../../dist/include/CoreFoundation/CFDictionary.h \ ../../dist/include/CoreFoundation/CFError.h \ ../../dist/include/CoreFoundation/CFError_Private.h \ ../../dist/include/CoreFoundation/CFInternal.h \ ../../dist/include/CoreFoundation/CFLocale.h \ ../../dist/include/CoreFoundation/CFLogUtilities.h \ ../../dist/include/CoreFoundation/CFMachPort.h \ ../../dist/include/CoreFoundation/CFMessagePort.h \ ../../dist/include/CoreFoundation/CFNumber.h \ ../../dist/include/CoreFoundation/CFNumberFormatter.h \ ../../dist/include/CoreFoundation/CFPlugIn.h \ ../../dist/include/CoreFoundation/CFPlugIn_Factory.h \ ../../dist/include/CoreFoundation/CFPlugInCOM.h \ ../../dist/include/CoreFoundation/CFPreferences.h \ ../../dist/include/CoreFoundation/CFPriv.h \ ../../dist/include/CoreFoundation/CFPropertyList.h \ ../../dist/include/CoreFoundation/CFRunLoop.h \ ../../dist/include/CoreFoundation/CFRunLoopPriv.h \ ../../dist/include/CoreFoundation/CFRuntime.h \ ../../dist/include/CoreFoundation/CFSet.h \ ../../dist/include/CoreFoundation/CFSocket.h \ ../../dist/include/CoreFoundation/CFStorage.h \ ../../dist/include/CoreFoundation/CFStream.h \ ../../dist/include/CoreFoundation/CFStreamAbstract.h \ ../../dist/include/CoreFoundation/CFStreamInternal.h \ ../../dist/include/CoreFoundation/CFStreamPriv.h \ ../../dist/include/CoreFoundation/CFString.h \ ../../dist/include/CoreFoundation/CFStringDefaultEncoding.h \ ../../dist/include/CoreFoundation/CFStringEncodingConverter.h \ ../../dist/include/CoreFoundation/CFStringEncodingConverterExt.h \ ../../dist/include/CoreFoundation/CFStringEncodingConverterPriv.h \ ../../dist/include/CoreFoundation/CFStringEncodingExt.h \ ../../dist/include/CoreFoundation/CFTimeZone.h \ ../../dist/include/CoreFoundation/CFTree.h \ ../../dist/include/CoreFoundation/CFUniChar.h \ ../../dist/include/CoreFoundation/CFUniCharPriv.h \ ../../dist/include/CoreFoundation/CFUnicodeDecomposition.h \ ../../dist/include/CoreFoundation/CFUnicodePrecomposition.h \ ../../dist/include/CoreFoundation/CFURL.h \ ../../dist/include/CoreFoundation/CFURLAccess.h \ ../../dist/include/CoreFoundation/CFUserNotification.h \ ../../dist/include/CoreFoundation/CFUUID.h \ ../../dist/include/CoreFoundation/CFWindowsMessageQueue.h \ ../../dist/include/CoreFoundation/CFXMLInputStream.h \ ../../dist/include/CoreFoundation/CFXMLNode.h \ ../../dist/include/CoreFoundation/CFXMLParser.h \ ../../dist/include/CoreFoundation/CoreFoundation.h \ ../../dist/include/CoreFoundation/ForFoundationOnly.h \ ../../dist/include/mach_support/bootstrap_priv.h \ ../../dist/include/mach_support/vproc_priv.h \ ../../dist/include/AssertMacros.h \ ../../dist/include/AvailabilityMacros.h \ ../../dist/include/conditionalmacros.h \ ../../dist/include/stdbool.h \ ../../dist/include/stdint.h \ ../../dist/include/TargetConditionals.h \ ../../include/c99/stdbool.h \ ../../include/c99/stdint.h \ ../../include/mach_support/bootstrap_priv.h \ ../../include/mach_support/vproc_priv.h \ ../../include/AssertMacros.h \ ../../include/AvailabilityMacros.h \ ../../include/TargetConditionals.h \ ../../../CFNetwork/HTTP/CFHTTPConnectionInternal.h \ ../../../CFNetwork/HTTP/CFHTTPInternal.h \ ../../../CFNetwork/include/CFNetwork/CFFTPStream.h \ ../../../CFNetwork/include/CFNetwork/CFFTPStreamPriv.h \ ../../../CFNetwork/include/CFNetwork/CFHost.h \ ../../../CFNetwork/include/CFNetwork/CFHostPriv.h \ ../../../CFNetwork/include/CFNetwork/CFHTTPAuthentication.h \ ../../../CFNetwork/include/CFNetwork/CFHTTPConnectionPriv.h \ ../../../CFNetwork/include/CFNetwork/CFHTTPMessage.h \ ../../../CFNetwork/include/CFNetwork/CFHTTPMessagePriv.h \ ../../../CFNetwork/include/CFNetwork/CFHTTPServerPriv.h \ ../../../CFNetwork/include/CFNetwork/CFHTTPStream.h \ ../../../CFNetwork/include/CFNetwork/CFHTTPStreamPriv.h \ ../../../CFNetwork/include/CFNetwork/CFNetDiagnostics.h \ ../../../CFNetwork/include/CFNetwork/CFNetDiagnosticsPriv.h \ ../../../CFNetwork/include/CFNetwork/CFNetServices.h \ ../../../CFNetwork/include/CFNetwork/CFNetServicesPriv.h \ ../../../CFNetwork/include/CFNetwork/CFNetwork.h \ ../../../CFNetwork/include/CFNetwork/CFNetworkAddress.h \ ../../../CFNetwork/include/CFNetwork/CFNetworkDefs.h \ ../../../CFNetwork/include/CFNetwork/CFNetworkPriv.h \ ../../../CFNetwork/include/CFNetwork/CFPragmaPack_1.h \ ../../../CFNetwork/include/CFNetwork/CFPragmaPack_2.h \ ../../../CFNetwork/include/CFNetwork/CFPragmaPackReset.h \ ../../../CFNetwork/include/CFNetwork/CFServerPriv.h \ ../../../CFNetwork/include/CFNetwork/CFSocketStream.h \ ../../../CFNetwork/include/CFNetwork/CFSocketStreamPriv.h \ ../../../CFNetwork/NetServices/DeprecatedDNSServiceDiscovery.h \ ../../../CFNetwork/Security/Security.h \ ../../../CFNetwork/SharedCode/CFNetConnection.h \ ../../../CFNetwork/SharedCode/CFNetworkSchedule.h \ ../../../CFNetwork/SharedCode/CFNetworkThreadSupport.h \ ../../../CFNetwork/Stream/CFSocketStreamImpl.h \ ../../../CFNetwork/CFNetworkInternal.h \ ../../../mDNSResponder/mDNSShared/DebugServices.h \ ../../../mDNSResponder/mDNSShared/dnssd_ipc.h \ ../../../mDNSResponder/mDNSShared/GenLinkedList.h \ ../../../CFNetwork/HTTP/NTLM/ntlmBlobPriv.h \ ../../../CFNetwork/HTTP/NTLM/NtlmGenerator.h \ ../../../CFNetwork/Proxies/ProxySupport.h
I notice i'm not using "DEPENDPATH" anywhere, should I?
-
Hi,
From a quick look at CFLite documentation, they are talking about clang on Windows to build it thus was your project already built on Windows before your Qt migration ? If so, can you describe the original setup you used ?
-
Hi,
From a quick look at CFLite documentation, they are talking about clang on Windows to build it thus was your project already built on Windows before your Qt migration ? If so, can you describe the original setup you used ?
@SGaist actually i'm compiling it from my own source:
https://karaoke.kjams.com/wiki/Code/CFLite/CFNetwork
I had built it with VS2008 and it works great from there.update: I've put the QT project together as is, see the link above to download the whole project including all CF sources.
-
Solution: i forgot to add the custom build step where i assemble all the components in the destination directory! gosh what a doofus move! okay but thanks so much for your help, your ideas sparked me to look in more places!! :D
the hiccup for me was that the IDE didn't OBVIOUSLY report that launching failed due to a missing .dll, which would have been helpful.