MinGW 4.41/Codelite


#1

I found this IDE named Codelite, it looks promising and am testing it with JUCE, i got first build errors from JUCE that i think can’t be fixed using some preprocessor macros (i already added some)
My preprocessor looks like this: JUCE_MINGW=1;_WINDOWS=1;_WIN32;_DEBUG

----------Build Started--------
C:\Windows\system32\cmd.exe /c ""mingw32-make.exe"  -j 2 -f "Casio_CZ1000_wsp.mk""
----------Building project:[ Casio_CZ1000 - Debug ]----------
mingw32-make.exe[1]: Entering directory `C:/devel/ctrlr/Ctrlrs/Casio - CZ1000/Build/Codelite'
g++ -c  "C:/devel/ctrlr/Juce/juce_LibrarySource.cpp" -g -DJUCE_MINGW=1 -D_WINDOWS=1 -D_WIN32 -D_DEBUG  -o ./Debug/Juce_juce_LibrarySource.o "-I." "-I." "-I../../../../EdoController/" "-Ic:/devel/juce" "-Ic:/devel/vstsdk2.4" "-I../../Plugin" 
In file included from C:/devel/ctrlr/Juce/juce_LibrarySource.cpp:14:
c:/devel/juce/juce_amalgamated.cpp: In function 'juce::juce_wchar juce::NumberToStringConverters::getDecimalPoint()':
c:/devel/juce/juce_amalgamated.cpp:11858: error: '_USE' is not a member of 'std'
c:/devel/juce/juce_amalgamated.cpp:11858: error: expected primary-expression before ')' token
In file included from C:/devel/ctrlr/Juce/juce_LibrarySource.cpp:14:
c:/devel/juce/juce_amalgamated.cpp: In member function 'void* juce::DynamicLibraryLoader::findProcAddress(const juce::String&)':
c:/devel/juce/juce_amalgamated.cpp:237942: error: invalid conversion from 'int (*)()' to 'void*'
In file included from C:/devel/ctrlr/Juce/juce_LibrarySource.cpp:14:
c:/devel/juce/juce_amalgamated.cpp: In static member function 'static void* juce::PlatformUtilities::getProcedureEntryPoint(void*, const juce::String&)':
c:/devel/juce/juce_amalgamated.cpp:238579: error: invalid conversion from 'int (*)()' to 'void*'
mingw32-make.exe[1]: *** [Debug/Juce_juce_LibrarySource.o] Error 1
mingw32-make.exe: *** [All] Error 2
mingw32-make.exe[1]: Leaving directory `C:/devel/ctrlr/Ctrlrs/Casio - CZ1000/Build/Codelite'
----------Build Ended----------
4 errors, 3 warnings

any clues about this ?


#2

What version of gcc is it using? It’d need to be more up to date than the old gcc3 that mingw seemed to always be stuck at.


#3

looks like it’s 4.4.1 not that old

C:\MinGW-4.4.1\bin>g++ -v
Using built-in specs.
Target: mingw32
Configured with: ../../gcc-4.4.1/configure --prefix=/mingw --build=mingw32 --ena
ble-languages=c,ada,c++,fortran,objc,obj-c++ --disable-nls --disable-win32-regis
try --enable-libgomp --enable-cxx-flags='-fno-function-sections -fno-data-sectio
ns' --disable-werror --enable-threads --disable-symvers --enable-version-specifi
c-runtime-libs --enable-fully-dynamic-string --with-pkgversion='TDM-2 mingw32' -
-enable-sjlj-exceptions --with-bugurl=http://www.tdragon.net/recentgcc/bugs.php
Thread model: win32
gcc version 4.4.1 (TDM-2 mingw32)

#4

Maybe try this at the line it’s complaining about:

static juce_wchar getDecimalPoint() { #if JUCE_WINDOWS && defined (_MSC_VER) && _MSC_VER < 1400


#5

that helped, for the other errors i had to add a explicit (void *) cast

void* DynamicLibraryLoader::findProcAddress (const String& functionName)
{
	return (void *)GetProcAddress ((HMODULE) libHandle, functionName.toCString());
}

void* PlatformUtilities::getProcedureEntryPoint (void* h, const String& name)
{
	return (h != 0) ? (void *)GetProcAddress ((HMODULE) h, name.toCString()) : 0;
}

#6

Ok, thanks, I can add those.


#7

well i fought with the linked but can’t find any solution

[code]
g++ -o ./Debug/Casio_CZ1000 ./Debug/Plugin_CasioCZ1000Mapping.o ./Debug/Plugin_CZ1000Controller.o ./Debug/UI_CZ1000Editor.o ./Debug/Standalone_juce_AudioFilterStreamer.o ./Debug/Standalone_juce_StandaloneFilterWindow.o ./Debug/Standalone_StandaloneFilterApp.o ./Debug/VST_juce_VST_Wrapper.o “-L.” “-L…/…/…/…/EdoController/Build/Codelite/Debug” -lshell32 -lole32 -lvfw32 -lwinmm -lwininet -lws2_32 -ldsound -lwsock32 -lwldap32 -lkernel32 -lopengl32 -lglu32 -luuid -lrpcrt4 -lgdi32 -lcomdlg32 -lversion -ldsound -lEdoController
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode2.o):JuceLibraryCode2.cpp:(.text$_ZN4juce6AtomicIiEppEv[juce::Atomic::operator++()]+0x15): undefined reference to __sync_add_and_fetch_4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode2.o):JuceLibraryCode2.cpp:(.text$_ZN4juce6AtomicIiEmmEv[juce::Atomic<int>::operator--()]+0x15): undefined reference to__sync_add_and_fetch_4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode2.o):JuceLibraryCode2.cpp:(.text$_ZNK4juce6AtomicIiE3getEv[juce::Atomic::get() const]+0x15): undefined reference to __sync_add_and_fetch_4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode2.o):JuceLibraryCode2.cpp:(.text$_ZN4juce6AtomicIiE17compareAndSetBoolEii[juce::Atomic<int>::compareAndSetBool(int, int)]+0x30): undefined reference to__sync_bool_compare_and_swap_4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_SystemStats.cpp:142: undefined reference to timeBeginPeriod@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_SystemStats.cpp:223: undefined reference totimeGetTime@0’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Files.cpp:488: undefined reference to GetFileVersionInfoSizeW@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Files.cpp:492: undefined reference toGetFileVersionInfoW@16’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Files.cpp:497: undefined reference to VerQueryValueW@16' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Files.cpp:524: undefined reference toIID_IPersistFile’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Network.cpp:100: undefined reference to InternetOpenW@20' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Network.cpp:116: undefined reference toInternetCrackUrlW@16’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Network.cpp:119: undefined reference to InternetSetOptionW@16' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Network.cpp:126: undefined reference toInternetSetOptionW@16’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Network.cpp:150: undefined reference to InternetConnectW@32' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Network.cpp:161: undefined reference toFtpOpenFileW@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Network.cpp:182: undefined reference to HttpOpenRequestW@32' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Network.cpp:194: undefined reference toHttpSendRequestExW@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Network.cpp:203: undefined reference to InternetWriteFile@16' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Network.cpp:217: undefined reference toHttpEndRequestW@16’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Network.cpp:230: undefined reference to InternetCloseHandle@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Network.cpp:233: undefined reference toInternetCloseHandle@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Network.cpp:250: undefined reference to InternetReadFile@16' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Network.cpp:260: undefined reference toInternetSetFilePointer@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Network.cpp:274: undefined reference to HttpQueryInfoW@20' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Network.cpp:293: undefined reference toHttpQueryInfoW@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Network.cpp:322: undefined reference to InternetCloseHandle@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Network.cpp:323: undefined reference toInternetCloseHandle@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Messaging.cpp:270: undefined reference to OleInitialize@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Messaging.cpp:297: undefined reference toOleUninitialize@0’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:67: undefined reference to CreateCompatibleDC@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:70: undefined reference toEnumFontFamiliesExW@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:71: undefined reference to DeleteDC@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:80: undefined reference toCreateCompatibleDC@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:96: undefined reference to EnumFontFamiliesExW@20' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:99: undefined reference toDeleteDC@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:2437: undefined reference to GetObjectW@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:2441: undefined reference toCreateCompatibleDC@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:2444: undefined reference to SelectObject@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:2453: undefined reference toGetPixel@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:2461: undefined reference to DeleteDC@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:2507: undefined reference toCreateBitmap@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:2517: undefined reference to DeleteObject@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:2870: undefined reference toDoDragDrop@16’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_FileChooser.cpp:293: undefined reference to GetSaveFileNameW@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_FileChooser.cpp:300: undefined reference toGetOpenFileNameW@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_ActiveXComponent.cpp:171: undefined reference to IID_IOleWindow' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_ActiveXComponent.cpp:362: undefined reference toIID_IOleObject’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_ActiveXComponent.cpp:362: undefined reference to OleCreate@28' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_ActiveXComponent.cpp:368: undefined reference toOleSetContainedObject@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:276: undefined reference to midiInGetNumDevs@0' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:283: undefined reference tomidiInGetDevCapsW@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:304: undefined reference to midiInGetNumDevs@0' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:311: undefined reference tomidiInGetDevCapsW@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:331: undefined reference to midiInOpen@20' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:383: undefined reference tomidiOutGetNumDevs@0’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:390: undefined reference to midiOutGetDevCapsW@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:399: undefined reference tomidiOutGetNumDevs@0’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:407: undefined reference to midiOutGetDevCapsW@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:422: undefined reference tomidiOutGetNumDevs@0’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:430: undefined reference to midiOutGetDevCapsW@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:464: undefined reference tomidiOutOpen@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o): In function ~MidiOutput': c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:497: undefined reference tomidiOutClose@4’
c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:497: undefined reference to midiOutClose@4' c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:497: undefined reference tomidiOutClose@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:506: undefined reference to midiOutReset@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:514: undefined reference tomidiOutGetVolume@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:536: undefined reference to midiOutSetVolume@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:553: undefined reference tomidiOutPrepareHeader@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:555: undefined reference to midiOutLongMsg@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:566: undefined reference tomidiOutUnprepareHeader@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:579: undefined reference to midiOutShortMsg@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o): In function~FontDCHolder’:
c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:140: undefined reference to DeleteDC@4' c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:141: undefined reference toDeleteObject@4’
c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:140: undefined reference to DeleteDC@4' c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:141: undefined reference toDeleteObject@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:161: undefined reference to DeleteDC@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:162: undefined reference toDeleteObject@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:168: undefined reference to CreateCompatibleDC@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:169: undefined reference toSetMapperFlags@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:170: undefined reference to SetMapMode@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:185: undefined reference toCreateFontIndirectW@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:189: undefined reference to SelectObject@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:196: undefined reference toGetOutlineTextMetricsW@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:199: undefined reference to CreateFontIndirectW@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:201: undefined reference toSelectObject@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:202: undefined reference to DeleteObject@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:225: undefined reference toGetKerningPairsW@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:227: undefined reference to GetKerningPairsW@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o): In functionWindowsTypeface’:
c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:263: undefined reference to GetTextMetricsW@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:281: undefined reference toGetGlyphIndicesW@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:291: undefined reference to GetTextMetricsW@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Fonts.cpp:301: undefined reference toGetGlyphOutlineW@28’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Fonts.cpp:308: undefined reference to GetGlyphOutlineW@28' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o): In functionWindowsBitmapImage’:
c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:185: undefined reference to CreateCompatibleDC@4' c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:188: undefined reference toSetMapMode@8’
c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:194: undefined reference to CreateDIBSection@24' c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:196: undefined reference toSelectObject@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o): In function ~WindowsBitmapImage': c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:206: undefined reference toDeleteDC@4’
c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:207: undefined reference to DeleteObject@4' c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:206: undefined reference toDeleteDC@4’
c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:207: undefined reference to DeleteObject@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:239: undefined reference toGetDeviceCaps@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:244: undefined reference to DrawDibOpen@0' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:250: undefined reference toGetDeviceCaps@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:254: undefined reference to CreateHalftonePalette@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:261: undefined reference toSelectPalette@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:262: undefined reference to RealizePalette@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:263: undefined reference toSetStretchBltMode@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:266: undefined reference to SetMapMode@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:294: undefined reference toExcludeClipRect@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:306: undefined reference to SaveDC@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:311: undefined reference toExcludeClipRect@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:321: undefined reference to StretchDIBits@52' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:327: undefined reference toDrawDibDraw@52’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:331: undefined reference to RestoreDC@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:1035: undefined reference toRegisterDragDrop@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:1051: undefined reference to RevokeDragDrop@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:1138: undefined reference toCreateRectRgn@16’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:1150: undefined reference to DeleteObject@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:1190: undefined reference toCreateRectRgnIndirect@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:1191: undefined reference to CombineRgn@16' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:1192: undefined reference toDeleteObject@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:1195: undefined reference to GetRegionData@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Windowing.cpp:1257: undefined reference toDeleteObject@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Windowing.cpp:2731: undefined reference to CoTaskMemAlloc@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_ActiveXComponent.cpp:144: undefined reference toIID_IOleInPlaceSite’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o): In function ~MidiInThread': c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:63: undefined reference tomidiInClose@4’
c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:63: undefined reference to midiInClose@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:107: undefined reference tomidiInPrepareHeader@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:109: undefined reference to midiInAddBuffer@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:124: undefined reference tomidiInUnprepareHeader@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:172: undefined reference to midiInStart@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:190: undefined reference tomidiInReset@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_Midi.cpp:191: undefined reference to midiInStop@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_Midi.cpp:202: undefined reference tomidiInUnprepareHeader@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_NativeIncludes.h:249: undefined reference to IID_IUnknown' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_NativeIncludes.h:249: undefined reference toIID_IUnknown’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_NativeIncludes.h:249: undefined reference to IID_IUnknown' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_NativeIncludes.h:249: undefined reference toIID_IUnknown’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/…/src/native/windows/juce_win32_NativeIncludes.h:249: undefined reference to IID_IUnknown' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode4.o):c:/devel/juce/amalgamation/../src/native/windows/juce_win32_NativeIncludes.h:249: more undefined references toIID_IUnknown’ follow
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:86: undefined reference to WSAStartup@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:88: undefined reference toWSACleanup@0’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:113: undefined reference to setsockopt@20' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:113: undefined reference tosetsockopt@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:113: undefined reference to setsockopt@20' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:113: undefined reference tosetsockopt@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:124: undefined reference to htonl@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:125: undefined reference tohtons@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:127: undefined reference to bind@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:142: undefined reference torecv@16’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:195: undefined reference to select@20' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:214: undefined reference togetsockopt@20’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:219: undefined reference to __WSAFDIsSet@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:219: undefined reference to__WSAFDIsSet@8’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:231: undefined reference to ioctlsocket@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:258: undefined reference togethostbyname@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:272: undefined reference to htons@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:275: undefined reference tosocket@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:290: undefined reference to connect@12' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:295: undefined reference toWSAGetLastError@0’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:361: undefined reference to send@16' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:421: undefined reference toclosesocket@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:460: undefined reference to htonl@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:463: undefined reference toinet_addr@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:465: undefined reference to htons@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:467: undefined reference tosocket@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:473: undefined reference to setsockopt@20' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:475: undefined reference tobind@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:475: undefined reference to listen@8' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:495: undefined reference toaccept@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:499: undefined reference to inet_ntoa@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o): In functionDatagramSocket’:
c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:524: undefined reference to socket@12' c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:524: undefined reference tosocket@12’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:556: undefined reference to closesocket@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:605: undefined reference torecvfrom@24’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:609: undefined reference to inet_ntoa@4' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/io/network/juce_Socket.cpp:609: undefined reference tontohs@4’
…/…/…/…/EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/…/src/io/network/juce_Socket.cpp:639: undefined reference to sendto@24' ../../../../EdoController/Build/Codelite/Debug/libEdoController.a(Juce_JuceLibraryCode1.o):c:/devel/juce/amalgamation/../src/core/juce_Atomic.h:321: undefined reference to__sync_bool_compare_and_swap_4’

[code]

i see some winsock methods some libversion methods but i’m linking to those libraries, so i don’t really understand what’s wrong here


#8

i thought it might be gcc4.4.1 that’s the problem but i updated to g++ 4.5.0

C:\Users\atom>g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=d:/mingw/bin/../libexec/gcc/mingw32/4.5.0/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.5.0/configure --enable-languages=c,c++,ada,fortran,obj
c,obj-c++ --disable-sjlj-exceptions --with-dwarf2 --enable-shared --enable-libgo
mp --disable-win32-registry --enable-libstdcxx-debug --enable-version-specific-r
untime-libs --disable-werror --build=mingw32 --prefix=/mingw
Thread model: win32
gcc version 4.5.0 (GCC)

and i get the same linker errors, maybe cause it’s win7 x64 ?


#9

Maybe, I don’t know anything about linking in mingw…


#10

well i just found out, win32 has the same problem. so the linking is not done.


#11

Well I did it and it works, had to add -march=i686 and make the static library that has the JUCE code be the first on the linked library list (yes in this case placement on the command line does matter)

libEdoController.a
libshell32.a
libole32.a
libvfw32.a
libwinmm.a
libwininet.a
libws2_32.a
libdsound.a
libwsock32.a
libwldap32.a
libkernel32
libopengl32.a
libglu32.a
libuuid.a
librpcrt4.a
libgdi32.a
libcomdlg32.a
libversion.a
libdsound.a

if someone likes i can post a project file for the JuceDemo project

DLLs also work (i build VST plugins) i just had to add

#ifndef JUCE_MINGW
extern "C" __declspec (dllexport) void* main (audioMasterCallback audioMaster)
{
    return (void*) pluginEntryPoint (audioMaster);
}
#endif

aroung the main() call that is set for _WIN64 otherwise it was included in the DLL and crashed everything.


#12

I am trying to build VST plugins using MinGW compiler and cmake. Do you happen to have cmake scripts for the same ?


#13

No. The Introjucer will export a CodeBlocks project, if that's any help, but we don't have a cmake exporter.