You Must Select A host Application To "run" A library

So… I messed Up somthing in Code::blocks,

I cannot build and run an old project…

it’s a pain to relink this particular project…

is there a guide on correct setup in codeblocks?

it must be something tiny…

I am in:

//-------------------------------
#define OF_VERSION_MAJOR 0
#define OF_VERSION_MINOR 8
#define OF_VERSION_PATCH 3

lol I think I deleted libglew32.a

I put it back in… other codeblocks projects compile just fine

When I build I get:

openFrameworks\communication -I…\openFrameworks\types -I…\openFrameworks\3d -I…\openFrameworks\gl -I…\openFrameworks\math -I…\poco\include -I…\tess2\include -I…\openssl\include -I…\glfw\include -c “C:\Users\a\Google Drive\bugfix-ofSystemUtilspcCode\libs\openFrameworks\video\ofQuickTimePlayer.cpp” -o obj\Release\openFrameworks\video\ofQuickTimePlayer.o
mingw32-g++.exe -Wno-multichar -O3 -I…\glu\include -I…\freetype\include -I…\freetype\include\freetype2 -I…\FreeImage\include -I…\quicktime\include -I…\rtAudio\include -I…\fmodex\include -I…\videoInput\include -I…\glew\include -I…\glut\include -I…\cairo\include\cairo -I…\openFrameworks -I…\openFrameworks\app -I…\openFrameworks\events -I…\openFrameworks\graphics -I…\openFrameworks\utils -I…\openFrameworks\sound -I…\openFrameworks\video -I…\openFrameworks\communication -I…\openFrameworks\types -I…\openFrameworks\3d -I…\openFrameworks\gl -I…\openFrameworks\math -I…\poco\include -I…\tess2\include -I…\openssl\include -I…\glfw\include -c “C:\Users\a\Google Drive\bugfix-ofSystemUtilspcCode\libs\openFrameworks\video\ofVideoGrabber.cpp” -o obj\Release\openFrameworks\video\ofVideoGrabber.o
mingw32-g++.exe -Wno-multichar -O3 -I…\glu\include -I…\freetype\include -I…\freetype\include\freetype2 -I…\FreeImage\include -I…\quicktime\include -I…\rtAudio\include -I…\fmodex\include -I…\videoInput\include -I…\glew\include -I…\glut\include -I…\cairo\include\cairo -I…\openFrameworks -I…\openFrameworks\app -I…\openFrameworks\events -I…\openFrameworks\graphics -I…\openFrameworks\utils -I…\openFrameworks\sound -I…\openFrameworks\video -I…\openFrameworks\communication -I…\openFrameworks\types -I…\openFrameworks\3d -I…\openFrameworks\gl -I…\openFrameworks\math -I…\poco\include -I…\tess2\include -I…\openssl\include -I…\glfw\include -c “C:\Users\a\Google Drive\bugfix-ofSystemUtilspcCode\libs\openFrameworks\video\ofVideoPlayer.cpp” -o obj\Release\openFrameworks\video\ofVideoPlayer.o
ar.exe -r -s …\lib\win_cb\openFrameworks.lib obj\Release\openFrameworks\3d\of3dPrimitives.o obj\Release\openFrameworks\3d\of3dUtils.o obj\Release\openFrameworks\3d\ofCamera.o obj\Release\openFrameworks\3d\ofEasyCam.o obj\Release\openFrameworks\3d\ofMesh.o obj\Release\openFrameworks\3d\ofNode.o obj\Release\openFrameworks\app\ofAppGLFWWindow.o obj\Release\openFrameworks\app\ofAppGlutWindow.o obj\Release\openFrameworks\app\ofAppRunner.o obj\Release\openFrameworks\communication\ofArduino.o obj\Release\openFrameworks\communication\ofSerial.o obj\Release\openFrameworks\events\ofEvents.o obj\Release\openFrameworks\gl\ofFbo.o obj\Release\openFrameworks\gl\ofGLProgrammableRenderer.o obj\Release\openFrameworks\gl\ofGLRenderer.o obj\Release\openFrameworks\gl\ofGLUtils.o obj\Release\openFrameworks\gl\ofLight.o obj\Release\openFrameworks\gl\ofMaterial.o obj\Release\openFrameworks\gl\ofShader.o obj\Release\openFrameworks\gl\ofTexture.o obj\Release\openFrameworks\gl\ofVbo.o obj\Release\openFrameworks\gl\ofVboMesh.o obj\Release\openFrameworks\graphics\of3dGraphics.o obj\Release\openFrameworks\graphics\ofBitmapFont.o obj\Release\openFrameworks\graphics\ofCairoRenderer.o obj\Release\openFrameworks\graphics\ofGraphics.o obj\Release\openFrameworks\graphics\ofImage.o obj\Release\openFrameworks\graphics\ofPath.o obj\Release\openFrameworks\graphics\ofPixels.o obj\Release\openFrameworks\graphics\ofPolyline.o obj\Release\openFrameworks\graphics\ofRendererCollection.o obj\Release\openFrameworks\graphics\ofTessellator.o obj\Release\openFrameworks\graphics\ofTrueTypeFont.o obj\Release\openFrameworks\math\ofMath.o obj\Release\openFrameworks\math\ofMatrix3x3.o obj\Release\openFrameworks\math\ofMatrix4x4.o obj\Release\openFrameworks\math\ofQuaternion.o obj\Release\openFrameworks\math\ofVec2f.o obj\Release\openFrameworks\math\ofVec4f.o obj\Release\openFrameworks\sound\ofFmodSoundPlayer.o obj\Release\openFrameworks\sound\ofRtAudioSoundStream.o obj\Release\openFrameworks\sound\ofSoundPlayer.o obj\Release\openFrameworks\sound\ofSoundStream.o obj\Release\openFrameworks\types\ofBaseTypes.o obj\Release\openFrameworks\types\ofColor.o obj\Release\openFrameworks\types\ofParameter.o obj\Release\openFrameworks\types\ofParameterGroup.o obj\Release\openFrameworks\types\ofRectangle.o obj\Release\openFrameworks\utils\ofFileUtils.o obj\Release\openFrameworks\utils\ofLog.o obj\Release\openFrameworks\utils\ofMatrixStack.o obj\Release\openFrameworks\utils\ofSystemUtils.o obj\Release\openFrameworks\utils\ofThread.o obj\Release\openFrameworks\utils\ofURLFileLoader.o obj\Release\openFrameworks\utils\ofUtils.o obj\Release\openFrameworks\utils\ofXml.o obj\Release\openFrameworks\video\ofDirectShowGrabber.o obj\Release\openFrameworks\video\ofQtUtils.o obj\Release\openFrameworks\video\ofQuickTimeGrabber.o obj\Release\openFrameworks\video\ofQuickTimePlayer.o obj\Release\openFrameworks\video\ofVideoGrabber.o obj\Release\openFrameworks\video\ofVideoPlayer.o
ar.exe: creating …\lib\win_cb\openFrameworks.lib
Output size is 5.75 MB
Process terminated with status 0 (1 minutes, 26 seconds)
0 errors, 0 warnings (1 minutes, 26 seconds)

Other Code_blocks Projects can run… so it must be smthing in this particular project that is linked wrong…

fff…

<Build>
			<Target title="release">
				<Option output="bin/$(PROJECT_NAME)" prefix_auto="1" extension_auto="1" />
				<Option working_dir="bin" />
				<Option object_output="obj/Release" />
				<Option external_deps="../../../libs/openFrameworksCompiled/lib/win_cb/openFrameworks.lib;" />
				<Option type="0" />
				<Option compiler="gcc" />
				<Option projectLinkerOptionsRelation="2" />
				<Compiler>
					<Add option="-O2" />
				</Compiler>
				<Linker>
					<Add option="-s" />
					<Add option="../../../libs/openFrameworksCompiled/lib/win_cb/openFrameworks.lib" />
				</Linker>
			</Target>
			<Target title="debug">
				<Option output="bin/$(PROJECT_NAME)_DEBUG" prefix_auto="1" extension_auto="1" />
				<Option working_dir="bin" />
				<Option object_output="obj/Debug/" />
				<Option external_deps="../../../libs/openFrameworksCompiled/lib/win_cb/openFrameworksDebug.lib;" />
				<Option type="1" />
				<Option compiler="gcc" />
				<Option use_console_runner="0" />
				<Option projectLinkerOptionsRelation="2" />
				<Linker>
					<Add option="../../../libs/openFrameworksCompiled/lib/win_cb/openFrameworksDebug.lib" />
				</Linker>

The above is from the codeblocks settings file

the seperator tags are / instead of \ … can this be a problem?

Solved… :blush:

I remembered that I backup all my stuff at my workplace server - so I recovered
:

.depent
and
.layout

from the Tape drive (using acronis)

and everything worked fine …

…I am still curious to figure out what happened though…

I think I put in an old project that I made in 2013 in this branch (8.3) and then something messed up codeblocks… not 100% sure…

anyhow… :beer: