[Gmsh] C++ IDE for compiling Gmsh under Windows XP

Prakash Manandhar jsaaymi at gmail.com
Sat Jun 28 11:09:20 CEST 2008


I have attached a test project and I am able to debug without problems.

Notice the lines in the .dev project file
UseCustomMakefile=1
CustomMakefile=Makefile
--------
I used some libraries too for demonstration. I use the boost and QT
libraries a lot.
--------

Makefile is simple (notice the g3 CFLAGS for enabling debuggin):

# Test Makefile
# Prakash Manandhar June 16 2008

CC = g++
CFLAGS = -I$(BOOSTLIBDIR) -g3
LDFLAGS = -L$(BOOSTLIBDIR)\stage\lib -lboost_regex-mgw34-d-1_34_1
BOOSTLIBDIR = C:\boost_1_34_1
SRCS = main.cpp
OBJS = main.o
all: TestProject

$(OBJS): $(SRCS)
    $(CC) $(CFLAGS) -c $*.cpp

TestProject: $(OBJS)
    $(CC) -o $@ $(OBJS) $(LDFLAGS)

--------

HTH, Prakash.
p-manandhar.info

On Sat, Jun 28, 2008 at 4:46 AM, <MGlocken at aol.com> wrote:

>  So, these days even when I use Dev-C++, I resort to Makefile style
> projects and use command line make with MinGW....
>
> Prakash.
>
>
> Hi Prakash,
>
> Thanks for your fast reply. How do you do the debugging when working with
> command line make?
>
>
>
>  Greetings,
>
>     Michael
>
> ----------------------------------------------
> Fa. Michael Glockenmeier
> Dipl.-Ing. Michael Glockenmeier
> Hauptstr. 55 c
> D-86926 Greifenberg
> Germany
>
> Tel ++49 (0) 8192/933 185
> Fax ++49 (0) 8192/933 186
> Email mglocken at aol.com
> Web www.femcfd.com
> ---------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080628/85b4a29f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DebugScreenshot.JPG
Type: image/jpeg
Size: 95990 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080628/85b4a29f/attachment.JPG>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: application/octet-stream
Size: 218 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080628/85b4a29f/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestProject.dev
Type: application/octet-stream
Size: 883 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080628/85b4a29f/attachment.dev>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 354 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080628/85b4a29f/attachment.obj>