help

CodeLite installation/troubleshooting forum
Nikos
CodeLite Curious
Posts: 1
Joined: Wed Jun 07, 2023 12:52 am
Genuine User: Yes
IDE Question: c++
Contact:

help

Post by Nikos »

hello i just bought a new laptop and i transefered all the code in c in codelite via external hard drive ssd to the other laptop when i open the workspace it doesnt show me all the codes that i have written it shows this
<?xml version="1.0" encoding="UTF-8"?>
<Workspace>
<BuildMatrix SelectedConfiguration="Debug"/>
</Workspace>

the workspace is that where you have a lot of pages of code when i open a page it says that

##

Auto Generated makefile by CodeLite IDE

any manual changes will be erased

##

Debug

ProjectName :=arrayAsFunctionParameter
ConfigurationName :=Debug
WorkspaceConfiguration :=Debug
WorkspacePath :="C:/Users/HP Pc/Documents/WorkArrays"
ProjectPath :="C:/Users/HP Pc/Documents/WorkArrays/arrayAsFunctionParameter"
IntermediateDirectory :=../build-$(WorkspaceConfiguration)/arrayAsFunctionParameter
OutDir :=$(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=HP Pc
Date :=07/08/2022
CodeLitePath :="C:/Program Files/CodeLite"
MakeDirCommand :=mkdir
LinkerName :=C:/MinGW/bin/g++.exe
SharedObjectLinkerName :=C:/MinGW/bin/g++.exe -shared -fPIC
ObjectSuffix :=.o
DependSuffix :=.o.d
PreprocessSuffix :=.i
DebugSwitch :=-g
IncludeSwitch :=-I
LibrarySwitch :=-l
OutputSwitch :=-o
LibraryPathSwitch :=-L
PreprocessorSwitch :=-D
SourceSwitch :=-c
OutputDirectory :=C:/Users/HP Pc/Documents/WorkArrays/build-$(WorkspaceConfiguration)/bin
OutputFile :=..\build-$(WorkspaceConfiguration)\bin\$(ProjectName).exe
Preprocessors :=
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
ObjectsFileList :=$(IntermediateDirectory)/ObjectsList.txt
PCHCompileFlags :=
RcCmpOptions :=
RcCompilerName :=C:/MinGW/bin/windres.exe
LinkOptions :=
IncludePath := $(IncludeSwitch). $(IncludeSwitch).
IncludePCH :=
RcIncludePath :=
Libs :=
ArLibs :=
LibPath := $(LibraryPathSwitch).

##

Common variables

AR, CXX, CC, AS, CXXFLAGS and CFLAGS can be overridden using an environment variable

##
AR := C:/MinGW/bin/ar.exe rcu
CXX := C:/MinGW/bin/g++.exe
CC := C:/MinGW/bin/gcc.exe
CXXFLAGS := -g -O0 -Wall $(Preprocessors)
CFLAGS := -g -O0 -Wall $(Preprocessors)
ASFLAGS :=
AS := C:/MinGW/bin/as.exe

##

User defined environment variables

##
CodeLiteDir:=C:\Program Files\CodeLite
Objects0=$(IntermediateDirectory)/main.c$(ObjectSuffix)

Objects=$(Objects0)

##

Main Build Targets

##
.PHONY: all clean PreBuild PrePreBuild PostBuild MakeIntermediateDirs
all: MakeIntermediateDirs $(OutputFile)

$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
@if not exist "$(IntermediateDirectory)" $(MakeDirCommand) "$(IntermediateDirectory)"
@echo "" > $(IntermediateDirectory)/.d
@echo $(Objects0) > $(ObjectsFileList)
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)

MakeIntermediateDirs:
@if not exist "$(IntermediateDirectory)" $(MakeDirCommand) "$(IntermediateDirectory)"
@if not exist "$(OutputDirectory)" $(MakeDirCommand) "$(OutputDirectory)"

$(IntermediateDirectory)/.d:
@if not exist "$(IntermediateDirectory)" $(MakeDirCommand) "$(IntermediateDirectory)"

PreBuild:

##

Objects

##
$(IntermediateDirectory)/main.c$(ObjectSuffix): main.c $(IntermediateDirectory)/main.c$(DependSuffix)
$(CC) $(SourceSwitch) "C:/Users/HP Pc/Documents/WorkArrays/arrayAsFunctionParameter/main.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/main.c$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/main.c$(DependSuffix): main.c
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/main.c$(ObjectSuffix) -MF$(IntermediateDirectory)/main.c$(DependSuffix) -MM main.c

$(IntermediateDirectory)/main.c$(PreprocessSuffix): main.c
$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main.c$(PreprocessSuffix) main.c

-include $(IntermediateDirectory)/*$(DependSuffix)
##

Clean

##
clean:
$(RM) -r $(IntermediateDirectory)
CAN SOMEBODY HELLP ME PLZ

DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: help

Post by DavidGH »

Hi,

i transefered all the code in c in codelite

Just the code? What about CodeLite's configuration folder. What about the workspace folders (if they aren't inside the configuration folder)?

How did you try to load your workspace/project? 'Open an existing workspace', or 'Create a new Workspace', or...?

Regards,

David

Post Reply