Building Jucer in Windows


#1

I am trying to compile Jucer app under windows, here the error log:

Executing make…
make.exe -f “C:\juce\jucer\src\Makefile.win” all
g++.exe …/…/…/Frontino/nuevo/BinaryData.o …/…/…/Frontino/nuevo/jucer_Main.o -o “Project4.exe” -L"C:/Dev-Cpp/lib" -mwindows …/…/…/juce/bin/libjuce.a -lwininet -lole32 -lwinmm -lgdi32 -luuid -lshell32 -lvfw32 -lrpcrt4 -lopengl32

…/…/…/Frontino/nuevo/jucer_Main.o(.text$_ZN16JucerApplication19systemRequestedQuitEv[JucerApplication::systemRequestedQuit()]+0x19):jucer_Main.cpp: undefined reference to MainWindow::closeAllDocuments()' ../../../Frontino/nuevo/jucer_Main.o(.text$_ZN14StoredSettings14deleteInstanceEv[StoredSettings::deleteInstance()]+0x39):jucer_Main.cpp: undefined reference toStoredSettings::_singletonLock’
…/…/…/Frontino/nuevo/jucer_Main.o(.text$_ZN14StoredSettings14deleteInstanceEv[StoredSettings::deleteInstance()]+0x4a):jucer_Main.cpp: undefined reference to StoredSettings::_singletonInstance' ../../../Frontino/nuevo/jucer_Main.o(.text$_ZN14StoredSettings14deleteInstanceEv[StoredSettings::deleteInstance()]+0x52):jucer_Main.cpp: undefined reference toStoredSettings::_singletonInstance’
…/…/…/Frontino/nuevo/jucer_Main.o(.text$_ZN14StoredSettings14deleteInstanceEv[StoredSettings::deleteInstance()]+0x5b):jucer_Main.cpp: undefined reference to StoredSettings::_singletonInstance' ../../../Frontino/nuevo/jucer_Main.o(.text$_ZN14StoredSettings14deleteInstanceEv[StoredSettings::deleteInstance()]+0x77):jucer_Main.cpp: undefined reference toStoredSettings::~StoredSettings()’
…/…/…/Frontino/nuevo/jucer_Main.o(.text$_ZN16JucerApplication22anotherInstanceStartedERKN4juce6StringE[JucerApplication::anotherInstanceStarted(juce::String const&)]+0x81):jucer_Main.cpp: undefined reference to MainWindow::openFile(juce::File const&)' ../../../Frontino/nuevo/jucer_Main.o(.text$_ZN16JucerApplication10initialiseERKN4juce6StringE[JucerApplication::initialise(juce::String const&)]+0xbe):jucer_Main.cpp: undefined reference toMainWindow::MainWindow()'
collect2: ld returned 1 exit status
make.exe: *** [Project4.exe] Error 1
Execution terminated

here the linker parameters:

…/…/…/bin/libjuce.a
-lwininet
-lole32
-lwinmm
-lgdi32
-luuid
-lshell32
-lvfw32
-lrpcrt4
-lopengl32

I suspect that it lacks something. it is possible that it lacks some parameter at the linker?.. I followed the indications in this post:
http://www.rawmaterialsoftware.com/juceforum/viewtopic.php?t=1415 and all its ok, but the jucer not.


#2

Just looks like you’ve forgotten to build one of the cpp files, maybe MainWindow.cpp or something.


#3