Mysterious Error!

General questions regarding the usage of CodeLite
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: Mysterious Error!

Post by frank_frl »

I attached the missing folder. It seems to be empty in SVN
You do not have the required permissions to view the files attached to this post.
evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mysterious Error!

Post by evstevemd »

Even in the Latest Installer I cannot see that option!
Is there a configuration that I'm missing!

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mysterious Error!

Post by evstevemd »

frank_frl wrote:I attached the missing folder. It seems to be empty in SVN
Cool, let me try putting it!

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mysterious Error!

Post by evstevemd »

I have added it and It is now in options.
I have made Codelite DLL project and throws series of errors.
I have used above options but haven't solved it yet!
Below is the Log and the attached project

Would you send me test project so that I can see if my CL installation is making invalid projects or something?
Also would you test mine?
----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "Learn wxWidgets_wsp.mk""
----------Building project:[ DLLClass - Debug ]----------

Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll\mswud)
or set the environment variable WXCFG (as in WXCFG=gcc_dll\mswud)
to specify which configuration exactly you want to use.

Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll\mswud)
or set the environment variable WXCFG (as in WXCFG=gcc_dll\mswud)
to specify which configuration exactly you want to use.
mingw32-make.exe[1]: Entering directory `D:/learn wxwidgets/Learn wxWidgets/DLLClass'
g++: wx-config: No such file or directory
g++: Error:: Invalid argument
g++: No: No such file or directory
g++: valid: No such file or directory
g++: setup.h: No such file or directory
g++: of: No such file or directory
g++: wxWidgets: No such file or directory
g++: has: No such file or directory
g++: been: No such file or directory
g++: found: No such file or directory
g++: at: No such file or directory
g++: location:: Invalid argument
g++: C:\wxWidgets-2.8.10\lib\gcc_dll\mswd\wx\setup.h: No such file or directory
mingw32-make.exe[1]: *** [Debug/main.o.d] Error 1
mingw32-make.exe: *** [All] Error 2
mingw32-make.exe[1]: Leaving directory `D:/learn wxwidgets/Learn wxWidgets/DLLClass'
----------Build Ended----------
0 errors, 0 warnings
You do not have the required permissions to view the files attached to this post.

CodeLite 15.x
CodeLite is awesome, I just Love it!

frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: Mysterious Error!

Post by frank_frl »

evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mysterious Error!

Post by evstevemd »

I have tried that and it seems my codelite isn't changing my configurations even if I click apply/ok.
I have uninstalled again, deleted every config files I can find and reistalling right now.
Let me see what will come out of this

CodeLite 15.x
CodeLite is awesome, I just Love it!

evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mysterious Error!

Post by evstevemd »

----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "Learn wxWidgets_wsp.mk""
----------Building project:[ DLLClass - Debug ]----------

Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll\mswud)
or set the environment variable WXCFG (as in WXCFG=gcc_dll\mswud)
to specify which configuration exactly you want to use.

Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll\mswud)
or set the environment variable WXCFG (as in WXCFG=gcc_dll\mswud)
to specify which configuration exactly you want to use.
mingw32-make.exe[1]: Entering directory `D:/learn wxwidgets/Learn wxWidgets/DLLClass'
g++ -c "D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp" -g wx-config Error: No valid setup.h of wxWidgets has been found at location: C:\wxWidgets-2.8.10\lib\gcc_dll\mswd\wx\setup.h -DWXMAKINGDLL_MYLIB -o ./Debug/main.o "-I." "-I."
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:17:19: wx/wx.h: No such file or directory
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:19:21: wx/list.h: No such file or directory
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:20:27: wx/listimpl.cpp: No such file or directory
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:25: error: invalid function declaration
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:34: error: expected class-name before '{' token
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:41: error: expected constructor, destructor, or type conversion before '(' token
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:43: error: `LocalList' has not been declared
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:43: error: expected constructor, destructor, or type conversion before ';' token
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:45: error: expected constructor, destructor, or type conversion before '(' token
D:/learn wxwidgets/Learn wxWidgets/DLLClass/main.cpp:46: error: expected constructor, destructor, or type conversion before '(' token
g++: wx-config: No such file or directory
g++: Error:: Invalid argument
g++: No: No such file or directory
g++: valid: No such file or directory
g++: setup.h: No such file or directory
g++: of: No such file or directory
g++: wxWidgets: No such file or directory
g++: has: No such file or directory
g++: been: No such file or directory
g++: found: No such file or directory
g++: at: No such file or directory
g++: location:: Invalid argument
g++: C:\wxWidgets-2.8.10\lib\gcc_dll\mswd\wx\setup.h: No such file or directory
mingw32-make.exe[1]: *** [Debug/main.o] Error 1
mingw32-make.exe: *** [All] Error 2
mingw32-make.exe[1]: Leaving directory `D:/learn wxwidgets/Learn wxWidgets/DLLClass'
----------Build Ended----------
10 errors, 0 warnings
Why don't it want to change to ReleaseUnicode/DebugUnicode?
What else should I do? Is there anything that prevents my CL from changing that?
It is really sad that I cannot work and I'm not ready to start off with another IDE even temporarily!
How can I fix this, seeing this is the only problem remained!

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mysterious Error!

Post by eranif »

Post here your workspace file

Eran
Make sure you have read the HOW TO POST thread
evstevemd
CodeLite Guru
Posts: 350
Joined: Sun Nov 29, 2009 7:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mysterious Error!

Post by evstevemd »

Ooops,
sorry that I pasted something else unknowingly.
I think I should go and rest, may be!
You do not have the required permissions to view the files attached to this post.
Last edited by evstevemd on Sat Aug 21, 2010 9:14 pm, edited 1 time in total.

CodeLite 15.x
CodeLite is awesome, I just Love it!

User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Mysterious Error!

Post by eranif »

By looking at the workspace, you build configuration is still set to 'Debug' and not to 'DebugUnicode'

I suspect that you did not fully understand the concept of the configuration manager.

I will explain it here

The 'Workspace Configuration' (the drop-down box on top of the workspace view) is just a name, representing a group of projects configurations.

Now, lets assume that you have a workspace with 3 projects, A, B and C

Each project has 4 configurations: Debug, Release, DebugUnicode and ReleaseUnicode.

The configuration manager allows you to define a setup for any combination of the project configurations.
Lets assume that you wish to build all 'DebugUnicode' configuration.
So our goal is to make a new "workspace configuration" named:

"MyConfiguration_DebugUnicode", which will represents:
A -> DebugUnicode
B -> DebugUnicode
C -> DebugUnicode

To achieve that:
1) Open the configuration manager (workspace -> configuration manager)
2) Open the top drop-down widget (the one with the title "workspace configuration")
3) Select the option '<New...>', it will open a text-dialog, enter the name you want, for example: "MyConfiguration_DebugUnicode"
4) Now, select for each of the project listed below the configuration that you want to build (in our example, "DebugUnicode")
5) Click OK (this will dismiss that Configuration Manager dialog)

Now at the top of the workspace view there is a new configuration available: "MyConfiguration_DebugUnicode"
Selecting it will change the configuration for *all* projects as defined in the configuration manager (in our case: all project will now use the DebugUnicode)

Eran
Make sure you have read the HOW TO POST thread
Post Reply